victor HF Staff commited on
Commit
ad695da
·
1 Parent(s): ab4e04b

Increased the maximum number of tokens for the Playground component.

Browse files
src/lib/components/Playground/Playground.svelte CHANGED
@@ -72,7 +72,7 @@
72
  ...messages.map(({ role, content }) => ({ role, content }))
73
  ],
74
  temperature: temperature,
75
- max_tokens: maxTokens
76
  })) {
77
  if (streamingMessage && chunk.choices[0]?.delta?.content) {
78
  streamingMessage.content += chunk.choices[0].delta.content;
 
72
  ...messages.map(({ role, content }) => ({ role, content }))
73
  ],
74
  temperature: temperature,
75
+ max_tokens: 500,
76
  })) {
77
  if (streamingMessage && chunk.choices[0]?.delta?.content) {
78
  streamingMessage.content += chunk.choices[0].delta.content;