Expand description
G8 — Context translation strategy for cross-provider message compatibility.
When messages generated by one provider (e.g., Anthropic with Content::Thinking)
need to be consumed by a different provider, certain content types may need
translation, conversion, or removal. ContextTranslationStrategy provides a
read-only translation layer that produces temporary copies without modifying
the canonical message history.
Structs§
- Default
Context Translation - Default translation with built-in per-provider rules.
Traits§
- Context
Translation Strategy - Translates canonical Messages for consumption by a specific target provider.