omniai-google 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 07e400994624881af7790d3a209eb28030237a4684d319edc11ebb8dc7052f2c
4
- data.tar.gz: e9ea6d986267343627c9cc8d061aaea673f4cbaba35a6fffdd113e49fe674278
3
+ metadata.gz: 7c10ff758ef3b97bfda6e7777bbdb07f70f4d48eec2ed83a16d40ff218c1ad0c
4
+ data.tar.gz: 530abe5f05bb1a00531ce5e9688622d4b2ffcdba648f91828051d401e251c696
5
5
  SHA512:
6
- metadata.gz: cc5d0209e6024d8860f8aa619e8bdc76469863f314d66810d5b525674c417d4a79d57f5ad0ac404401214cf29e7606ee8a2669026609780f563a173351048b5a
7
- data.tar.gz: c0958efb3190c4df770d49862fdf3370584c4533dc8925350fb194490f3da5cefd5de58c7e47fda14bf76803575e438505fdaf13d00f6693e363c6cc2ed42ef7
6
+ metadata.gz: 84fa7dcd0046e15f573dd93ed96e85a69e432e01ec7114eda1b02e7c38769e2a508fa82d1ec7b869c5517f7caee5f79a10e290597b71b819eb24b63c73e801b1
7
+ data.tar.gz: 11367206b9ad7392ef6184691168a9a57bbad972aca66427a8ae69a25386c5283b42d76490000a90fadd9b5de8370d213fde3f9bc88185018dba500b6fef598f
@@ -10,7 +10,7 @@ module OmniAI
10
10
  {
11
11
  name: tool.name,
12
12
  description: tool.description,
13
- parameters: tool.parameters&.prepare,
13
+ parameters: tool.parameters.is_a?(Tool::Parameters) ? tool.parameters.serialize : tool.parameters,
14
14
  }
15
15
  end
16
16
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OmniAI
4
4
  module Google
5
- VERSION = '1.8.0'
5
+ VERSION = '1.8.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniai-google
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
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-16 00:00:00.000000000 Z
11
+ date: 2024-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: event_stream_parser