|
200 | 200 | "selectOptionsFirst": "Select at least one option below to enable auto-approval" |
201 | 201 | }, |
202 | 202 | "providers": { |
203 | | - "archgwApiKey": "Arch Gateway API Key", |
204 | 203 | "providerDocumentation": "{{provider}} documentation", |
205 | 204 | "configProfile": "Configuration Profile", |
206 | 205 | "description": "Save different API configurations to quickly switch between providers and settings.", |
|
210 | 209 | "nameExists": "A profile with this name already exists", |
211 | 210 | "deleteProfile": "Delete Profile", |
212 | 211 | "invalidArnFormat": "Invalid ARN format. Please check the examples above.", |
213 | | - "invalidRoutingConfig": "Invalid routing config format.", |
214 | 212 | "enterNewName": "Enter new name", |
215 | 213 | "addProfile": "Add Profile", |
216 | 214 | "renameProfile": "Rename Profile", |
|
227 | 225 | "awsCustomArnDesc": "Make sure the region in the ARN matches your selected AWS Region above.", |
228 | 226 | "archgwPreferenceConfigUse": "Enter a valid YAML configuration for Arch Gateway preference-based routing. The configuration should include the route name, model ID and the usage preferences. For example:", |
229 | 227 | "archgwPreferenceConfigDesc": "Make sure the model ID exists in your arch gateway configuration.", |
| 228 | + "invalidRoutingConfig": "Invalid routing config format.", |
| 229 | + "routingConfig": "Routing Config", |
| 230 | + "usePreferenceBasedRouting": "Use preference based routing", |
230 | 231 | "openRouterApiKey": "OpenRouter API Key", |
231 | 232 | "getOpenRouterApiKey": "Get OpenRouter API Key", |
232 | 233 | "apiKeyStorageNotice": "API keys are stored securely in VSCode's Secret Storage", |
233 | 234 | "glamaApiKey": "Glama API Key", |
234 | 235 | "getGlamaApiKey": "Get Glama API Key", |
235 | 236 | "useCustomBaseUrl": "Use custom base URL", |
236 | | - "usePreferenceBasedRouting": "Use preference based routing", |
237 | | - "routingConfig": "Routing Config", |
238 | | - "archgwPreferenceConfig": { |
239 | | - "schemaError": "Invalid routing config schema. Error: {{error}}", |
240 | | - "yamlError": "Invalid yaml format. Error: {{error}}" |
241 | | - }, |
242 | | - "usePreferenceModel2": "Add another model to preference based routing", |
243 | 237 | "useReasoning": "Enable reasoning", |
244 | 238 | "useHostHeader": "Use custom Host header", |
245 | 239 | "useLegacyFormat": "Use legacy OpenAI API format", |
|
700 | 694 | "modelAvailability": "The model ID ({{modelId}}) you provided is not available. Please choose a different model.", |
701 | 695 | "providerNotAllowed": "Provider '{{provider}}' is not allowed by your organization", |
702 | 696 | "modelNotAllowed": "Model '{{model}}' is not allowed for provider '{{provider}}' by your organization", |
703 | | - "profileInvalid": "This profile contains a provider or model that is not allowed by your organization" |
| 697 | + "profileInvalid": "This profile contains a provider or model that is not allowed by your organization", |
| 698 | + "routingConfig": { |
| 699 | + "invalidSchema": "YAML must be a list of objects, each with 'model' and 'routing_preferences' array.", |
| 700 | + "missingModelKey": "Each routing config object must have a 'model' key.", |
| 701 | + "missingPreferencesMap": "Each routing config object must have a 'routing_preferences' key with an array of preferences.", |
| 702 | + "invalidPreferences": "Each routing preference must be an object with 'name' and 'description' (both strings)." |
| 703 | + } |
704 | 704 | }, |
705 | 705 | "placeholders": { |
706 | 706 | "apiKey": "Enter API Key...", |
|
0 commit comments