omniai-mistral 1.8.0 → 1.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/omniai/mistral/chat.rb +1 -1
- data/lib/omniai/mistral/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb5f5848e6da37687394fb93cea91e5aeae526b4c64966acffa4b501d76b8942
|
4
|
+
data.tar.gz: e49f65cc5cdf0ec56bd6dd849895ed65ca9483fc4935d316f549cc160786c476
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05ad9682c87336ed1cfd5be74a1d72559ffd1c04637c5868478d31aabe6105a610d0d9b0101e9ee9643331687d0042250be5c75fa6ffa0046d43cbca3543364e
|
7
|
+
data.tar.gz: 4a94d1ebe7f89403f3752242cbb175d8b8b08a4f6aeb910a4f71435aef4a956a2d869a86b86277da58da871b10a08eff2e510469c06c48cecbc9d64634c794d7
|
data/lib/omniai/mistral/chat.rb
CHANGED
@@ -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
|
42
|
+
tools: (@tools.map(&:serialize) if @tools&.any?),
|
43
43
|
}).compact
|
44
44
|
end
|
45
45
|
|
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.
|
4
|
+
version: 1.8.1
|
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-
|
11
|
+
date: 2024-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: event_stream_parser
|