From 0e7cf591a48e501528555301c203e6cd6e5573dc Mon Sep 17 00:00:00 2001 From: Mishig Davaadorj Date: Wed, 20 Nov 2024 10:42:00 +0100 Subject: [PATCH] lint --- packages/tasks/src/local-apps.ts | 2 +- packages/tasks/src/model-libraries-snippets.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/tasks/src/local-apps.ts b/packages/tasks/src/local-apps.ts index a1d2c119e..2249183a4 100644 --- a/packages/tasks/src/local-apps.ts +++ b/packages/tasks/src/local-apps.ts @@ -3,7 +3,7 @@ import type { ModelData } from "./model-data.js"; import type { PipelineType } from "./pipelines.js"; import { stringifyMessages } from "./snippets/common.js"; import { getModelInputSnippet } from "./snippets/inputs.js"; -import { ChatCompletionInputMessage } from "./tasks/index.js"; +import type { ChatCompletionInputMessage } from "./tasks/index.js"; export interface LocalAppSnippet { /** diff --git a/packages/tasks/src/model-libraries-snippets.ts b/packages/tasks/src/model-libraries-snippets.ts index a9ef6e465..bb6ac12c3 100644 --- a/packages/tasks/src/model-libraries-snippets.ts +++ b/packages/tasks/src/model-libraries-snippets.ts @@ -2,7 +2,7 @@ import type { ModelData } from "./model-data.js"; import type { WidgetExampleTextInput, WidgetExampleSentenceSimilarityInput } from "./widget-example.js"; import { LIBRARY_TASK_MAPPING } from "./library-to-tasks.js"; import { getModelInputSnippet } from "./snippets/inputs.js"; -import { ChatCompletionInputMessage } from "./tasks/index.js"; +import type { ChatCompletionInputMessage } from "./tasks/index.js"; import { stringifyMessages } from "./snippets/common.js"; const TAG_CUSTOM_CODE = "custom_code";