Skip to content

Clarify DeepSeek prompt caching behavior#44

Merged
yuanhao merged 1 commit into
mainfrom
clarify-deepseek-cache-behavior
Jun 6, 2026
Merged

Clarify DeepSeek prompt caching behavior#44
yuanhao merged 1 commit into
mainfrom
clarify-deepseek-cache-behavior

Conversation

@yuanhao

@yuanhao yuanhao commented Jun 6, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • document that DeepSeek context caching is automatic and does not use cache_control markers
  • clarify CacheConfig only controls explicit cache hints
  • add a regression assertion for the DeepSeek OpenAI-compatible request shape

Tests

  • cargo fmt --check
  • cargo test provider::openai_compat

@yuanhao yuanhao merged commit 593a0be into main Jun 6, 2026
1 check passed
@yuanhao yuanhao deleted the clarify-deepseek-cache-behavior branch June 6, 2026 15:02
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