fix(models): keep Anthropic fallback options with catalog
This commit is contained in:
parent
63e2b18450
commit
2486999e49
1 changed files with 0 additions and 4 deletions
|
|
@ -365,7 +365,6 @@ function getAnthropicFirstPartySelectorModels(
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
const catalogModelSet = new Set(catalogModels);
|
|
||||||
const seenModels = new Set<string>();
|
const seenModels = new Set<string>();
|
||||||
const seenLabels = new Set<string>();
|
const seenLabels = new Set<string>();
|
||||||
const merged: string[] = [];
|
const merged: string[] = [];
|
||||||
|
|
@ -391,9 +390,6 @@ function getAnthropicFirstPartySelectorModels(
|
||||||
};
|
};
|
||||||
|
|
||||||
for (const option of getTeamProviderModelOptions('anthropic')) {
|
for (const option of getTeamProviderModelOptions('anthropic')) {
|
||||||
if (option.value && !catalogModelSet.has(option.value)) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
appendModel(option.value, false);
|
appendModel(option.value, false);
|
||||||
}
|
}
|
||||||
for (const model of catalogModels) {
|
for (const model of catalogModels) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue