Skip to content

Commit

Permalink
(nit) improve client reference format
Browse files Browse the repository at this point in the history
  • Loading branch information
hanouticelina committed Nov 18, 2024
1 parent f39100f commit 9e47139
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/api-inference/scripts/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ const formatSnippets = (result: snippets.types.InferenceSnippet | snippets.types
return result
.map(snippet => {
const client = snippet.client || defaultClient;
return `With ${client} client:\n\`\`\`${language}\n${snippet.content}\n\`\`\``;
return `Using \`${client}\`:\n\`\`\`${language}\n${snippet.content}\n\`\`\``;
})
.join('\n\n');
};
Expand Down

0 comments on commit 9e47139

Please sign in to comment.