mirror of
https://github.com/router-for-me/Cli-Proxy-API-Management-Center.git
synced 2026-02-19 03:00:49 +08:00
feat: improve Settings page retry config UI and enhance excludedModels API support
- Reorganize retry settings into separate Card for better visual hierarchy - Move retry update button inline with input field via rightElement - Add excluded-models serialization in provider key configuration - Add excluded-models normalization support in API transformers with fallback parsing
This commit is contained in:
@@ -54,6 +54,9 @@ const serializeProviderKey = (config: ProviderKeyConfig) => {
|
||||
if (headers) payload.headers = headers;
|
||||
const models = serializeModelAliases(config.models);
|
||||
if (models && models.length) payload.models = models;
|
||||
if (config.excludedModels && config.excludedModels.length) {
|
||||
payload['excluded-models'] = config.excludedModels;
|
||||
}
|
||||
return payload;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user