scripts/inference-providers/templates/common/snippets-template.handlebars (8 lines of code) (raw):
{{#if hasSnippets }}
<InferenceSnippet
pipeline={{ task }}
providersMapping={ {{{providersMappingAsStr}}} }
{{#if conversational }}conversational {{/if}}/>
{{else}}
There are currently no snippet examples for the **{{ task }}** task, as no providers support it yet.
{{/if}}