change error name to use config.yaml instead of config.json

This commit is contained in:
uinstinct 2026-02-02 21:53:05 +05:30
parent 20a069e87e
commit 1a9ea0a29c
2 changed files with 2 additions and 2 deletions

View file

@ -407,7 +407,7 @@ class Anthropic extends BaseLLM {
): AsyncGenerator<ChatMessage> {
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.",
);
}

View file

@ -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.",
);
});
});