feat: Update Claude model names and IDs across configuration, documentation, and tests, including the default model and thinking delta logic.

This commit is contained in:
CJACK
2026-02-17 13:36:19 +08:00
parent 6697d0d227
commit 7dcddef91f
10 changed files with 42 additions and 38 deletions

View File

@@ -9,7 +9,7 @@ import (
var markdownImagePattern = regexp.MustCompile(`!\[(.*?)\]\((.*?)\)`)
const ClaudeDefaultModel = "claude-sonnet-4-20250514"
const ClaudeDefaultModel = "claude-sonnet-4-5"
type Message struct {
Role string `json:"role"`

View File

@@ -36,7 +36,7 @@ func TestMessagesPrepareRoles(t *testing.T) {
func TestConvertClaudeToDeepSeek(t *testing.T) {
store := config.LoadStore()
req := map[string]any{
"model": "claude-sonnet-4-20250514-slow",
"model": "claude-opus-4-6",
"messages": []any{map[string]any{"role": "user", "content": "Hi"}},
"system": "You are helpful",
"stream": true,