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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ffec6ef30f0f0ae7224e72b3704e6dbad86e6d33f84972ac77fbf78d0428d103
4
- data.tar.gz: 157a7f6b0a1772166e0003c6cee00c92e705bd04d2c8acb8c2f2379966c9f358
3
+ metadata.gz: 554eee7b98695fceb25acf92f23786ddaee0be24899dbd4491e6251e73967597
4
+ data.tar.gz: c4e840723cb088cdd12c2fbb66c74f40c13dc467e49579b38ea95efb271d0f88
5
5
  SHA512:
6
- metadata.gz: 4f6e070fd9b0ad016aab65655ad360bf1434cb60ce5d84bd1af787c37676995945fa0dd1aed1675637b0961113a5366abfea530885e429647c0540098790e51e
7
- data.tar.gz: 12a91f1ab771db4597fb175bf286106c9b3e816e71237b5d22714f4e4c794f14f8eac3461c7ec62332728238ce3f883925410005d7d06be7bbbb3829e05e0a7a
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
+ ]
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Ask
4
4
  module LLM
5
- VERSION = "0.12.2"
5
+ VERSION = "0.12.3"
6
6
  end
7
7
  end
@@ -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: 120 })
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.2
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