Skip to content

Commit ac63724

Browse files
committed
typo maxTokens vs max_tokens
1 parent e4a4cf3 commit ac63724

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/components/InferencePlayground/inferencePlaygroundUtils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export async function handleStreamingResponse(
2424
model: model.id,
2525
messages,
2626
temperature: conversation.config.temperature,
27-
max_tokens: conversation.config.maxTokens,
27+
max_tokens: conversation.config.max_tokens,
2828
},
2929
{ signal: abortController.signal, use_cache: false }
3030
)) {
@@ -50,7 +50,7 @@ export async function handleNonStreamingResponse(
5050
model: model.id,
5151
messages,
5252
temperature: conversation.config.temperature,
53-
max_tokens: conversation.config.maxTokens,
53+
max_tokens: conversation.config.max_tokens,
5454
},
5555
{ use_cache: false }
5656
);

0 commit comments

Comments
 (0)