vellum_ai 1.10.8 → 1.10.9
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 130a7100771ff919699318c13d6b0fb1a63b3cced17536a55273f25b21415274
|
|
4
|
+
data.tar.gz: 77450c38111fd477491f7cb3437aa6e4d280a3d5fb1b2495ff8c1bd2a64dd29d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b9ef0aada48fa7e131b0f36f096efd78a6a611686d46fa00174022e0154a7d27d7da50d13a18d95291ab3188835e15bf71bfbcada497820be29d35fd61f5252b
|
|
7
|
+
data.tar.gz: 1d69346feb2071466bd3c7539f0f74235de94a20e1dcf7a0df86c354c164e0de20584336a0e2fcc694860e627ea0aa4d793539bee615309348e56648ac7bd3f6
|
data/lib/requests.rb
CHANGED
|
@@ -56,7 +56,7 @@ end
|
|
|
56
56
|
end
|
|
57
57
|
# @return [Hash{String => String}]
|
|
58
58
|
def get_headers
|
|
59
|
-
headers = { "X-Fern-Language": 'Ruby', "X-Fern-SDK-Name": 'vellum_ai', "X-Fern-SDK-Version": '1.10.
|
|
59
|
+
headers = { "X-Fern-Language": 'Ruby', "X-Fern-SDK-Name": 'vellum_ai', "X-Fern-SDK-Version": '1.10.9' }
|
|
60
60
|
headers["X-API-KEY"] = ((@api_key.is_a? Method) ? @api_key.call : @api_key) unless @api_key.nil?
|
|
61
61
|
headers
|
|
62
62
|
end
|
|
@@ -107,7 +107,7 @@ end
|
|
|
107
107
|
end
|
|
108
108
|
# @return [Hash{String => String}]
|
|
109
109
|
def get_headers
|
|
110
|
-
headers = { "X-Fern-Language": 'Ruby', "X-Fern-SDK-Name": 'vellum_ai', "X-Fern-SDK-Version": '1.10.
|
|
110
|
+
headers = { "X-Fern-Language": 'Ruby', "X-Fern-SDK-Name": 'vellum_ai', "X-Fern-SDK-Version": '1.10.9' }
|
|
111
111
|
headers["X-API-KEY"] = ((@api_key.is_a? Method) ? @api_key.call : @api_key) unless @api_key.nil?
|
|
112
112
|
headers
|
|
113
113
|
end
|
data/lib/types_export.rb
CHANGED
|
@@ -704,6 +704,7 @@ require_relative "vellum_ai/types/workflow_result_event_output_data_array"
|
|
|
704
704
|
require_relative "vellum_ai/types/workflow_result_event_output_data_function_call"
|
|
705
705
|
require_relative "vellum_ai/types/workflow_result_event_output_data_error"
|
|
706
706
|
require_relative "vellum_ai/types/workflow_result_event_output_data"
|
|
707
|
+
require_relative "vellum_ai/types/workflow_result_event_state"
|
|
707
708
|
require_relative "vellum_ai/types/workflow_sandbox_display_data"
|
|
708
709
|
require_relative "vellum_ai/types/workflow_sandbox_example"
|
|
709
710
|
require_relative "vellum_ai/types/workflow_stream_event"
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
module Vellum
|
|
4
|
-
# * `INITIATED` -
|
|
5
|
-
# * `STREAMING` -
|
|
6
|
-
# * `FULFILLED` -
|
|
7
|
-
# * `REJECTED` -
|
|
4
|
+
# * `INITIATED` - INITIATED
|
|
5
|
+
# * `STREAMING` - STREAMING
|
|
6
|
+
# * `FULFILLED` - FULFILLED
|
|
7
|
+
# * `REJECTED` - REJECTED
|
|
8
8
|
class WorkflowNodeResultEventState
|
|
9
9
|
|
|
10
10
|
INITIATED = "INITIATED"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
|
-
require_relative "
|
|
2
|
+
require_relative "workflow_result_event_state"
|
|
3
3
|
require "date"
|
|
4
4
|
require_relative "workflow_result_event_output_data"
|
|
5
5
|
require_relative "workflow_event_error"
|
|
@@ -12,7 +12,7 @@ module Vellum
|
|
|
12
12
|
class WorkflowResultEvent
|
|
13
13
|
# @return [String]
|
|
14
14
|
attr_reader :id
|
|
15
|
-
# @return [Vellum::
|
|
15
|
+
# @return [Vellum::WorkflowResultEventState]
|
|
16
16
|
attr_reader :state
|
|
17
17
|
# @return [DateTime]
|
|
18
18
|
attr_reader :ts
|
|
@@ -33,7 +33,7 @@ module Vellum
|
|
|
33
33
|
OMIT = Object.new
|
|
34
34
|
|
|
35
35
|
# @param id [String]
|
|
36
|
-
# @param state [Vellum::
|
|
36
|
+
# @param state [Vellum::WorkflowResultEventState]
|
|
37
37
|
# @param ts [DateTime]
|
|
38
38
|
# @param output [Vellum::WorkflowResultEventOutputData]
|
|
39
39
|
# @param error [Vellum::WorkflowEventError]
|
|
@@ -113,7 +113,7 @@ end
|
|
|
113
113
|
# @return [Void]
|
|
114
114
|
def self.validate_raw(obj:)
|
|
115
115
|
obj.id.is_a?(String) != false || raise("Passed value for field obj.id is not the expected type, validation failed.")
|
|
116
|
-
obj.state.is_a?(Vellum::
|
|
116
|
+
obj.state.is_a?(Vellum::WorkflowResultEventState) != false || raise("Passed value for field obj.state is not the expected type, validation failed.")
|
|
117
117
|
obj.ts.is_a?(DateTime) != false || raise("Passed value for field obj.ts is not the expected type, validation failed.")
|
|
118
118
|
obj.output.nil? || Vellum::WorkflowResultEventOutputData.validate_raw(obj: obj.output)
|
|
119
119
|
obj.error.nil? || Vellum::WorkflowEventError.validate_raw(obj: obj.error)
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Vellum
|
|
4
|
+
# * `INITIATED` - Initiated
|
|
5
|
+
# * `STREAMING` - Streaming
|
|
6
|
+
# * `FULFILLED` - Fulfilled
|
|
7
|
+
# * `REJECTED` - Rejected
|
|
8
|
+
# * `PENDING` - Pending
|
|
9
|
+
class WorkflowResultEventState
|
|
10
|
+
|
|
11
|
+
INITIATED = "INITIATED"
|
|
12
|
+
STREAMING = "STREAMING"
|
|
13
|
+
FULFILLED = "FULFILLED"
|
|
14
|
+
REJECTED = "REJECTED"
|
|
15
|
+
PENDING = "PENDING"
|
|
16
|
+
|
|
17
|
+
end
|
|
18
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vellum_ai
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.10.
|
|
4
|
+
version: 1.10.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Vellum
|
|
@@ -856,6 +856,7 @@ files:
|
|
|
856
856
|
- lib/vellum_ai/types/workflow_result_event_output_data_number.rb
|
|
857
857
|
- lib/vellum_ai/types/workflow_result_event_output_data_search_results.rb
|
|
858
858
|
- lib/vellum_ai/types/workflow_result_event_output_data_string.rb
|
|
859
|
+
- lib/vellum_ai/types/workflow_result_event_state.rb
|
|
859
860
|
- lib/vellum_ai/types/workflow_sandbox_display_data.rb
|
|
860
861
|
- lib/vellum_ai/types/workflow_sandbox_example.rb
|
|
861
862
|
- lib/vellum_ai/types/workflow_sandbox_parent_context.rb
|