mishig HF staff commited on
Commit
15a83db
1 Parent(s): d20b913

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]) => `${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