omniai-google 2.9.1 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 53befa3f90375ed759432fee4b25e344bfc290b1a1be0246eff6ae701ab25808
4
- data.tar.gz: 4cc45ed2310062ec564e41261e1fa580ce5fedbdd450484ae738d19f62843a78
3
+ metadata.gz: 6d616cd2bc696ff9a62fa111e9ef4f6cac6a29e3222aa33dc76655108a57729c
4
+ data.tar.gz: 505b56a15f9210e7578b857bd77880d8750e88580e1ced2e84ffbced376a21bd
5
5
  SHA512:
6
- metadata.gz: 3b4727d30e9233707c79bd1b1c3ab5ffeb32141f3f91494579db7a92556bc94a616ab485cd74f0fb22313f5b0ca64b0f2d0f0dd7183610016803f8e1ad13a267
7
- data.tar.gz: 88adba9304718f862571db9f46d0173c6c7e2cb68231132cb9e1339a6b0225f85d7b90088d2632dd7ce68ba54f6876587ae83742229e6c6871d431bb0fb47197
6
+ metadata.gz: 27b0ab3f72c5d847a83271de976d68d211529faf0265b42d4f623623801c26b7556ecd4f39c42b9b9ee52fb96bd4a5a2bbeeafd4879a68cb767fbbd82340c31f
7
+ data.tar.gz: 2aec137aa4c67ca2e2a291ea597862bd66d7ecd89f457f58fa3c6b8193deae1cb26ae49915af50ae27f6bcc6d1a7cfe2418e3e76f159d0d66dd2adc626e51720
@@ -10,7 +10,12 @@ module OmniAI
10
10
  {
11
11
  name: tool.name,
12
12
  description: tool.description,
13
- parameters: tool.parameters.is_a?(OmniAI::Schema::Object) ? tool.parameters.serialize : tool.parameters,
13
+ parameters:
14
+ if tool.parameters.is_a?(OmniAI::Schema::Object)
15
+ tool.parameters.serialize(additional_properties: nil)
16
+ else
17
+ tool.parameters
18
+ end,
14
19
  }
15
20
  end
16
21
  end
@@ -121,7 +121,7 @@ module OmniAI
121
121
  when OmniAI::Schema::Format
122
122
  {
123
123
  responseMimeType: ResponseMimeType::SCHEMA,
124
- responseSchema: @format.schema.serialize,
124
+ responseSchema: @format.schema.serialize(additional_properties: nil),
125
125
  }
126
126
  else {}
127
127
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OmniAI
4
4
  module Google
5
- VERSION = "2.9.1"
5
+ VERSION = "3.0.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniai-google
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.9.1
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Sylvestre
@@ -57,14 +57,28 @@ dependencies:
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: '2.6'
60
+ version: '3.0'
61
61
  type: :runtime
62
62
  prerelease: false
63
63
  version_requirements: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: '2.6'
67
+ version: '3.0'
68
+ - !ruby/object:Gem::Dependency
69
+ name: openssl
70
+ requirement: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
75
+ type: :runtime
76
+ prerelease: false
77
+ version_requirements: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: '0'
68
82
  - !ruby/object:Gem::Dependency
69
83
  name: zeitwerk
70
84
  requirement: !ruby/object:Gem::Requirement
@@ -133,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
133
147
  - !ruby/object:Gem::Version
134
148
  version: '0'
135
149
  requirements: []
136
- rubygems_version: 3.6.9
150
+ rubygems_version: 3.7.2
137
151
  specification_version: 4
138
152
  summary: A generalized framework for interacting with Google
139
153
  test_files: []