9router/tests/unit
Rex d1e98d9a60 fix(codebuddy): only send reasoning params when client requests reasoning
Forcing reasoning_effort:"medium" + reasoning_summary:"auto" on plain
requests tripped CodeBuddy's content filter and returned an error (#2071).
Make reasoning params opt-in: only set reasoning_summary when the client
sent an explicit reasoning_effort; none/off still drops it.

Fixes #2071

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 10:51:16 +07:00
..
antigravity-cache.test.js Add marked package, update Qwen executor for OAuth handling, and enhance changelog styles 2026-04-17 12:15:10 +07:00
antigravity-mitm.test.js fix(antigravity): passthrough tab-autocomplete + mark default agent slot mandatory 2026-06-06 10:48:14 +07:00
antigravity-oauth-client.test.js refactor(open-sse): registry consolidation + DRY media/oauth/adhoc cleanup 2026-06-14 13:15:48 +07:00
antigravity-retry-hook.test.js refactor(open-sse): registry consolidation + DRY media/oauth/adhoc cleanup 2026-06-14 13:15:48 +07:00
base-executor-retry.test.js refactor(open-sse): registry consolidation + DRY media/oauth/adhoc cleanup 2026-06-14 13:15:48 +07:00
buildOutputFilter.test.js chore: add buildOutput RTK filter, drop legacy cloud sync, internal cleanup 2026-05-16 10:54:41 +07:00
buildOutputFilterAdversarial.test.js chore: add buildOutput RTK filter, drop legacy cloud sync, internal cleanup 2026-05-16 10:54:41 +07:00
capabilities-service-kind.test.js fix: show custom vision models in LLM selector and model list 2026-06-18 09:13:27 +07:00
claude-cloaking.test.js fix(claude): forced tool_choice 400 on cc/ OAuth route 2026-06-06 12:54:01 +07:00
claude-header-forwarding.test.js feat(claude-code): spoof TLS fingerprint and stabilize headers for Anthropic 2026-03-30 16:27:28 +07:00
codebuddy-reasoning-optin.test.js fix(codebuddy): only send reasoning params when client requests reasoning 2026-06-26 10:51:16 +07:00
codex-image-fetch.test.js Refactor 2026-06-15 18:18:04 +07:00
codex-refresh-token.test.js fix(codex): durable OAuth refresh lifecycle 2026-06-06 11:04:36 +07:00
codex-tool-normalization.test.js fix(codex): preserve Responses text format 2026-06-26 10:37:29 +07:00
combo-autoswitch.test.js Refactor 2026-06-15 18:18:04 +07:00
combo-fusion.test.js fix(combo/fusion): flatten Anthropic-style tool messages in panel calls 2026-06-20 15:19:31 +07:00
combo-routing.test.js Add sticky round-robin for combos (#831) 2026-05-01 16:36:36 +07:00
commandcode-to-openai.test.js refactor(open-sse): translator DRY + schema enums, bug fixes, dead code cleanup 2026-06-14 18:49:38 +07:00
compatible-provider-connections.test.js Fix compatible provider API key setup (#925) 2026-05-07 16:17:03 +07:00
cursor-composer-thinking.test.js fix: decode Composer cursor thinking output (#1310) 2026-05-21 09:52:30 +07:00
dashboard-guard.test.js fix(gemini): support native TTS generateContent endpoint 2026-06-26 10:50:13 +07:00
db-benchmark.test.js feat(db): migrate from lowdb to SQLite with repos pattern 2026-05-09 17:48:20 +07:00
db-concurrent.test.js feat(db): migrate from lowdb to SQLite with repos pattern 2026-05-09 17:48:20 +07:00
db-driver-chain.test.js chore: release v0.4.27 2026-05-09 22:48:07 +07:00
db-migration-chain.test.js feat(db): migrate from lowdb to SQLite with repos pattern 2026-05-09 17:48:20 +07:00
db-sqlite-vs-lowdb.test.js feat(db): migrate from lowdb to SQLite with repos pattern 2026-05-09 17:48:20 +07:00
embeddings.cloud.test.js feat: add /v1/embeddings endpoint (OpenAI-compatible) (#146) 2026-02-18 13:24:02 +07:00
embeddingsCore.test.js feat(vercel-ai-gateway): support embeddings, images and credit usage 2026-06-13 10:54:51 +07:00
executor-const-guard.test.js fix(translator): ESM-safe registry + tool-id pairing + responses max_tokens; add real-creds tests 2026-06-15 11:38:43 +07:00
file-block-routing.test.js Refactor 2026-06-15 18:18:04 +07:00
finish-reason-concern.test.js fix(translator): ESM-safe registry + tool-id pairing + responses max_tokens; add real-creds tests 2026-06-15 11:38:43 +07:00
force-stream-config.test.js fix: preserve forced streaming for json clients 2026-06-26 10:37:23 +07:00
gemini-native-endpoint.test.js fix(gemini): support native TTS generateContent endpoint 2026-06-26 10:50:13 +07:00
gemini-tts.test.js fix(tts): resolve Gemini TTS models from catalog 2026-06-26 10:32:34 +07:00
gemini-usage-projectid.test.js Reuse Gemini CLI project ID for usage (#1428) 2026-05-26 11:23:47 +07:00
github-responses-routing.test.js fix: never route GitHub Copilot Gemini/Claude models to /responses (#1062) (#1536) 2026-05-29 15:40:42 +07:00
headroom-detect.test.js fix(headroom): support Docker sidecar proxy 2026-06-21 17:45:27 +07:00
headroom.test.js feat(headroom): add proxy lifecycle management + dashboard UI 2026-06-20 10:09:50 +07:00
hf-model-routing.test.js Fix model test routing for image providers 2026-06-02 21:14:36 +08:00
image-fetch-hardening.test.js Refactor 2026-06-15 18:18:04 +07:00
image-generation.test.js feat(vercel-ai-gateway): support embeddings, images and credit usage 2026-06-13 10:54:51 +07:00
kiro-model-slots.test.js fix(kiro): add mappable "auto" model slot for Kiro agent mode 2026-06-06 10:31:39 +07:00
kiro-profile-arn.test.js feat(kiro): headless API-key auth + direct Claude/Kiro route 2026-06-17 10:01:30 +07:00
mimo-free.live.test.js fix(mimo-free): add Chrome User-Agent rotation to bypass anti-abuse gate 2026-06-21 16:51:47 +07:00
mimo-free.test.js fix(provider-topology): update label assignment to include nodeName 2026-06-13 11:43:18 +07:00
minimax-tts.test.js feat: add minimax tts support (#1043) 2026-05-13 15:34:10 +07:00
minimax-usage.test.js fix(minimax): Bổ sung MiniMax-M3 + cập nhật Quota Tracker coding/CN 2026-06-06 10:01:05 +07:00
minimax-voices.test.js feat: add minimax tts support (#1043) 2026-05-13 15:34:10 +07:00
modality-strip.test.js Refactor 2026-06-15 18:18:04 +07:00
model-name-regex.test.js refactor(open-sse): registry consolidation + DRY media/oauth/adhoc cleanup 2026-06-14 13:15:48 +07:00
model-routing.test.js fix(image): prevent compatible nodes from shadowing provider aliases 2026-06-18 09:10:52 +07:00
model-test-routing.test.js Harden STT ping input and expand model-test coverage 2026-06-03 01:53:34 +08:00
multimodal-drop-lock.test.js refactor(open-sse): translator DRY + schema enums, bug fixes, dead code cleanup 2026-06-14 18:49:38 +07:00
oauth-cursor-auto-import.test.js fix: improve cursor auto-import reliability on macOS (#161) 2026-02-20 15:07:43 +07:00
openai-responses-terminal-event.test.js fix(codex): harden streaming timeouts + Responses terminal events 2026-06-06 16:07:43 +07:00
openai-to-claude-response-tools.test.js fix: sanitize Read tool args to prevent retry loops from non-Anthropic models (#1144) 2026-05-26 11:33:38 +07:00
openai-to-claude.test.js fix(claude): forced tool_choice 400 on cc/ OAuth route 2026-06-06 12:54:01 +07:00
openai-to-commandcode.test.js refactor(open-sse): translator DRY + schema enums, bug fixes, dead code cleanup 2026-06-14 18:49:38 +07:00
openai-to-kiro.test.js fix(kiro): honor thinking effort budgets 2026-06-18 15:14:42 +07:00
openai-to-ollama-malformed.test.js fix(translator): ESM-safe registry + tool-id pairing + responses max_tokens; add real-creds tests 2026-06-15 11:38:43 +07:00
opencode-go-models.test.js feat(opencode-go): align Go models with official endpoints 2026-06-20 15:09:11 +07:00
perplexity-web.test.js feat: add support for Grok Web and Perplexity Web providers 2026-04-22 11:58:53 +07:00
prefetch-images.test.js Refactor 2026-06-15 18:18:04 +07:00
provider-custom-models.test.js fix(models): store provider custom models by provider scope 2026-06-20 15:19:22 +07:00
provider-display-split.test.js refactor(open-sse): registry consolidation + DRY media/oauth/adhoc cleanup 2026-06-14 13:15:48 +07:00
provider-models-minimax-m3.test.js fix(minimax): Bổ sung MiniMax-M3 + cập nhật Quota Tracker coding/CN 2026-06-06 10:01:05 +07:00
provider-pricing-minimax-m3.test.js fix(translator): ESM-safe registry + tool-id pairing + responses max_tokens; add real-creds tests 2026-06-15 11:38:43 +07:00
provider-test-models-routing.test.js Fix model test routing for image providers 2026-06-02 21:14:36 +08:00
provider-validation.test.js Add optional modelID input for custom API Key Providers testing (#315) 2026-03-16 09:21:05 +07:00
qoder.test.js fix(qoder): allow qmodel_latest model key 2026-06-06 10:44:37 +07:00
reasoningContentInjector.test.js fix(minimax): echo reasoning_content on follow-up turns to avoid 400 2026-06-06 12:25:12 +07:00
responses-abort-terminal.test.js fix(codex): harden streaming timeouts + Responses terminal events 2026-06-06 16:07:43 +07:00
rtk.e2e.test.js Feature : RTK compress 2026-04-22 15:36:51 +07:00
rtk.multi-provider.e2e.test.js Feature : RTK compress 2026-04-22 15:36:51 +07:00
rtk.test.js Refactor 2026-06-15 18:18:04 +07:00
rtkKiro.test.js feat(rtk): add Kiro format support for tool result compression (#1194) 2026-05-17 15:13:37 +07:00
session-manager.test.js # v0.5.3 (2026-06-18) 2026-06-18 17:36:08 +07:00
token-refresh-dispatch.test.js refactor(open-sse): #8 unify token refresh dispatch — 2 switch → 1 registry 2026-06-13 21:32:52 +07:00
translator-helpers-edge.test.js refactor(open-sse): translator DRY + schema enums, bug fixes, dead code cleanup 2026-06-14 18:49:38 +07:00
translator-request-normalization.test.js refactor(open-sse): translator DRY + schema enums, bug fixes, dead code cleanup 2026-06-14 18:49:38 +07:00
usage-concern.test.js fix(translator): ESM-safe registry + tool-id pairing + responses max_tokens; add real-creds tests 2026-06-15 11:38:43 +07:00
usage-dispatch.test.js refactor(open-sse): usage.js dispatcher switch → USAGE_HANDLERS registry 2026-06-13 21:46:13 +07:00
web-cookie-validation.test.js feat: add support for Grok Web and Perplexity Web providers 2026-04-22 11:58:53 +07:00
xai-oauth-service.test.js feat(xai): add xAI Grok provider with OAuth + API key auth + image 2026-05-21 11:33:18 +07:00
xai-tokenRefresh.test.js feat(xai): add xAI Grok provider with OAuth + API key auth + image 2026-05-21 11:33:18 +07:00