Fix currentProvider assignment to use providers

This commit is contained in:
pushkala-datastax 2025-11-11 15:59:18 -08:00 committed by GitHub
parent 37faf94979
commit a553fb7d9b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -53,7 +53,7 @@ export const IngestSettings = ({
}); });
// Get the current provider from API settings // Get the current provider from API settings
const currentProvider = (apiSettings.provider?.model_provider || const currentProvider = (apiSettings.providers?.model_provider ||
"openai") as ModelProvider; "openai") as ModelProvider;
// Fetch available models based on provider // Fetch available models based on provider