diff --git a/packages/core/src/llm/anthropic.ts b/packages/core/src/llm/anthropic.ts
index 364525d7a4d62b8c0cea5009fc158256aa44d1a6..640d1c7cc546813668e3dfac29312593179e2285 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 {