omniai-openai 1.8.3 → 1.8.4

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: a854e09772f9bbb85c5888f17118c935de8638c451e40f0e9991e48c334ee9eb
4
+ data.tar.gz: e83aa0301a4ace180898d86ddd1cddeccece1f9fca8da97316430ad2aebb5170
5
5
  SHA512:
6
- metadata.gz: 426395b6eefdce402f20992b2ed3e10b80de32aa756dd32975c035422eeba4c1d7d1fd47ebbf7f79bc98ea92b6b468d4dc16886f6e59cb0a23490f0adfd0af22
7
- data.tar.gz: 980902dfefe3a523d03c12f037ba3d5b92cdf894b12f7d42d94246879648d3ba6f32538a6f72ff1549882cbca78fbf7e5eb4ffe607948ce59e793206e3edb83b
6
+ metadata.gz: d63e04ffdd27bc4d362d15bd6415a8101a87f973f259b034617168a5e1196505198a59c812782e3d94087a54ebf434eb959f4afb06dbba9add6d40152674e58a
7
+ data.tar.gz: 971dfa467e7276b0eab4495f18f343884f8f5fd3894227e8ac4643f0860d2761b6c3d9938a58ca637d8544fbeb963710b0012b1b66c588d48baf7ee282b1324e
@@ -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.8.4'
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.8.4
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-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: event_stream_parser