ox-ai-workers 1.0.1.2 → 1.0.1.3
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/oxaiworkers/tool_definition.rb +1 -1
- data/lib/oxaiworkers/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 107bd44e6d758ec80e4f157297d1941db8e6f1e17aca6161d7016ef4edb180a3
|
4
|
+
data.tar.gz: d0809613168a33221214a43e06db9cc7d0f62c8d5471c0a4414cd57823b0aa0f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 044a2cbff6fa912c293ea812e44c4d86e86d1d41ab4e3a00fe70fbbc1dd702652c99ccac0c10c1a22e319c81f7f37085bc571adca5df61950441109cf6e8e67e
|
7
|
+
data.tar.gz: 25fccefd7c6cf172cf20f50f0984c3fc5f20afa6e8eb478bb0434325237aee09bd9df72e437070272d8e8affd5946b7613ef96eb34f5943d689359bd0dd80177
|
@@ -246,7 +246,7 @@ module OxAiWorkers
|
|
246
246
|
raise ArgumentError, "Invalid name '#{name}'. Name must be a symbol" unless name.is_a?(Symbol)
|
247
247
|
end
|
248
248
|
|
249
|
-
unless VALID_TYPES.include?(type)
|
249
|
+
unless VALID_TYPES.include?(type) || type.is_a?(Array)
|
250
250
|
raise ArgumentError, "Invalid type '#{type}'. Valid types are: #{VALID_TYPES.join(', ')}"
|
251
251
|
end
|
252
252
|
|
data/lib/oxaiworkers/version.rb
CHANGED