omniai-mistral 1.8.0 → 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: ed42e145797e63aa3725225494e85cbf842e5ee7720e0b703ae5d129e63d6312
4
- data.tar.gz: a1169acf35660a06119ff591704ca6da9f94f25675dc97c2e5d26cb6060ddb71
3
+ metadata.gz: cbb9044c99a00399fd30962d980cb412e78e14240b3f241e33dd2aa21e36439d
4
+ data.tar.gz: c485961d5fa6ea77adb11777ad3e12c6f512b4ebcb8af2a977804c43492baeaa
5
5
  SHA512:
6
- metadata.gz: 04373ce5f992a56861931f2a1d1658d4e2e53b9f26706b1d32a19b25773c0a78659ba2f349723eb5e21bb099652874f84939146a227fe906de953b4014a4bcef
7
- data.tar.gz: 06b52cea6dd021cc9c7ffb2cac03eca346f78e81f54eff8d63b059bc9f6c6eba7eea45a3216ec4d7e42ad72dcf1f0b442dfc0cfc91cb3cf2590322acde55196d
6
+ metadata.gz: dde3fffa765d38cc5ef1850e3e4ae8df0ea6a7837842969485a6df807336ad9796f3c1f188c969c3f26edc7fa986b7c1ea5dfbd586f00a245b514810b2d235f5
7
+ data.tar.gz: 33eebb0bce7572d4455b23f128d371eb859fafb7926cbbf47c0ff178b9fc0b7268041d6557751b204d565427566ffb7f477e0591dac614abe5c31373416f7111
@@ -39,7 +39,7 @@ module OmniAI
39
39
  stream: @stream.nil? ? nil : !@stream.nil?,
40
40
  temperature: @temperature,
41
41
  response_format: (JSON_RESPONSE_FORMAT if @format.eql?(:json)),
42
- tools: @tools&.map(&:serialize),
42
+ tools: (@tools.map(&:serialize) if @tools&.any?),
43
43
  }).compact
44
44
  end
45
45
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OmniAI
4
4
  module Mistral
5
- VERSION = '1.8.0'
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-mistral
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
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-08-16 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
@@ -82,7 +82,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
82
82
  requirements:
83
83
  - - ">="
84
84
  - !ruby/object:Gem::Version
85
- version: 3.3.0
85
+ version: 3.2.0
86
86
  required_rubygems_version: !ruby/object:Gem::Requirement
87
87
  requirements:
88
88
  - - ">="