llm.rb 15.5.0 → 16.0.0.pre.2
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +88 -1
- data/README.md +21 -30
- data/data/alibaba.json +1123 -949
- data/data/anthropic.json +296 -242
- data/data/bedrock.json +4178 -3807
- data/data/deepinfra.json +1529 -1358
- data/data/deepseek.json +15 -11
- data/data/google.json +787 -763
- data/data/mistral.json +476 -496
- data/data/moonshot.json +53 -50
- data/data/openai.json +1294 -1165
- data/data/openrouter.json +8722 -8546
- data/data/xai.json +207 -202
- data/data/zai.json +271 -264
- data/docs/deepdive/features/builtin_tools.md +3 -1
- data/docs/deepdive/features/console.md +7 -0
- data/docs/deepdive/fundamentals/schema.md +46 -0
- data/docs/deepdive/fundamentals/tools.md +68 -0
- data/docs/deepdive/protocols/a2a.md +91 -0
- data/docs/deepdive/protocols/mcp.md +50 -0
- data/docs/deepdive/reference/model_registry.md +1 -1
- data/lib/llm/console/input.rb +15 -5
- data/lib/llm/function/async/reactor.rb +10 -0
- data/lib/llm/function/async/task.rb +63 -11
- data/lib/llm/function/fork/job.rb +31 -8
- data/lib/llm/function/ractor/job.rb +59 -20
- data/lib/llm/function/ractor/mailbox.rb +39 -3
- data/lib/llm/function/ractor/task.rb +26 -9
- data/lib/llm/function/window.rb +77 -0
- data/lib/llm/function.rb +2 -1
- data/lib/llm/providers/deepseek/request_adapter/completion.rb +43 -2
- data/lib/llm/tool/param.rb +8 -8
- data/lib/llm/tools/exec.rb +2 -0
- data/lib/llm/version.rb +1 -1
- data/llm.gemspec +4 -4
- metadata +7 -6
data/data/deepseek.json
CHANGED
|
@@ -57,11 +57,12 @@
|
|
|
57
57
|
"output": 0.6,
|
|
58
58
|
"reasoning": 0.6,
|
|
59
59
|
"cache_read": 0.003
|
|
60
|
-
}
|
|
60
|
+
},
|
|
61
|
+
"canonical_model_id": "deepseek/deepseek-v4.1-flash"
|
|
61
62
|
},
|
|
62
|
-
"deepseek-
|
|
63
|
-
"id": "deepseek-
|
|
64
|
-
"name": "DeepSeek V4 Flash",
|
|
63
|
+
"deepseek-flash": {
|
|
64
|
+
"id": "deepseek-flash",
|
|
65
|
+
"name": "DeepSeek V4.1 Flash",
|
|
65
66
|
"description": "DeepSeek V4.1 Flash model for reasoning and agentic coding",
|
|
66
67
|
"family": "deepseek-flash",
|
|
67
68
|
"attachment": true,
|
|
@@ -102,13 +103,13 @@
|
|
|
102
103
|
"context": 1000000,
|
|
103
104
|
"output": 393216
|
|
104
105
|
},
|
|
105
|
-
"status": "deprecated",
|
|
106
106
|
"cost": {
|
|
107
107
|
"input": 0.15,
|
|
108
108
|
"output": 0.6,
|
|
109
109
|
"reasoning": 0.6,
|
|
110
110
|
"cache_read": 0.003
|
|
111
|
-
}
|
|
111
|
+
},
|
|
112
|
+
"canonical_model_id": "deepseek/deepseek-v4.1-flash"
|
|
112
113
|
},
|
|
113
114
|
"deepseek-v4-pro": {
|
|
114
115
|
"id": "deepseek-v4-pro",
|
|
@@ -156,11 +157,12 @@
|
|
|
156
157
|
"output": 0.87,
|
|
157
158
|
"reasoning": 0.87,
|
|
158
159
|
"cache_read": 0.003625
|
|
159
|
-
}
|
|
160
|
+
},
|
|
161
|
+
"canonical_model_id": "deepseek/deepseek-v4-pro-0813"
|
|
160
162
|
},
|
|
161
|
-
"deepseek-flash": {
|
|
162
|
-
"id": "deepseek-flash",
|
|
163
|
-
"name": "DeepSeek V4
|
|
163
|
+
"deepseek-v4-flash": {
|
|
164
|
+
"id": "deepseek-v4-flash",
|
|
165
|
+
"name": "DeepSeek V4 Flash",
|
|
164
166
|
"description": "DeepSeek V4.1 Flash model for reasoning and agentic coding",
|
|
165
167
|
"family": "deepseek-flash",
|
|
166
168
|
"attachment": true,
|
|
@@ -201,12 +203,14 @@
|
|
|
201
203
|
"context": 1000000,
|
|
202
204
|
"output": 393216
|
|
203
205
|
},
|
|
206
|
+
"status": "deprecated",
|
|
204
207
|
"cost": {
|
|
205
208
|
"input": 0.15,
|
|
206
209
|
"output": 0.6,
|
|
207
210
|
"reasoning": 0.6,
|
|
208
211
|
"cache_read": 0.003
|
|
209
|
-
}
|
|
212
|
+
},
|
|
213
|
+
"canonical_model_id": "deepseek/deepseek-v4.1-flash"
|
|
210
214
|
}
|
|
211
215
|
}
|
|
212
216
|
}
|