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 +4 -4
- data/lib/omniai/google/chat/tool_serializer.rb +6 -1
- data/lib/omniai/google/chat.rb +1 -1
- data/lib/omniai/google/version.rb +1 -1
- metadata +18 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6d616cd2bc696ff9a62fa111e9ef4f6cac6a29e3222aa33dc76655108a57729c
|
|
4
|
+
data.tar.gz: 505b56a15f9210e7578b857bd77880d8750e88580e1ced2e84ffbced376a21bd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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:
|
|
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
|
data/lib/omniai/google/chat.rb
CHANGED
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:
|
|
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: '
|
|
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: '
|
|
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.
|
|
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: []
|