GeminiModel describes a mapping between an alias and the actual upstream model name.
| 632 | |
| 633 | // GeminiModel describes a mapping between an alias and the actual upstream model name. |
| 634 | type GeminiModel struct { |
| 635 | // Name is the upstream model identifier used when issuing requests. |
| 636 | Name string `yaml:"name" json:"name"` |
| 637 | |
| 638 | // Alias is the client-facing model name that maps to Name. |
| 639 | Alias string `yaml:"alias" json:"alias"` |
| 640 | |
| 641 | // ForceMapping rewrites upstream response model fields back to Alias. |
| 642 | ForceMapping bool `yaml:"force-mapping,omitempty" json:"force-mapping,omitempty"` |
| 643 | } |
| 644 | |
| 645 | func (m GeminiModel) GetName() string { return m.Name } |
| 646 | func (m GeminiModel) GetAlias() string { return m.Alias } |
nothing calls this directly
no outgoing calls
no test coverage detected