AI preset model refresh + thinking-probe fix + 0.51.0-beta.1#359
Merged
Conversation
Trading workbench wants the most capable model, not fast/cheap tiers. Bump + prune each preset's model list: - GLM: glm-5.1 -> glm-5.2 (sole flagship); drop 4.7-flash, 4.5-air - Kimi: default kimi-k2.7-code; keep k2.6; drop k2.5 - Claude: drop superseded Opus 4.7; drop Haiku 4.5 (cheap tier) - Codex: drop gpt-5.4-mini (cheap tier); gpt-5.5 stays current - DeepSeek: drop v4-flash (cheap tier) - MiniMax: unchanged (M3 already the current flagship) Also refresh the stale Workspace AI-config modal placeholders (claude-sonnet-4-6 -> claude-opus-4-8, gpt-4o -> gpt-5.5). New CN model ids (glm-5.2, kimi-k2.7-code) verified against provider docs; confirm via the credential Test path before relying on them. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…datory-reasoning models Kimi k2.7 (and similar) 400 with 'invalid thinking: only type=enabled is allowed for this model' when the probe omits thinking — they cannot run it disabled. The Anthropic probe now retries once with thinking enabled (budget_tokens 1024, max_tokens bumped to 2048) only when the error is thinking-related, leaving the common path (Claude/GLM/MiniMax/DeepSeek) untouched. Verified end-to-end against the live Kimi endpoint. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
thinking: {type:enabled}when a 400 is thinking-related (kimi-k2.7-code), leaving the common path untouched. Verified end-to-end against the live Kimi endpoint.Test plan
npx tsc --noEmitclean (Alice src)cd ui && npx tsc -bclean (UI strict)pnpm vitest run preset agent-probe— 61 passedBoundary touch
Touches the AI-provider credential probe (Test path only — one-shot key verification, no agent loop) and the preset catalog. No trading / broker / migration changes.
🤖 Generated with Claude Code