mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2025-04-17 18:18:11 +00:00
parent
af84b01482
commit
6fde5570b3
1 changed files with 1 additions and 1 deletions
|
@ -4,6 +4,7 @@ const {
|
|||
writeResponseChunk,
|
||||
clientAbortedHandler,
|
||||
} = require("../../helpers/chat/responses");
|
||||
|
||||
class AnthropicLLM {
|
||||
constructor(embedder = null, modelPreference = null) {
|
||||
if (!process.env.ANTHROPIC_API_KEY)
|
||||
|
@ -28,7 +29,6 @@ class AnthropicLLM {
|
|||
"INVALID ANTHROPIC SETUP. No embedding engine has been set. Go to instance settings and set up an embedding interface to use Anthropic as your LLM."
|
||||
);
|
||||
this.embedder = embedder;
|
||||
this.answerKey = v4().split("-")[0];
|
||||
this.defaultTemp = 0.7;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue