From 1a9ea0a29c5f82d4919cb1291fc40b758e4e807e Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Mon, 2 Feb 2026 21:53:05 +0530 Subject: [PATCH] change error name to use config.yaml instead of config.json --- core/llm/llms/Anthropic.ts | 2 +- core/llm/llms/Anthropic.vitest.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/llm/llms/Anthropic.ts b/core/llm/llms/Anthropic.ts index 35e9845ed..fb7d7f8c6 100644 --- a/core/llm/llms/Anthropic.ts +++ b/core/llm/llms/Anthropic.ts @@ -407,7 +407,7 @@ class Anthropic extends BaseLLM { ): AsyncGenerator { if (!this.apiKey || this.apiKey === "") { throw new Error( - "Request not sent. You have an Anthropic model configured in your config.json, but the API key is not set.", + "Request not sent. You have an Anthropic model configured in your config.yaml, but the API key is not set.", ); } diff --git a/core/llm/llms/Anthropic.vitest.ts b/core/llm/llms/Anthropic.vitest.ts index 07915a93a..d01d36104 100644 --- a/core/llm/llms/Anthropic.vitest.ts +++ b/core/llm/llms/Anthropic.vitest.ts @@ -488,7 +488,7 @@ describe("Anthropic", () => { }, }), ).rejects.toThrow( - "Request not sent. You have an Anthropic model configured in your config.json, but the API key is not set.", + "Request not sent. You have an Anthropic model configured in your config.yaml, but the API key is not set.", ); }); });