Skip to content

Commit 74e3e1e

Browse files
Eric-GeekEric-Geek
andauthored
feat(anthropic): add claude-opus-4-5-20251101 model (#2126)
* feat(anthropic): add claude-opus-4-5-20251101 model * renew version anthropic 0.2.4 * change thinking_budget 的 min from 0 into 1024 --------- Co-authored-by: Eric-Geek <ericwalker0316@gmail.com>
1 parent 96021f4 commit 74e3e1e

File tree

3 files changed

+125
-1
lines changed

3 files changed

+125
-1
lines changed

models/anthropic/manifest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ resource:
2525
model:
2626
enabled: false
2727
type: plugin
28-
version: 0.2.3
28+
version: 0.2.4

models/anthropic/models/llm/_position.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
- claude-opus-4-5-20251101
12
- claude-haiku-4-5-20251001
23
- claude-sonnet-4-5
34
- claude-sonnet-4-5-20250929
5+
- claude-opus-4-1-20250805
46
- claude-opus-4-20250514
57
- claude-sonnet-4-20250514
68
- claude-3-5-haiku-20241022
Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
model: claude-opus-4-5-20251101
2+
label:
3+
en_US: claude-opus-4-5-20251101
4+
model_type: llm
5+
features:
6+
- agent-thought
7+
- vision
8+
- tool-call
9+
- stream-tool-call
10+
- document
11+
model_properties:
12+
mode: chat
13+
context_size: 200000
14+
parameter_rules:
15+
- name: thinking
16+
label:
17+
zh_Hans: 推理模式
18+
en_US: Thinking Mode
19+
type: boolean
20+
default: false
21+
required: false
22+
help:
23+
zh_Hans: 控制模型的推理能力。启用时,temperature、top_p和top_k将被禁用。
24+
en_US: Controls the model's thinking capability. When enabled, temperature, top_p and top_k will be disabled.
25+
- name: thinking_budget
26+
label:
27+
zh_Hans: 推理预算
28+
en_US: Thinking Budget
29+
type: int
30+
default: 1024
31+
min: 1024
32+
max: 64000
33+
required: false
34+
help:
35+
zh_Hans: 推理的预算限制(最小1024),必须小于max_tokens。仅在推理模式启用时可用。
36+
en_US: Budget limit for thinking (minimum 1024), must be less than max_tokens. Only available when thinking mode is enabled.
37+
- name: temperature
38+
use_template: temperature
39+
- name: top_p
40+
use_template: top_p
41+
- name: top_k
42+
label:
43+
zh_Hans: 取样数量
44+
en_US: Top k
45+
type: int
46+
help:
47+
zh_Hans: 仅从每个后续标记的前 K 个选项中采样。
48+
en_US: Only sample from the top K options for each subsequent token.
49+
required: false
50+
- name: max_tokens
51+
use_template: max_tokens
52+
required: true
53+
default: 64000
54+
min: 1
55+
max: 64000
56+
- name: response_format
57+
use_template: response_format
58+
- name: prompt_caching_message_flow
59+
label:
60+
zh_Hans: 大消息自动缓存阈值
61+
en_US: Cache Message Flow Threshold
62+
type: int
63+
default: 0
64+
required: false
65+
help:
66+
zh_Hans: 当用户或助手消息的单词数超过此阈值时,自动为该消息添加缓存控制。0 表示禁用。
67+
en_US: If a user or assistant message exceeds this word count, add cache_control automatically. 0 disables the feature.
68+
- name: prompt_caching_system_message
69+
label:
70+
zh_Hans: 缓存系统消息
71+
en_US: Cache System Message
72+
type: boolean
73+
default: true
74+
required: false
75+
help:
76+
zh_Hans: 启用系统消息的提示缓存。<cache></cache>中的内容将自动缓存。
77+
en_US: Enable prompt caching for system messages. Content within <cache></cache> will be cached.
78+
- name: prompt_caching_images
79+
label:
80+
zh_Hans: 缓存图片
81+
en_US: Cache Images
82+
type: boolean
83+
default: true
84+
required: false
85+
help:
86+
zh_Hans: 启用图片的提示缓存。
87+
en_US: Enable prompt caching for images.
88+
- name: prompt_caching_documents
89+
label:
90+
zh_Hans: 缓存文档
91+
en_US: Cache Documents
92+
type: boolean
93+
default: true
94+
required: false
95+
help:
96+
zh_Hans: 启用文档的提示缓存。
97+
en_US: Enable prompt caching for documents.
98+
- name: prompt_caching_tool_definitions
99+
label:
100+
zh_Hans: 缓存工具定义
101+
en_US: Cache Tool Definitions
102+
type: boolean
103+
default: true
104+
required: false
105+
help:
106+
zh_Hans: 启用工具定义的提示缓存。
107+
en_US: Enable prompt caching for tool definitions.
108+
- name: prompt_caching_tool_results
109+
label:
110+
zh_Hans: 缓存工具结果
111+
en_US: Cache Tool Results
112+
type: boolean
113+
default: true
114+
required: false
115+
help:
116+
zh_Hans: 启用工具结果的提示缓存。
117+
en_US: Enable prompt caching for tool results.
118+
pricing:
119+
input: '5.00'
120+
output: '25.00'
121+
unit: '0.000001'
122+
currency: USD

0 commit comments

Comments
 (0)