ClaudeModel describes a mapping between an alias and the actual upstream model name.
| 526 | |
| 527 | // ClaudeModel describes a mapping between an alias and the actual upstream model name. |
| 528 | type ClaudeModel struct { |
| 529 | // Name is the upstream model identifier used when issuing requests. |
| 530 | Name string `yaml:"name" json:"name"` |
| 531 | |
| 532 | // Alias is the client-facing model name that maps to Name. |
| 533 | Alias string `yaml:"alias" json:"alias"` |
| 534 | |
| 535 | // ForceMapping rewrites upstream response model fields back to Alias. |
| 536 | ForceMapping bool `yaml:"force-mapping,omitempty" json:"force-mapping,omitempty"` |
| 537 | } |
| 538 | |
| 539 | func (m ClaudeModel) GetName() string { return m.Name } |
| 540 | func (m ClaudeModel) GetAlias() string { return m.Alias } |
nothing calls this directly
no outgoing calls
no test coverage detected