ask-llm-providers 0.12.1 → 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: d9fee1d278c68bc00ca76c4934de325484cd5e95dd21593683b4bf270013f32c
4
- data.tar.gz: 0d349503f8b55b0c928f80d63cc499de55bff4693013fd1827acaec945f54813
3
+ metadata.gz: 554eee7b98695fceb25acf92f23786ddaee0be24899dbd4491e6251e73967597
4
+ data.tar.gz: c4e840723cb088cdd12c2fbb66c74f40c13dc467e49579b38ea95efb271d0f88
5
5
  SHA512:
6
- metadata.gz: 872ebf808aed643d744aaf3d486e026970354785341273dfcb142831d6f6a98e5195534e168534f1884612797da9d0079cf3051195c86197593d78d5b94caf84
7
- data.tar.gz: 695cb16673512b0ca85a44f979f2da3b5002f489aa5cf959e44bbf2091a716f3bf28145c39a1b02487b0646cea5c35651ee11a866409f477a6571c3eaf4fe262
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.1"
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.1
4
+ version: 0.12.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kaka Ruto
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - ">="
17
17
  - !ruby/object:Gem::Version
18
- version: 0.7.0
18
+ version: 0.11.3
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - ">="
24
24
  - !ruby/object:Gem::Version
25
- version: 0.7.0
25
+ version: 0.11.3
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: ask-auth
28
28
  requirement: !ruby/object:Gem::Requirement
@@ -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