From 45df8415ef5d7a5f612f9166e1c95d643b1c7c73 Mon Sep 17 00:00:00 2001 From: Lars Grammel Date: Mon, 25 Mar 2024 12:54:27 +0100 Subject: [PATCH] Fix import. --- packages/core/core/generate-text/stream-text.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/core/generate-text/stream-text.ts b/packages/core/core/generate-text/stream-text.ts index c7ed91e2ce2f..72dce5938f32 100644 --- a/packages/core/core/generate-text/stream-text.ts +++ b/packages/core/core/generate-text/stream-text.ts @@ -1,4 +1,5 @@ import zodToJsonSchema from 'zod-to-json-schema'; +import { LanguageModelV1FinishReason } from '../../ai-model-specification'; import { LanguageModelV1, LanguageModelV1CallWarning, @@ -23,7 +24,6 @@ import { retryWithExponentialBackoff } from '../util/retry-with-exponential-back import { runToolsTransformation } from './run-tools-transformation'; import { ToToolCall } from './tool-call'; import { ToToolResult } from './tool-result'; -import { LanguageModelV1FinishReason } from '../../ai-model-specification/dist'; /** * Stream text generated by a language model.