mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 18:03:50 +00:00
List all provider keys in README settings example
This commit is contained in:
parent
541758fbe0
commit
81b10f2fa0
2 changed files with 21 additions and 14 deletions
|
|
@ -428,7 +428,7 @@ export class AgentSession {
|
|||
if (!this.model) {
|
||||
throw new Error(
|
||||
"No model selected.\n\n" +
|
||||
`Use /login, set an API key environment variable 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.",
|
||||
);
|
||||
}
|
||||
|
|
@ -438,7 +438,7 @@ export class AgentSession {
|
|||
if (!apiKey) {
|
||||
throw new Error(
|
||||
`No API key found for ${this.model.provider}.\n\n` +
|
||||
`Set the appropriate environment variable or update ${getModelsPath()}`,
|
||||
`Use /login, set an API key environment variable, or create ${getModelsPath()}`,
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue