@simonyea/holysheep-cli 1.2.5 → 1.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/tools/openclaw.js +3 -2
package/package.json
CHANGED
package/src/tools/openclaw.js
CHANGED
|
@@ -70,9 +70,9 @@ function buildFullConfig(existing, apiKey, baseUrlAnthropicNoV1, baseUrlOpenAI)
|
|
|
70
70
|
// ── 3. 默认模型 ────────────────────────────────────────────────────
|
|
71
71
|
if (!config.agents) config.agents = {}
|
|
72
72
|
if (!config.agents.defaults) config.agents.defaults = {}
|
|
73
|
-
// 总是覆写为 HolySheep 最新 Sonnet
|
|
73
|
+
// 总是覆写为 HolySheep 最新 Sonnet 4.6
|
|
74
74
|
config.agents.defaults.model = {
|
|
75
|
-
primary: 'anthropic/claude-sonnet-4-
|
|
75
|
+
primary: 'anthropic/claude-sonnet-4-6',
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
// ── 4. 自定义 holysheep provider(OpenAI-compatible,支持所有模型)
|
|
@@ -84,6 +84,7 @@ function buildFullConfig(existing, apiKey, baseUrlAnthropicNoV1, baseUrlOpenAI)
|
|
|
84
84
|
apiKey,
|
|
85
85
|
api: 'openai-completions',
|
|
86
86
|
models: [
|
|
87
|
+
{ id: 'claude-sonnet-4-6', name: 'Claude Sonnet 4.6 (HolySheep)' },
|
|
87
88
|
{ id: 'claude-sonnet-4-5-20250929', name: 'Claude Sonnet 4.5 (HolySheep)' },
|
|
88
89
|
{ id: 'claude-sonnet-4-20250514', name: 'Claude Sonnet 4 (HolySheep)' },
|
|
89
90
|
{ id: 'claude-opus-4-5-20251101', name: 'Claude Opus 4.5 (HolySheep)' },
|