MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / ClaudeModel

Struct ClaudeModel

internal/config/config.go:528–537  ·  view source on GitHub ↗

ClaudeModel describes a mapping between an alias and the actual upstream model name.

Source from the content-addressed store, hash-verified

526
527// ClaudeModel describes a mapping between an alias and the actual upstream model name.
528type 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
539func (m ClaudeModel) GetName() string { return m.Name }
540func (m ClaudeModel) GetAlias() string { return m.Alias }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected