Skip to content

AI preset model refresh + thinking-probe fix + 0.51.0-beta.1#359

Merged
luokerenx4 merged 4 commits into
masterfrom
UI-issue
Jun 18, 2026
Merged

AI preset model refresh + thinking-probe fix + 0.51.0-beta.1#359
luokerenx4 merged 4 commits into
masterfrom
UI-issue

Conversation

@luokerenx4

Copy link
Copy Markdown
Contributor

Summary

  • Refresh the AI-provider preset catalog to current flagships, pruning fast/cheap tiers (GLM→glm-5.2 sole, Kimi→kimi-k2.7-code, drop Opus 4.7 / Haiku / gpt-5.4-mini / deepseek-v4-flash; MiniMax-M3 already current). New CN ids verified against provider docs.
  • Fix the credential Test probe for mandatory-reasoning models: retry once with 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.
  • Refresh stale Workspace AI-config modal placeholders (claude-sonnet-4-6 → claude-opus-4-8, gpt-4o → gpt-5.5).
  • Bump version to 0.51.0-beta.1.

Test plan

  • npx tsc --noEmit clean (Alice src)
  • cd ui && npx tsc -b clean (UI strict)
  • pnpm vitest run preset agent-probe — 61 passed
  • Live Test against Kimi / GLM endpoints through the credential vault

Boundary 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

Ame and others added 4 commits June 17, 2026 21:06
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>
@luokerenx4 luokerenx4 merged commit dc69f7a into master Jun 18, 2026
2 checks passed
@vercel

vercel Bot commented Jun 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openalice-demo Ready Ready Preview, Comment Jun 18, 2026 11:47am

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant