mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 08:03:39 +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
|
|
@ -49,6 +49,7 @@ When closing issues via commit:
|
|||
- Technical prose only, be kind but direct (e.g., "Thanks @user" not "Thanks so much @user!")
|
||||
|
||||
## Changelog
|
||||
Location: `packages/coding-agent/CHANGELOG.md`
|
||||
- New entries ALWAYS go under `## [Unreleased]` section
|
||||
- NEVER modify already-released version sections (e.g., `## [0.12.2]`)
|
||||
- Each version section is immutable once released
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,6 +17,8 @@
|
|||
|
||||
- **Kitty keyboard protocol support**: Shift+Enter, Alt+Enter, Shift+Tab, Ctrl+D, and all Ctrl+key combinations now work in Ghostty, Kitty, WezTerm, and other modern terminals. ([#225](https://github.com/badlogic/pi-mono/pull/225) by [@kim0](https://github.com/kim0))
|
||||
|
||||
- **Dynamic API key refresh**: OAuth tokens (GitHub Copilot, Anthropic OAuth) are now refreshed before each LLM call, preventing failures in long-running agent loops where tokens expire mid-session. ([#223](https://github.com/badlogic/pi-mono/pull/223) by [@kim0](https://github.com/kim0))
|
||||
|
||||
- **`/hotkeys` command**: Shows all keyboard shortcuts in a formatted table.
|
||||
|
||||
- **Markdown table borders**: Tables now render with proper top and bottom borders.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue