Merge branch 'router-for-me:main' into main

This commit is contained in:
Luis Pater
2025-12-08 10:20:08 +08:00
committed by GitHub
11 changed files with 143 additions and 53 deletions
+4
View File
@@ -151,6 +151,10 @@ type AmpCode struct {
// When Amp requests a model that isn't available locally, these mappings
// allow routing to an alternative model that IS available.
ModelMappings []AmpModelMapping `yaml:"model-mappings" json:"model-mappings"`
// PrioritizeModelMappings when true, model mappings take precedence over local API keys.
// When false (default), local API keys are used first if available.
PrioritizeModelMappings bool `yaml:"prioritize-model-mappings" json:"prioritize-model-mappings"`
}
// PayloadConfig defines default and override parameter rules applied to provider payloads.