Qwen 校验器要求每个 object schema 必须有 required 字段,缺失时报错
"None is not of type 'array'"。在 sanitizeJsonSchema 中补充处理逻辑,
当 object schema 不含 required 键时自动注入 required: []。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
CoStrict provider now directly passes the user's configured model name
to the API, instead of replacing it with the first model from the
/ai-gateway/api/v1/models list.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Only show ANTHROPIC_MODEL env var model for firstParty/bedrock/vertex/foundry
- Do not leak it into OpenAI/Gemini/Grok/CoStrict pickers
- Remove settings.model from custom model options
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Changed CHANGELOG_URL and RAW_CHANGELOG_URL to point to y574444354/csc
- Updated both GitHub page and raw content URLs
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The code sets reasoning_content to ' ' for empty thinking blocks when
enableThinking is true, but the test expected undefined. Updated the
test to match the actual behavior.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add reasoning_content field when thinking mode is enabled
- Set reasoning_content to empty string when no thinking content available
- Enable model auto-detection for kimi provider
- Add thinking mode support to costrict provider
- Add setDefaultModel() in provider.ts to set sonnet as default when using /provider command
- Add model setting in ConsoleOAuthFlow.tsx for all provider save paths:
- Anthropic OAuth login
- Custom platform (Anthropic Compatible)
- OpenAI
- Gemini
- Fix modelOptions.ts to only show CoStrict models when provider IS costrict (not when creds exist)
- Add standard model options for non-costrict providers (Sonnet/Opus/Haiku)
- Remove env var in provider.ts unset/anthropic/openai/gemini/grok handlers
- Remove env var after OAuth login and model save success in ConsoleOAuthFlow
- Fix modelOptions.ts to only show CoStrict models when provider IS costrict
- Remove unused hasCoStrictCredentialsSync import and getCoStrictLoginOption
- Added CoStrict option to the login Select component
- Implemented complete OAuth flow with browser opening and token polling
- Added costrict_waiting and costrict_model_select OAuth states
- Fixed TypeScript errors in fetch.ts and index.ts
The CoStrict login option was previously removed during login simplification.
This commit restores the full functionality including model selection after login.