vellum-ai 0.0.30__tar.gz → 0.0.31__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/PKG-INFO +1 -1
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/pyproject.toml +1 -1
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/client.py +8 -4
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/core/client_wrapper.py +5 -1
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/terminal_node_chat_history_result.py +1 -1
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/terminal_node_json_result.py +1 -1
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/terminal_node_string_result.py +1 -1
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/README.md +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/__init__.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/core/__init__.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/core/api_error.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/core/datetime_utils.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/core/jsonable_encoder.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/core/remove_none_from_dict.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/environment.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/errors/__init__.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/errors/bad_request_error.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/errors/conflict_error.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/errors/forbidden_error.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/errors/internal_server_error.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/errors/not_found_error.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/py.typed +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/resources/__init__.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/resources/deployments/__init__.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/resources/deployments/client.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/resources/document_indexes/__init__.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/resources/document_indexes/client.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/resources/documents/__init__.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/resources/documents/client.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/resources/model_versions/__init__.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/resources/model_versions/client.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/resources/registered_prompts/__init__.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/resources/registered_prompts/client.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/resources/sandboxes/__init__.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/resources/sandboxes/client.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/resources/test_suites/__init__.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/resources/test_suites/client.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/__init__.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/block_type_enum.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/chat_message.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/chat_message_request.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/chat_message_role.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/conditional_node_result.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/conditional_node_result_data.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/content_type.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/deployment_node_result.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/deployment_node_result_data.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/deployment_read.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/deployment_status.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/document.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/document_document_to_document_index.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/document_index_read.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/document_index_status.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/document_read.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/document_status.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/enriched_normalized_completion.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/environment_enum.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/evaluation_params.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/evaluation_params_request.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/execute_workflow_stream_error_response.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/finish_reason_enum.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/generate_error_response.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/generate_options_request.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/generate_request.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/generate_response.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/generate_result.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/generate_result_data.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/generate_result_error.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/generate_stream_response.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/generate_stream_result.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/generate_stream_result_data.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/indexing_state_enum.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/input_variable.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/input_variable_type.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/logprobs_enum.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/metadata_filter_config_request.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/metadata_filter_rule_combinator.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/metadata_filter_rule_request.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/model_type_enum.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/model_version_build_config.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/model_version_compile_prompt_response.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/model_version_compiled_prompt.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/model_version_exec_config.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/model_version_exec_config_parameters.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/model_version_read.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/model_version_read_status_enum.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/model_version_sandbox_snapshot.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/normalized_log_probs.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/normalized_token_log_probs.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/paginated_slim_document_list.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/processing_failure_reason_enum.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/processing_state_enum.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/prompt_node_result.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/prompt_node_result_data.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/prompt_template_block.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/prompt_template_block_data.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/prompt_template_block_data_request.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/prompt_template_block_properties.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/prompt_template_block_properties_request.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/prompt_template_block_request.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/provider_enum.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/register_prompt_error_response.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/register_prompt_model_parameters_request.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/register_prompt_prompt.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/register_prompt_prompt_info_request.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/register_prompt_response.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/registered_prompt_deployment.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/registered_prompt_input_variable_request.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/registered_prompt_model_version.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/registered_prompt_sandbox.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/registered_prompt_sandbox_snapshot.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/sandbox_metric_input_params.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/sandbox_metric_input_params_request.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/sandbox_node_result.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/sandbox_node_result_data.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/sandbox_scenario.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/scenario_input.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/scenario_input_request.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/scenario_input_type_enum.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/search_error_response.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/search_filters_request.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/search_node_result.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/search_node_result_data.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/search_request_options_request.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/search_response.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/search_result.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/search_result_merging_request.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/search_weights_request.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/slim_document.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/submit_completion_actual_request.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/submit_completion_actuals_error_response.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/terminal_node_result.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/terminal_node_result_data.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/terminal_node_result_output.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/test_suite_test_case.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/upload_document_error_response.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/upload_document_response.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/workflow_event_error.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/workflow_execution_event_error_code.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/workflow_execution_event_type.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/workflow_execution_node_result_event.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/workflow_execution_workflow_result_event.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/workflow_node_result_data.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/workflow_node_result_event.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/workflow_node_result_event_state.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/workflow_request_chat_history_input_request.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/workflow_request_input_request.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/workflow_request_json_input_request.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/workflow_request_string_input_request.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/workflow_result_event.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/workflow_result_event_output_data.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/workflow_result_event_output_data_chat_history.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/workflow_result_event_output_data_json.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/workflow_result_event_output_data_string.py +0 -0
- {vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/workflow_stream_event.py +0 -0
@@ -109,12 +109,14 @@ class Vellum:
|
|
109
109
|
continue
|
110
110
|
yield pydantic.parse_obj_as(WorkflowStreamEvent, json.loads(_text)) # type: ignore
|
111
111
|
return
|
112
|
+
_response.read()
|
113
|
+
if _response.status_code == 400:
|
114
|
+
raise BadRequestError(pydantic.parse_obj_as(typing.Any, _response.json())) # type: ignore
|
112
115
|
if _response.status_code == 404:
|
113
116
|
raise NotFoundError(pydantic.parse_obj_as(typing.Any, _response.json())) # type: ignore
|
114
117
|
if _response.status_code == 500:
|
115
118
|
raise InternalServerError(pydantic.parse_obj_as(typing.Any, _response.json())) # type: ignore
|
116
119
|
try:
|
117
|
-
_response.read()
|
118
120
|
_response_json = _response.json()
|
119
121
|
except JSONDecodeError:
|
120
122
|
raise ApiError(status_code=_response.status_code, body=_response.text)
|
@@ -218,6 +220,7 @@ class Vellum:
|
|
218
220
|
continue
|
219
221
|
yield pydantic.parse_obj_as(GenerateStreamResponse, json.loads(_text)) # type: ignore
|
220
222
|
return
|
223
|
+
_response.read()
|
221
224
|
if _response.status_code == 400:
|
222
225
|
raise BadRequestError(pydantic.parse_obj_as(typing.Any, _response.json())) # type: ignore
|
223
226
|
if _response.status_code == 403:
|
@@ -227,7 +230,6 @@ class Vellum:
|
|
227
230
|
if _response.status_code == 500:
|
228
231
|
raise InternalServerError(pydantic.parse_obj_as(typing.Any, _response.json())) # type: ignore
|
229
232
|
try:
|
230
|
-
_response.read()
|
231
233
|
_response_json = _response.json()
|
232
234
|
except JSONDecodeError:
|
233
235
|
raise ApiError(status_code=_response.status_code, body=_response.text)
|
@@ -405,12 +407,14 @@ class AsyncVellum:
|
|
405
407
|
continue
|
406
408
|
yield pydantic.parse_obj_as(WorkflowStreamEvent, json.loads(_text)) # type: ignore
|
407
409
|
return
|
410
|
+
await _response.aread()
|
411
|
+
if _response.status_code == 400:
|
412
|
+
raise BadRequestError(pydantic.parse_obj_as(typing.Any, _response.json())) # type: ignore
|
408
413
|
if _response.status_code == 404:
|
409
414
|
raise NotFoundError(pydantic.parse_obj_as(typing.Any, _response.json())) # type: ignore
|
410
415
|
if _response.status_code == 500:
|
411
416
|
raise InternalServerError(pydantic.parse_obj_as(typing.Any, _response.json())) # type: ignore
|
412
417
|
try:
|
413
|
-
await _response.aread()
|
414
418
|
_response_json = _response.json()
|
415
419
|
except JSONDecodeError:
|
416
420
|
raise ApiError(status_code=_response.status_code, body=_response.text)
|
@@ -514,6 +518,7 @@ class AsyncVellum:
|
|
514
518
|
continue
|
515
519
|
yield pydantic.parse_obj_as(GenerateStreamResponse, json.loads(_text)) # type: ignore
|
516
520
|
return
|
521
|
+
await _response.aread()
|
517
522
|
if _response.status_code == 400:
|
518
523
|
raise BadRequestError(pydantic.parse_obj_as(typing.Any, _response.json())) # type: ignore
|
519
524
|
if _response.status_code == 403:
|
@@ -523,7 +528,6 @@ class AsyncVellum:
|
|
523
528
|
if _response.status_code == 500:
|
524
529
|
raise InternalServerError(pydantic.parse_obj_as(typing.Any, _response.json())) # type: ignore
|
525
530
|
try:
|
526
|
-
await _response.aread()
|
527
531
|
_response_json = _response.json()
|
528
532
|
except JSONDecodeError:
|
529
533
|
raise ApiError(status_code=_response.status_code, body=_response.text)
|
@@ -10,7 +10,11 @@ class BaseClientWrapper:
|
|
10
10
|
self.api_key = api_key
|
11
11
|
|
12
12
|
def get_headers(self) -> typing.Dict[str, str]:
|
13
|
-
headers: typing.Dict[str, str] = {
|
13
|
+
headers: typing.Dict[str, str] = {
|
14
|
+
"X-Fern-Language": "Python",
|
15
|
+
"X-Fern-SDK-Name": "vellum-ai",
|
16
|
+
"X-Fern-SDK-Version": "v0.0.31",
|
17
|
+
}
|
14
18
|
headers["X_API_KEY"] = self.api_key
|
15
19
|
return headers
|
16
20
|
|
@@ -11,7 +11,7 @@ from .chat_message import ChatMessage
|
|
11
11
|
|
12
12
|
class TerminalNodeChatHistoryResult(pydantic.BaseModel):
|
13
13
|
name: str = pydantic.Field(description="The unique name given to the terminal node that produced this output.")
|
14
|
-
value: typing.List[ChatMessage]
|
14
|
+
value: typing.Optional[typing.List[ChatMessage]]
|
15
15
|
|
16
16
|
def json(self, **kwargs: typing.Any) -> str:
|
17
17
|
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
|
@@ -10,7 +10,7 @@ from ..core.datetime_utils import serialize_datetime
|
|
10
10
|
|
11
11
|
class TerminalNodeJsonResult(pydantic.BaseModel):
|
12
12
|
name: str = pydantic.Field(description="The unique name given to the terminal node that produced this output.")
|
13
|
-
value: typing.Dict[str, typing.Any]
|
13
|
+
value: typing.Optional[typing.Dict[str, typing.Any]]
|
14
14
|
|
15
15
|
def json(self, **kwargs: typing.Any) -> str:
|
16
16
|
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
|
@@ -10,7 +10,7 @@ from ..core.datetime_utils import serialize_datetime
|
|
10
10
|
|
11
11
|
class TerminalNodeStringResult(pydantic.BaseModel):
|
12
12
|
name: str = pydantic.Field(description="The unique name given to the terminal node that produced this output.")
|
13
|
-
value: str
|
13
|
+
value: typing.Optional[str]
|
14
14
|
|
15
15
|
def json(self, **kwargs: typing.Any) -> str:
|
16
16
|
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/document_document_to_document_index.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/execute_workflow_stream_error_response.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/model_version_compile_prompt_response.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/model_version_exec_config_parameters.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/prompt_template_block_data_request.py
RENAMED
File without changes
|
File without changes
|
{vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/prompt_template_block_properties_request.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/register_prompt_model_parameters_request.py
RENAMED
File without changes
|
File without changes
|
{vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/register_prompt_prompt_info_request.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/registered_prompt_input_variable_request.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/registered_prompt_sandbox_snapshot.py
RENAMED
File without changes
|
File without changes
|
{vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/sandbox_metric_input_params_request.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/submit_completion_actuals_error_response.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/workflow_execution_event_error_code.py
RENAMED
File without changes
|
File without changes
|
{vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/workflow_execution_node_result_event.py
RENAMED
File without changes
|
{vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/workflow_execution_workflow_result_event.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/workflow_request_json_input_request.py
RENAMED
File without changes
|
{vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/workflow_request_string_input_request.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/workflow_result_event_output_data_json.py
RENAMED
File without changes
|
{vellum_ai-0.0.30 → vellum_ai-0.0.31}/src/vellum/types/workflow_result_event_output_data_string.py
RENAMED
File without changes
|
File without changes
|