max token rename
This commit is contained in:
@@ -50,7 +50,7 @@ export class Anthropic extends LLMProvider {
|
||||
const tools = options.tools || this.ai.options.llm?.tools || [];
|
||||
const requestParams: any = {
|
||||
model: options.model || this.model,
|
||||
max_tokens: options.max_tokens || this.ai.options.llm?.max_tokens || 4096,
|
||||
max_tokens: options.maxTokens || this.ai.options.llm?.maxTokens || 4096,
|
||||
system: options.system || this.ai.options.llm?.system || '',
|
||||
temperature: options.temperature || this.ai.options.llm?.temperature || undefined,
|
||||
tools: tools.map(t => ({
|
||||
|
||||
Reference in New Issue
Block a user