mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-16 13:03:31 +08:00
The featured Anthropic-compatible provider presets now advertise their Sonnet models as one-million-token windows so the desktop context form and runtime env match the requested provider limits. Regression assertions cover both preset display and runtime env generation. Constraint: Only the two featured provider presets requested by the desktop settings flow should change. Rejected: Change global Sonnet built-in default | would alter unrelated providers and custom models. Confidence: high Scope-risk: narrow Directive: Do not lower these preset windows without checking provider-specific limits and the desktop settings preview. Tested: bun test src/server/__tests__/provider-presets.test.ts src/server/__tests__/providers.test.ts Tested: bun run check:server Tested: agent-browser UI verification on http://127.0.0.1:49174 with backend http://127.0.0.1:49173 Not-tested: Live API requests against 接口AI or 胜算云.