fix curl snippets
Browse files
src/lib/components/InferencePlayground/InferencePlaygroundCodeSnippets.svelte
CHANGED
@@ -186,7 +186,7 @@ print(output.choices[0].message)`
|
|
186 |
const formattedConfig = ({ sep, start, end }) =>
|
187 |
start +
|
188 |
Object.entries(conversation.config)
|
189 |
-
.map(([key, val]) =>
|
190 |
.join(sep) +
|
191 |
end;
|
192 |
|
|
|
186 |
const formattedConfig = ({ sep, start, end }) =>
|
187 |
start +
|
188 |
Object.entries(conversation.config)
|
189 |
+
.map(([key, val]) => `"${key}": ${val}`)
|
190 |
.join(sep) +
|
191 |
end;
|
192 |
|