mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 17:00:59 +00:00
Allow startup without API keys, fixes #288
This commit is contained in:
parent
ce8a1c8eb1
commit
e234e8d18f
4 changed files with 48 additions and 12 deletions
|
|
@ -422,8 +422,7 @@ export class AgentSession {
|
|||
if (!this.model) {
|
||||
throw new Error(
|
||||
"No model selected.\n\n" +
|
||||
"Set an API key (ANTHROPIC_API_KEY, OPENAI_API_KEY, etc.)\n" +
|
||||
`or create ${getModelsPath()}\n\n` +
|
||||
`Use /login, set an API key environment variable or create ${getModelsPath()}\n\n` +
|
||||
"Then use /model to select a model.",
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue