ox-ai-workers 1.1.2.1 → 1.1.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2673045da6891e5579b32031258297205e8e12d3ecee7a2896624c97ce3171f0
4
- data.tar.gz: 7aa19d88b9191395385acf7a379b386b29e475f3ec5dbd7bd35d7c3ea4a1073e
3
+ metadata.gz: 7345d2dabee419e590b804e61614d7849d86112361077ad7353ddbb3a8a22436
4
+ data.tar.gz: c71492424ffe59a875d3d4131e808c7b3657c04c51436b60d99c946af9948412
5
5
  SHA512:
6
- metadata.gz: 5399ae9b4eeca0c5da03dc7a6bd735d3ccf90e3e2d6feb2591e05992e4f2f37b404e03f9e639cbceb3469bb9c7f4b6acf9d045a7627be04116c0fdf48d5e8cbd
7
- data.tar.gz: 0c59bf655cb908c98908f54c00e022b3f82f281f40411a8a8b82c0a31edd80003fd8b01cb2d2b56157bfa86222e8313f1a7dd669000b502fbc9d414623f5c39e
6
+ metadata.gz: 83a19cb82666fd09c2afae40c0d0ce3fe6dd422f64e6139a7e1482d7131149394bb95ce1473cd76faa8859dd04336f004e75220f02629ca7400194a9f0fdea59
7
+ data.tar.gz: 9c70bd792d3091e2bbe896ca54c1958ea222028584c509ead8b3984f5ecafea1cb6f23b7329744eea57b1203508cb376e25f4615d4a54abfbadd9782bad3ea83
@@ -6,6 +6,7 @@ module OxAiWorkers
6
6
  def initialize(uri_base: nil, api_key: nil, model: nil, max_tokens: nil, temperature: nil, frequency_penalty: nil)
7
7
  @model = model || 'claude-3-7-sonnet-latest'
8
8
  @uri_base = uri_base # || 'https://api.anthropic.com/v1/'
9
+ @temperature = temperature || 0.1
9
10
  @api_key = api_key || OxAiWorkers.configuration.access_token_anthropic
10
11
  super(uri_base: @uri_base, api_key: @api_key, model: @model, max_tokens:, temperature:, frequency_penalty:)
11
12
  end
@@ -5,6 +5,7 @@ module OxAiWorkers
5
5
  class DeepseekMax < LLMBase
6
6
  def initialize(uri_base: nil, api_key: nil, model: nil, max_tokens: nil, temperature: nil, frequency_penalty: nil)
7
7
  @model = model || 'deepseek-chat'
8
+ @temperature = temperature || 0.1
8
9
  @uri_base = uri_base || 'https://api.deepseek.com/'
9
10
  @api_key = api_key || OxAiWorkers.configuration.access_token_deepseek
10
11
  super(uri_base: @uri_base, api_key: @api_key, model: @model, max_tokens:, temperature:, frequency_penalty:)
@@ -5,6 +5,7 @@ module OxAiWorkers
5
5
  class OpenaiMax < LLMBase
6
6
  def initialize(uri_base: nil, api_key: nil, model: nil, max_tokens: nil, temperature: nil, frequency_penalty: nil)
7
7
  @model = model || 'gpt-4.1'
8
+ @temperature = temperature || 0.1
8
9
  @api_key = api_key || OxAiWorkers.configuration.access_token_openai
9
10
  super(uri_base:, api_key: @api_key, model: @model, max_tokens:, temperature:, frequency_penalty:)
10
11
  end
@@ -5,6 +5,7 @@ module OxAiWorkers
5
5
  class OpenaiMini < OpenaiMax
6
6
  def initialize(uri_base: nil, api_key: nil, model: nil, max_tokens: nil, temperature: nil, frequency_penalty: nil)
7
7
  @model = model || 'gpt-4.1-mini'
8
+ @temperature = temperature || 0.1
8
9
  super(uri_base:, api_key:, model: @model, max_tokens:, temperature:, frequency_penalty:)
9
10
  end
10
11
  end
@@ -5,6 +5,7 @@ module OxAiWorkers
5
5
  class OpenaiNano < OpenaiMax
6
6
  def initialize(uri_base: nil, api_key: nil, model: nil, max_tokens: nil, temperature: nil, frequency_penalty: nil)
7
7
  @model = model || 'gpt-4.1-nano'
8
+ @temperature = temperature || 0.1
8
9
  super(uri_base:, api_key:, model: @model, max_tokens:, temperature:, frequency_penalty:)
9
10
  end
10
11
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OxAiWorkers
4
- VERSION = '1.1.2.1'
4
+ VERSION = '1.1.2.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ox-ai-workers
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2.1
4
+ version: 1.1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denis Smolev