Skip to content

fix(agent): parse Future cache pricing fields - #484

Merged
ace331 merged 1 commit into
mainfrom
fix/qwen-usage-metadata
Sep 3, 2026
Merged

ace331 merged 1 commit into
mainfrom
fix/qwen-usage-metadata

Conversation

@ace331

@ace331 ace331 commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • parse the Future model API cache price names (cached_input, cache_read, cache_write)
  • prefer passive cached_input for the agent cache-read bucket used by cached_tokens
  • preserve legacy input_cache_read / input_cache_write support
  • cover Qwen 3.8 pricing metadata with a regression test

Validation

  • cargo fmt -p future-agent --check
  • cargo clippy -p future-agent --all-targets -- -D warnings
  • cargo test -p future-agent (1603 tests passed)

@ace331
ace331 enabled auto-merge (squash) September 3, 2026 07:39
@ace331
ace331 merged commit 15d7df7 into main Sep 3, 2026
12 checks passed
@ace331
ace331 deleted the fix/qwen-usage-metadata branch September 3, 2026 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant