co-mono/packages/ai/src
Mario Zechner a325c1c7d1 Add context overflow detection utilities
Extract overflow detection logic into reusable utilities:
- isContextOverflowError() to detect overflow from error messages
- isContextOverflowFromUsage() to detect overflow from token usage
- Patterns for Anthropic, OpenAI, Google, xAI, Groq, OpenRouter, llama.cpp, LM Studio

Fixes #129
2025-12-06 21:24:15 +01:00
..
agent chore: bump coding-agent to 0.7.14 - fix Anthropic OAuth and Mistral API compatibility 2025-11-17 12:46:59 +01:00
providers fix: normalize OpenAI token counting, add branch source tracking 2025-12-03 17:11:22 +01:00
utils Add context overflow detection utilities 2025-12-06 21:24:15 +01:00
index.ts Add context overflow detection utilities 2025-12-06 21:24:15 +01:00
models.generated.ts Fix wrap-ansi test to use node:test instead of vitest 2025-12-06 00:48:46 +01:00
models.ts refactor(ai): Simplify API with new streaming interface and model management 2025-09-03 01:25:19 +02:00
stream.ts Limit max output tokens to 32k 2025-10-30 15:47:36 +01:00
types.ts Add custom headers support for models.json 2025-11-20 17:05:31 +01:00