[GH-ISSUE #384] Fix Anthropic integration in LLM settings #221

Closed
opened 2026-02-22 18:18:24 -05:00 by yindo · 0 comments
Owner

Originally created by @shatfield4 on GitHub (Nov 15, 2023).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/384

Originally assigned to: @shatfield4 on GitHub.

When saving Anthropic as the LLM, I get this error.

TypeError: AnthropicAI is not a constructor
    at new AnthropicLLM (/Users/seanhatfield/Documents/Mintplex/anything-llm/server/utils/AiProviders/anthropic/index.js:11:23)
    at getLLMProvider (/Users/seanhatfield/Documents/Mintplex/anything-llm/server/utils/helpers/index.js:37:14)
    at streamChatWithWorkspace (/Users/seanhatfield/Documents/Mintplex/anything-llm/server/utils/chats/stream.js:32:24)
    at /Users/seanhatfield/Documents/Mintplex/anything-llm/server/endpoints/chat.js:76:15
Originally created by @shatfield4 on GitHub (Nov 15, 2023). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/384 Originally assigned to: @shatfield4 on GitHub. When saving Anthropic as the LLM, I get this error. ``` TypeError: AnthropicAI is not a constructor at new AnthropicLLM (/Users/seanhatfield/Documents/Mintplex/anything-llm/server/utils/AiProviders/anthropic/index.js:11:23) at getLLMProvider (/Users/seanhatfield/Documents/Mintplex/anything-llm/server/utils/helpers/index.js:37:14) at streamChatWithWorkspace (/Users/seanhatfield/Documents/Mintplex/anything-llm/server/utils/chats/stream.js:32:24) at /Users/seanhatfield/Documents/Mintplex/anything-llm/server/endpoints/chat.js:76:15 ```
yindo added the bug label 2026-02-22 18:18:24 -05:00
yindo closed this issue 2026-02-22 18:18:24 -05:00
yindo changed title from Fix Anthropic integration in LLM settings to [GH-ISSUE #384] Fix Anthropic integration in LLM settings 2026-06-05 14:34:08 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#221