use parsed maxtokens
This commit is contained in:
parent
9668e3d924
commit
5826ceeff4
1 changed files with 1 additions and 1 deletions
|
|
@ -860,7 +860,7 @@ export abstract class BaseLLM implements ILLM {
|
|||
modelName: completionOptions.model,
|
||||
msgs: _messages,
|
||||
contextLength: this.contextLength,
|
||||
maxTokens: options.maxTokens ?? DEFAULT_MAX_TOKENS,
|
||||
maxTokens: completionOptions.maxTokens ?? DEFAULT_MAX_TOKENS,
|
||||
supportsImages: this.supportsImages(),
|
||||
tools: options.tools,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue