co-mono/packages/ai/src
Mario Zechner 251fea752c Fix API key priority and compaction bugs
- getEnvApiKey: ANTHROPIC_OAUTH_TOKEN now takes precedence over ANTHROPIC_API_KEY
- findCutPoint: Stop scan-backwards loop at session header (was decrementing past it causing null preparation)
- generateSummary/generateTurnPrefixSummary: Throw on stopReason=error instead of returning empty string
- Test files: Fix API key priority order, use keepRecentTokens=1 for small test conversations
2025-12-30 22:42:17 +01:00
..
agent Enable more biome lints and fix things 2025-12-21 22:56:20 +01:00
providers Migrate zai provider from Anthropic to OpenAI-compatible API 2025-12-29 11:54:10 -08:00
utils WIP: Remove global state from pi-ai OAuth/API key handling 2025-12-25 01:01:03 +01:00
cli.ts WIP: Add CLI for OAuth login, update README 2025-12-25 01:09:27 +01:00
index.ts Add Google Gemini CLI and Antigravity OAuth providers 2025-12-20 21:34:18 +01:00
models.generated.ts Fix API key priority and compaction bugs 2025-12-30 22:42:17 +01:00
models.ts fix: use consistent model comparison including provider 2025-12-25 22:10:08 +01:00
stream.ts Fix API key priority and compaction bugs 2025-12-30 22:42:17 +01:00
types.ts Add Google Gemini CLI and Antigravity OAuth providers 2025-12-20 21:34:18 +01:00