Expand description
Typed model resource conversions.
Model items and list pagination are intentionally separate. A model item can be converted without pretending that a cursor from one vendor is a page token in another vendor.
Re-exports§
pub use supplement::ClaudeCapabilities;pub use supplement::ClaudeContextManagement;pub use supplement::ClaudeEffort;pub use supplement::ClaudeModelSupplement;pub use supplement::ClaudeServerTools;pub use supplement::ClaudeThinking;pub use supplement::Converted;pub use supplement::GeminiModelSupplement;pub use supplement::ListPageFacts;pub use supplement::OpenAiModelSupplement;
Structs§
- Claude
Capabilities - Claude
Context Management - Claude
Effort - Claude
Model Supplement - Target-specific Claude metadata. The nested capability facts are rebuilt
into fresh wire structs so no supplement or source
restmap is copied. - Claude
Server Tools - Claude
Thinking - Gemini
Model Supplement - Facts for Gemini’s required
baseModelIdandversionfields. - List
Page Facts - Pagination facts are target-specific. A cursor is never renamed to a page
token implicitly.
completemeans the caller has aggregated the complete directory from the first request through its terminal page; it does not mean merely that the current source page hashas_more = false. - Open
AiModel Supplement - Facts needed by targets whose model schema requires an owner or creation timestamp absent from the source. A source fact always wins; a conflicting supplied fact is rejected.
Functions§
- claude_
to_ gemini - claude_
to_ gemini_ list - claude_
to_ openai - claude_
to_ openai_ list - gemini_
to_ claude - gemini_
to_ claude_ list - gemini_
to_ openai - gemini_
to_ openai_ list - normalize_
openai_ list - Reconcile the two OpenAI directory representations using the same typed model. Standard identity/timestamps and alternate catalog metadata describe one resource.
- openai_
to_ claude - openai_
to_ claude_ list - openai_
to_ gemini - openai_
to_ gemini_ list