Fix currentProvider assignment to use providers
This commit is contained in:
parent
37faf94979
commit
a553fb7d9b
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue