omniai-openai 1.8.3 → 1.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bd5c0c0055668349c161b1bcc599bf4c3f581dcdf25ec5c4c15084d2125686e3
4
- data.tar.gz: 6402cb51f542d42fd567e4ee2d9b07ad5527e6d0c47f82ab2cfe608ea113341f
3
+ metadata.gz: 2ba86815533bd47133653e30293a27d697800e9501947c0f9c785f271da171ef
4
+ data.tar.gz: 6335b788a4429d56cb829593ee9f634b920a270084210ce94d49492f84dc3977
5
5
  SHA512:
6
- metadata.gz: 426395b6eefdce402f20992b2ed3e10b80de32aa756dd32975c035422eeba4c1d7d1fd47ebbf7f79bc98ea92b6b468d4dc16886f6e59cb0a23490f0adfd0af22
7
- data.tar.gz: 980902dfefe3a523d03c12f037ba3d5b92cdf894b12f7d42d94246879648d3ba6f32538a6f72ff1549882cbca78fbf7e5eb4ffe607948ce59e793206e3edb83b
6
+ metadata.gz: d282ee9a0f4ee1f40588e71d1df99f5d73d12bab2e7f60926b0121367443e0a0b16bd68fc234ee549132649262ded56dff3a6feaf945749c2e98ef07c6d6d11d
7
+ data.tar.gz: d56adc39603b025aa8f009aeb3b23785d17221986ab35e862f8378553f6e3c3676a76c2417140c972992dad48ee74026b72415db0b274845fcc433b64e3efb36
@@ -22,6 +22,7 @@ module OmniAI
22
22
  GPT_3_5_TURBO = 'gpt-3.5-turbo'
23
23
  O1_MINI = 'o1-mini'
24
24
  O1_PREVIEW = 'o1-preview'
25
+ O1 = O1_PREVIEW
25
26
  end
26
27
 
27
28
  DEFAULT_MODEL = Model::GPT_4O
@@ -53,7 +53,7 @@ module OmniAI
53
53
  @project = project
54
54
 
55
55
  @api_prefix = api_prefix
56
- return if @api_prefix.empty? || @api_prefix.start_with('/')
56
+ return if @api_prefix.empty? || @api_prefix.start_with?('/')
57
57
 
58
58
  @api_prefix.prepend('/')
59
59
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OmniAI
4
4
  module OpenAI
5
- VERSION = '1.8.3'
5
+ VERSION = '1.9.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniai-openai
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.3
4
+ version: 1.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Sylvestre
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-10-10 00:00:00.000000000 Z
11
+ date: 2024-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: event_stream_parser
@@ -99,7 +99,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
99
99
  requirements:
100
100
  - - ">="
101
101
  - !ruby/object:Gem::Version
102
- version: 3.3.0
102
+ version: 3.2.0
103
103
  required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  requirements:
105
105
  - - ">="