Merge branch 'nate/openai-adapters' into nate/config-yaml
This commit is contained in:
commit
8aec6a575c
1 changed files with 8 additions and 1 deletions
|
|
@ -63,7 +63,14 @@ class OpenAI extends BaseLLM {
|
|||
maxEmbeddingBatchSize: 128,
|
||||
};
|
||||
|
||||
protected useOpenAIAdapterFor: (LlmApiRequestType | "*")[] = ["*"];
|
||||
protected useOpenAIAdapterFor: (LlmApiRequestType | "*")[] = [
|
||||
"chat",
|
||||
"embed",
|
||||
"list",
|
||||
"rerank",
|
||||
"streamChat",
|
||||
"streamFim",
|
||||
];
|
||||
|
||||
protected _convertModelName(model: string): string {
|
||||
return model;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue