Skip to content

Commit 1a9ea0a

Browse files
committed
change error name to use config.yaml instead of config.json
1 parent 20a069e commit 1a9ea0a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/llm/llms/Anthropic.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ class Anthropic extends BaseLLM {
407407
): AsyncGenerator<ChatMessage> {
408408
if (!this.apiKey || this.apiKey === "") {
409409
throw new Error(
410-
"Request not sent. You have an Anthropic model configured in your config.json, but the API key is not set.",
410+
"Request not sent. You have an Anthropic model configured in your config.yaml, but the API key is not set.",
411411
);
412412
}
413413

core/llm/llms/Anthropic.vitest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ describe("Anthropic", () => {
488488
},
489489
}),
490490
).rejects.toThrow(
491-
"Request not sent. You have an Anthropic model configured in your config.json, but the API key is not set.",
491+
"Request not sent. You have an Anthropic model configured in your config.yaml, but the API key is not set.",
492492
);
493493
});
494494
});

0 commit comments

Comments
 (0)