Skip to content

Commit 1edefd4

Browse files
committed
chore: remove glama
1 parent 6dfcdd3 commit 1edefd4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

webview-ui/src/components/settings/ApiOptions.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ const ApiOptions = ({
218218
const tempConfig = { ...apiConfiguration, apiProvider: value, apiModelId: modelId }
219219
const modelError = getModelValidationError(tempConfig, routerModels, organizationAllowList)
220220
// if we have any errors, reset the modelId to default value to prevent ambiguity
221+
// otherwise, keep the modelId as is
221222
if (modelError) {
222223
setApiConfigurationField(field, defaultValue || "")
223224
}
@@ -232,9 +233,6 @@ const ApiOptions = ({
232233
openRouterDefaultModelId,
233234
)
234235
break
235-
case "glama":
236-
validateAndResetModel(apiConfiguration.glamaModelId, "glamaModelId", glamaDefaultModelId)
237-
break
238236
case "unbound":
239237
validateAndResetModel(apiConfiguration.unboundModelId, "unboundModelId", unboundDefaultModelId)
240238
break

0 commit comments

Comments
 (0)