Simplify getApiKey pass-through, add changelog entry for #223
This commit is contained in:
@@ -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,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user