Closes #1041, incorrect .md file name in warning messages.

This commit is contained in:
Mario Zechner 2026-01-29 00:16:50 +01:00
parent d21cbde87f
commit 5ef79459dc
2 changed files with 3 additions and 3 deletions

View file

@ -694,7 +694,7 @@ export class AgentSession {
if (!this.model) {
throw new Error(
"No model selected.\n\n" +
`Use /login or set an API key environment variable. See ${join(getDocsPath(), "authentication.md")}\n\n` +
`Use /login or set an API key environment variable. See ${join(getDocsPath(), "providers.md")}\n\n` +
"Then use /model to select a model.",
);
}
@ -712,7 +712,7 @@ export class AgentSession {
}
throw new Error(
`No API key found for ${this.model.provider}.\n\n` +
`Use /login or set an API key environment variable. See ${join(getDocsPath(), "authentication.md")}`,
`Use /login or set an API key environment variable. See ${join(getDocsPath(), "providers.md")}`,
);
}