mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 22:03:45 +00:00
Simplify getApiKey pass-through, add changelog entry for #223
This commit is contained in:
parent
1167e84453
commit
774aaadbc0
3 changed files with 4 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ export class ProviderTransport implements AgentTransport {
|
|||
model,
|
||||
reasoning: cfg.reasoning,
|
||||
// Resolve API key per assistant response (important for expiring OAuth tokens)
|
||||
getApiKey: this.options.getApiKey ? (provider) => this.options.getApiKey?.(provider) : undefined,
|
||||
getApiKey: this.options.getApiKey,
|
||||
getQueuedMessages: cfg.getQueuedMessages,
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue