Skip to content

Commit 68018d9

Browse files
committed
lint
1 parent e4048df commit 68018d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/tasks/src/snippets/python.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ export function getPythonInferenceSnippet(
307307
model: ModelDataMinimal,
308308
accessToken: string,
309309
opts?: Record<string, unknown>
310-
): InferenceSnippet {
310+
): InferenceSnippet | InferenceSnippet[] {
311311
if (model.pipeline_tag === "text-generation" && model.tags.includes("conversational")) {
312312
// Conversational model detected, so we display a code snippet that features the Messages API
313313
return snippetConversational(model, accessToken, opts);

0 commit comments

Comments
 (0)