Spaces:
Build error
Build error
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:
|
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;
|