mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-10 22:41:41 +00:00
Add OpenAI Text-Compatible to providers requiring prefix
This commit is contained in:
parent
95521038f2
commit
8cc5f0194d
1 changed files with 1 additions and 1 deletions
|
|
@ -368,7 +368,7 @@ export const getPlaceholder = (selectedProvider: string): string => {
|
|||
}
|
||||
};
|
||||
|
||||
const providersRequiringPrefix = new Set<string>(["Azure", "OpenAI_Compatible"]);
|
||||
const providersRequiringPrefix = new Set<string>(["Azure", "OpenAI_Compatible", "OpenAI_Text_Compatible"]);
|
||||
|
||||
export const prefixWithProvider = (provider: string, modelName: string): string => {
|
||||
if (!providersRequiringPrefix.has(provider)) return modelName;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue