Open
Description
While working on #1940, I found that the support for prompt caching in Anthropic is outdated and does not work as expected.
- When introduced, this feature was in beta and our implementation is based on this aspect (e.g. if specific beta headers are not found, cache support is disabled)
- The prompt caching example does not work.
- Our implementation seems to apply to system messages only, and our successful tests focus on this aspect.
The best solution would be to update our Chat Generator; this would require some effort. Alternatively, rather than keeping a broken or misleading feature, it would be better to (temporarily) remove it altogether.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
In Progress