ask-llm-providers 0.12.2 → 0.12.3
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/lib/ask/llm/models/opencode.json +46 -0
- data/lib/ask/llm/version.rb +1 -1
- data/lib/ask/provider/openai.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 554eee7b98695fceb25acf92f23786ddaee0be24899dbd4491e6251e73967597
|
|
4
|
+
data.tar.gz: c4e840723cb088cdd12c2fbb66c74f40c13dc467e49579b38ea95efb271d0f88
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '0692e7439d103d33615c8a6cd68e14e2e2b72a1756a866f2b9631db18abf7543e27214d7c96711909bb56a1b116125e6c574428ca32d81ae4e7e7c440cc5f26f'
|
|
7
|
+
data.tar.gz: a0ab4e01caaae66d3957f5426efca70118dafa33562fff24acf6139e3e9bbcd6d2d931538e7e27baeefd3bb05c4d57e9592f3c4c69c8ee55a75191b904dd0739
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "deepseek-v4-flash",
|
|
4
|
+
"name": "DeepSeek V4 Flash",
|
|
5
|
+
"family": "deepseek_v4",
|
|
6
|
+
"provider": "opencode",
|
|
7
|
+
"context_window": 1000000,
|
|
8
|
+
"max_output_tokens": 384000,
|
|
9
|
+
"capabilities": ["function_calling", "streaming", "reasoning"],
|
|
10
|
+
"modalities": {"input": ["text"], "output": ["text"]},
|
|
11
|
+
"pricing": {"input": 0, "output": 0}
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"id": "deepseek-v4-flash",
|
|
15
|
+
"name": "DeepSeek V4 Flash",
|
|
16
|
+
"family": "deepseek_v4",
|
|
17
|
+
"provider": "opencode_go",
|
|
18
|
+
"context_window": 1000000,
|
|
19
|
+
"max_output_tokens": 384000,
|
|
20
|
+
"capabilities": ["function_calling", "streaming", "reasoning"],
|
|
21
|
+
"modalities": {"input": ["text"], "output": ["text"]},
|
|
22
|
+
"pricing": {"input": 0, "output": 0}
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"id": "mimo-v2.5",
|
|
26
|
+
"name": "Mimo V2.5",
|
|
27
|
+
"family": "mimo",
|
|
28
|
+
"provider": "opencode",
|
|
29
|
+
"context_window": 1000000,
|
|
30
|
+
"max_output_tokens": 384000,
|
|
31
|
+
"capabilities": ["function_calling", "streaming", "reasoning"],
|
|
32
|
+
"modalities": {"input": ["text"], "output": ["text"]},
|
|
33
|
+
"pricing": {"input": 0, "output": 0}
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"id": "mimo-v2.5",
|
|
37
|
+
"name": "Mimo V2.5",
|
|
38
|
+
"family": "mimo",
|
|
39
|
+
"provider": "opencode_go",
|
|
40
|
+
"context_window": 1000000,
|
|
41
|
+
"max_output_tokens": 384000,
|
|
42
|
+
"capabilities": ["function_calling", "streaming", "reasoning"],
|
|
43
|
+
"modalities": {"input": ["text"], "output": ["text"]},
|
|
44
|
+
"pricing": {"input": 0, "output": 0}
|
|
45
|
+
}
|
|
46
|
+
]
|
data/lib/ask/llm/version.rb
CHANGED
data/lib/ask/provider/openai.rb
CHANGED
|
@@ -422,7 +422,7 @@ module Ask
|
|
|
422
422
|
end
|
|
423
423
|
|
|
424
424
|
def build_http
|
|
425
|
-
LLM::HTTP.connection(api_base, headers:, request: { open_timeout: 30, timeout:
|
|
425
|
+
LLM::HTTP.connection(api_base, headers:, request: { open_timeout: 30, timeout: 600 })
|
|
426
426
|
end
|
|
427
427
|
|
|
428
428
|
def format_messages(messages)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ask-llm-providers
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.12.
|
|
4
|
+
version: 0.12.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kaka Ruto
|
|
@@ -193,6 +193,7 @@ files:
|
|
|
193
193
|
- lib/ask/llm/models/nvidia_nim.json
|
|
194
194
|
- lib/ask/llm/models/openai.json
|
|
195
195
|
- lib/ask/llm/models/openai_codex.json
|
|
196
|
+
- lib/ask/llm/models/opencode.json
|
|
196
197
|
- lib/ask/llm/models/perplexity.json
|
|
197
198
|
- lib/ask/llm/models/vertex_ai.json
|
|
198
199
|
- lib/ask/llm/models/xai.json
|