From a55cf8d87036b6d5dbdbe9dade64d42561e0a685 Mon Sep 17 00:00:00 2001 From: Alex Yang <himself65@outlook.com> Date: Sun, 14 Apr 2024 01:30:54 -0500 Subject: [PATCH] fix: type import --- packages/core/src/llm/anthropic.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/core/src/llm/anthropic.ts b/packages/core/src/llm/anthropic.ts index 364525d7a..640d1c7cc 100644 --- a/packages/core/src/llm/anthropic.ts +++ b/packages/core/src/llm/anthropic.ts @@ -1,15 +1,15 @@ import type { ClientOptions } from "@anthropic-ai/sdk"; import { Anthropic as SDKAnthropic } from "@anthropic-ai/sdk"; import { getEnv } from "@llamaindex/env"; +import _ from "lodash"; +import { BaseLLM } from "./base.js"; import type { ChatMessage, ChatResponse, ChatResponseChunk, LLMChatParamsNonStreaming, LLMChatParamsStreaming, -} from "llamaindex"; -import _ from "lodash"; -import { BaseLLM } from "./base.js"; +} from "./types.js"; import { extractText, wrapLLMEvent } from "./utils.js"; export class AnthropicSession { -- GitLab