comment
This commit is contained in:
parent
710e1b79bc
commit
0ad3c83b44
1 changed files with 4 additions and 1 deletions
|
|
@ -58,7 +58,10 @@ async function modelConfigToBaseLLM(
|
|||
options.maxEmbeddingChunkSize = model.embedOptions.maxChunkSize;
|
||||
}
|
||||
|
||||
// Things that are in config types for
|
||||
// These are params that are at model config level in JSON
|
||||
// But we decided to move to nested `env` in YAML
|
||||
// Since types vary and we don't want to blindly spread env for now,
|
||||
// Each one is handled individually here
|
||||
const env = model.env ?? {};
|
||||
if (
|
||||
"useLegacyCompletionsEndpoint" in env &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue