hotfix for context bug
This commit is contained in:
parent
6a36984e93
commit
0dc92af8d9
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ async function modelConfigToBaseLLM(
|
|||
|
||||
let options: LLMOptions = {
|
||||
...rest,
|
||||
contextLength: model.defaultCompletionOptions?.contextLength ?? undefined,
|
||||
// contextLength: model.defaultCompletionOptions?.contextLength ?? undefined,
|
||||
completionOptions: {
|
||||
...(model.defaultCompletionOptions ?? {}),
|
||||
model: model.model,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue