Skip to content

Add e2e tests, docs, and test fixture updates for cache tokens#7036

Open
AntoineToussaint wants to merge 1 commit intofeat/cache-tokens-4-endpointsfrom
feat/cache-tokens-5-tests-docs
Open

Add e2e tests, docs, and test fixture updates for cache tokens#7036
AntoineToussaint wants to merge 1 commit intofeat/cache-tokens-4-endpointsfrom
feat/cache-tokens-5-tests-docs

Conversation

@AntoineToussaint
Copy link
Copy Markdown
Member

Summary

  • Updates cache_input_tokens e2e test suite with provider-specific cache token assertions for all supported providers
  • Updates model_inference_queries tests for new cache token columns
  • Updates API docs (inference.mdx, inference-openai-compatible.mdx) with cache token field documentation
  • Updates test fixtures across evaluations, durable-tools, and autopilot-tools for the new Usage fields
  • Adds .gitignore entries for local dev scripts

Stacked on #7035. This is the final PR in the cache token tracking stack.

Test plan

  • cargo check --all-targets --all-features passes
  • cargo clippy --all-targets --all-features -- -D warnings passes
  • E2e cache token tests require running providers (CI)

🤖 Generated with Claude Code

- Updates cache_input_tokens e2e test suite with provider-specific
  cache token assertions
- Updates model_inference_queries tests for new cache columns
- Updates docs: inference.mdx and inference-openai-compatible.mdx
  with cache token field documentation
- Updates test fixtures across evaluations, durable-tools, and
  autopilot-tools for the new Usage fields
- Adds .gitignore entries

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@AntoineToussaint AntoineToussaint force-pushed the feat/cache-tokens-5-tests-docs branch from 2f7568b to 36e7ac7 Compare March 24, 2026 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants