letta-client 0.0.1285__py3-none-any.whl
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.
- letta_client/__init__.py +1000 -0
- letta_client/agents/__init__.py +358 -0
- letta_client/agents/archival_memory/__init__.py +2 -0
- letta_client/agents/archival_memory/client.py +466 -0
- letta_client/agents/client.py +1598 -0
- letta_client/agents/context/__init__.py +2 -0
- letta_client/agents/context/client.py +147 -0
- letta_client/agents/core_memory/__init__.py +2 -0
- letta_client/agents/core_memory/client.py +878 -0
- letta_client/agents/memory_variables/__init__.py +5 -0
- letta_client/agents/memory_variables/client.py +150 -0
- letta_client/agents/memory_variables/types/__init__.py +5 -0
- letta_client/agents/memory_variables/types/memory_variables_list_response.py +19 -0
- letta_client/agents/messages/__init__.py +5 -0
- letta_client/agents/messages/client.py +1061 -0
- letta_client/agents/messages/types/__init__.py +6 -0
- letta_client/agents/messages/types/letta_streaming_response.py +20 -0
- letta_client/agents/messages/types/message_update_content.py +6 -0
- letta_client/agents/sources/__init__.py +2 -0
- letta_client/agents/sources/client.py +406 -0
- letta_client/agents/templates/__init__.py +5 -0
- letta_client/agents/templates/client.py +573 -0
- letta_client/agents/templates/types/__init__.py +6 -0
- letta_client/agents/templates/types/templates_create_response.py +22 -0
- letta_client/agents/templates/types/templates_migrate_response.py +19 -0
- letta_client/agents/tools/__init__.py +2 -0
- letta_client/agents/tools/client.py +406 -0
- letta_client/agents/types/__init__.py +565 -0
- letta_client/agents/types/agents_search_request_search_item.py +10 -0
- letta_client/agents/types/agents_search_request_search_item_field.py +21 -0
- letta_client/agents/types/agents_search_request_search_item_one.py +22 -0
- letta_client/agents/types/agents_search_request_search_item_one_operator.py +5 -0
- letta_client/agents/types/agents_search_request_search_item_zero.py +20 -0
- letta_client/agents/types/agents_search_response.py +23 -0
- letta_client/agents/types/agents_search_response_agents_item.py +63 -0
- letta_client/agents/types/agents_search_response_agents_item_agent_type.py +7 -0
- letta_client/agents/types/agents_search_response_agents_item_base_template_id.py +11 -0
- letta_client/agents/types/agents_search_response_agents_item_base_template_id_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_created_at.py +11 -0
- letta_client/agents/types/agents_search_response_agents_item_created_at_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_created_by_id.py +11 -0
- letta_client/agents/types/agents_search_response_agents_item_created_by_id_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_description.py +11 -0
- letta_client/agents/types/agents_search_response_agents_item_description_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_embedding_config.py +48 -0
- letta_client/agents/types/agents_search_response_agents_item_embedding_config_azure_deployment.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_embedding_config_azure_deployment_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_embedding_config_azure_endpoint.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_embedding_config_azure_endpoint_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_embedding_config_azure_version.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_embedding_config_azure_version_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_embedding_config_embedding_chunk_size.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_embedding_config_embedding_chunk_size_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_embedding_config_embedding_endpoint.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_embedding_config_embedding_endpoint_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_embedding_config_embedding_endpoint_type.py +27 -0
- letta_client/agents/types/agents_search_response_agents_item_embedding_config_handle.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_embedding_config_handle_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_last_updated_by_id.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_last_updated_by_id_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_llm_config.py +46 -0
- letta_client/agents/types/agents_search_response_agents_item_llm_config_handle.py +11 -0
- letta_client/agents/types/agents_search_response_agents_item_llm_config_handle_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_llm_config_max_tokens.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_llm_config_max_tokens_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_llm_config_model_endpoint.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_llm_config_model_endpoint_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_llm_config_model_endpoint_type.py +27 -0
- letta_client/agents/types/agents_search_response_agents_item_llm_config_model_wrapper.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_llm_config_model_wrapper_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_llm_config_put_inner_thoughts_in_kwargs.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_llm_config_put_inner_thoughts_in_kwargs_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_llm_config_temperature.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_memory.py +24 -0
- letta_client/agents/types/agents_search_response_agents_item_memory_blocks_item.py +57 -0
- letta_client/agents/types/agents_search_response_agents_item_memory_blocks_item_created_by_id.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_memory_blocks_item_created_by_id_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_memory_blocks_item_description.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_memory_blocks_item_description_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_memory_blocks_item_id.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_memory_blocks_item_is_template.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_memory_blocks_item_label.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_memory_blocks_item_label_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_memory_blocks_item_last_updated_by_id.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_memory_blocks_item_last_updated_by_id_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_memory_blocks_item_limit.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_memory_blocks_item_metadata.py +12 -0
- letta_client/agents/types/agents_search_response_agents_item_memory_blocks_item_metadata_item.py +7 -0
- letta_client/agents/types/agents_search_response_agents_item_memory_blocks_item_name.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_memory_blocks_item_name_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_memory_blocks_item_organization_id.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_memory_blocks_item_organization_id_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_memory_prompt_template.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_message_ids.py +11 -0
- letta_client/agents/types/agents_search_response_agents_item_message_ids_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_metadata.py +10 -0
- letta_client/agents/types/agents_search_response_agents_item_metadata_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_organization_id.py +11 -0
- letta_client/agents/types/agents_search_response_agents_item_organization_id_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_project_id.py +11 -0
- letta_client/agents/types/agents_search_response_agents_item_project_id_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item.py +51 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_created_at.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_created_at_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_created_by_id.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_created_by_id_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_description.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_description_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_embedding_config.py +52 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_embedding_config_azure_deployment.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_embedding_config_azure_deployment_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_embedding_config_azure_endpoint.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_embedding_config_azure_endpoint_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_embedding_config_azure_version.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_embedding_config_azure_version_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_embedding_config_embedding_chunk_size.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_embedding_config_embedding_chunk_size_item.py +7 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_embedding_config_embedding_endpoint.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_embedding_config_embedding_endpoint_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_embedding_config_embedding_endpoint_type.py +27 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_embedding_config_handle.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_embedding_config_handle_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_id.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_last_updated_by_id.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_last_updated_by_id_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_metadata.py +12 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_metadata_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_organization_id.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_organization_id_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_updated_at.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_updated_at_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_template_id.py +11 -0
- letta_client/agents/types/agents_search_response_agents_item_template_id_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_exec_environment_variables.py +10 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_exec_environment_variables_item.py +53 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_exec_environment_variables_item_created_at.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_exec_environment_variables_item_created_at_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_exec_environment_variables_item_created_by_id.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_exec_environment_variables_item_created_by_id_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_exec_environment_variables_item_description.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_exec_environment_variables_item_description_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_exec_environment_variables_item_id.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_exec_environment_variables_item_last_updated_by_id.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_exec_environment_variables_item_last_updated_by_id_item.py +7 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_exec_environment_variables_item_organization_id.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_exec_environment_variables_item_organization_id_item.py +7 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_exec_environment_variables_item_updated_at.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_exec_environment_variables_item_updated_at_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules.py +11 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item.py +8 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_child_output_mapping.py +34 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_child_output_mapping_default_child.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_child_output_mapping_default_child_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_child_output_mapping_require_output_mapping.py +7 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_child_output_mapping_type.py +7 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_children.py +24 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_children_type.py +7 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_item.py +22 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_item_child_output_mapping.py +34 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_item_child_output_mapping_default_child.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_item_child_output_mapping_default_child_item.py +7 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_item_child_output_mapping_require_output_mapping.py +7 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_item_child_output_mapping_type.py +7 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_item_children.py +24 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_item_children_type.py +7 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_item_one.py +23 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_item_one_type.py +7 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_item_two.py +23 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_item_two_type.py +7 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_one.py +23 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_one_type.py +7 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_two.py +23 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_two_type.py +7 -0
- letta_client/agents/types/agents_search_response_agents_item_tools_item.py +47 -0
- letta_client/agents/types/agents_search_response_agents_item_tools_item_created_by_id.py +10 -0
- letta_client/agents/types/agents_search_response_agents_item_tools_item_created_by_id_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_tools_item_description.py +10 -0
- letta_client/agents/types/agents_search_response_agents_item_tools_item_description_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_tools_item_json_schema.py +12 -0
- letta_client/agents/types/agents_search_response_agents_item_tools_item_json_schema_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_tools_item_last_updated_by_id.py +10 -0
- letta_client/agents/types/agents_search_response_agents_item_tools_item_last_updated_by_id_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_tools_item_name.py +8 -0
- letta_client/agents/types/agents_search_response_agents_item_tools_item_name_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_tools_item_organization_id.py +10 -0
- letta_client/agents/types/agents_search_response_agents_item_tools_item_organization_id_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_tools_item_source_code.py +10 -0
- letta_client/agents/types/agents_search_response_agents_item_tools_item_source_code_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_tools_item_source_type.py +10 -0
- letta_client/agents/types/agents_search_response_agents_item_tools_item_source_type_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_tools_item_tool_type.py +10 -0
- letta_client/agents/types/agents_search_response_agents_item_updated_at.py +11 -0
- letta_client/agents/types/agents_search_response_agents_item_updated_at_item.py +5 -0
- letta_client/agents/types/create_agent_request_tool_rules_item.py +9 -0
- letta_client/agents/types/update_agent_tool_rules_item.py +9 -0
- letta_client/base_client.py +184 -0
- letta_client/blocks/__init__.py +2 -0
- letta_client/blocks/client.py +933 -0
- letta_client/client.py +76 -0
- letta_client/core/__init__.py +51 -0
- letta_client/core/api_error.py +15 -0
- letta_client/core/client_wrapper.py +65 -0
- letta_client/core/datetime_utils.py +28 -0
- letta_client/core/file.py +67 -0
- letta_client/core/http_client.py +499 -0
- letta_client/core/jsonable_encoder.py +101 -0
- letta_client/core/pydantic_utilities.py +296 -0
- letta_client/core/query_encoder.py +58 -0
- letta_client/core/remove_none_from_dict.py +11 -0
- letta_client/core/request_options.py +35 -0
- letta_client/core/serialization.py +272 -0
- letta_client/core/unchecked_base_model.py +305 -0
- letta_client/environment.py +8 -0
- letta_client/errors/__init__.py +8 -0
- letta_client/errors/conflict_error.py +9 -0
- letta_client/errors/internal_server_error.py +9 -0
- letta_client/errors/not_found_error.py +9 -0
- letta_client/errors/unprocessable_entity_error.py +9 -0
- letta_client/health/__init__.py +2 -0
- letta_client/health/client.py +108 -0
- letta_client/jobs/__init__.py +2 -0
- letta_client/jobs/client.py +503 -0
- letta_client/models/__init__.py +2 -0
- letta_client/models/client.py +201 -0
- letta_client/providers/__init__.py +2 -0
- letta_client/providers/client.py +597 -0
- letta_client/py.typed +0 -0
- letta_client/runs/__init__.py +2 -0
- letta_client/runs/client.py +824 -0
- letta_client/sources/__init__.py +5 -0
- letta_client/sources/client.py +878 -0
- letta_client/sources/files/__init__.py +2 -0
- letta_client/sources/files/client.py +436 -0
- letta_client/sources/passages/__init__.py +2 -0
- letta_client/sources/passages/client.py +145 -0
- letta_client/steps/__init__.py +2 -0
- letta_client/steps/client.py +339 -0
- letta_client/tag/__init__.py +2 -0
- letta_client/tag/client.py +169 -0
- letta_client/templates/__init__.py +327 -0
- letta_client/templates/client.py +198 -0
- letta_client/templates/types/__init__.py +643 -0
- letta_client/templates/types/templates_create_agents_from_template_response.py +22 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item.py +100 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_agent_type.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_base_template_id.py +13 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_base_template_id_item.py +5 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_created_at.py +13 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_created_at_item.py +5 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_created_by_id.py +13 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_created_by_id_item.py +5 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_description.py +13 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_description_item.py +5 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config.py +58 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_azure_deployment.py +13 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_azure_deployment_item.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_azure_endpoint.py +13 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_azure_endpoint_item.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_azure_version.py +13 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_azure_version_item.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_embedding_chunk_size.py +15 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_embedding_chunk_size_item.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_embedding_endpoint.py +15 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_embedding_endpoint_item.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_embedding_endpoint_type.py +27 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_handle.py +13 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_handle_item.py +5 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_last_updated_by_id.py +13 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_last_updated_by_id_item.py +5 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config.py +50 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_handle.py +13 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_handle_item.py +5 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_max_tokens.py +13 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_max_tokens_item.py +5 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_model_endpoint.py +13 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_model_endpoint_item.py +5 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_model_endpoint_type.py +27 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_model_wrapper.py +13 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_model_wrapper_item.py +5 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_put_inner_thoughts_in_kwargs.py +15 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_put_inner_thoughts_in_kwargs_item.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_temperature.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory.py +26 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item.py +65 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_created_by_id.py +13 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_created_by_id_item.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_description.py +13 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_description_item.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_id.py +5 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_is_template.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_label.py +13 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_label_item.py +5 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_last_updated_by_id.py +15 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_last_updated_by_id_item.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_limit.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_metadata.py +12 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_metadata_item.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_name.py +13 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_name_item.py +5 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_organization_id.py +13 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_organization_id_item.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_prompt_template.py +5 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_message_ids.py +13 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_message_ids_item.py +5 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_metadata.py +12 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_metadata_item.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_organization_id.py +13 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_organization_id_item.py +5 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_project_id.py +13 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_project_id_item.py +5 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item.py +59 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_created_at.py +13 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_created_at_item.py +5 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_created_by_id.py +13 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_created_by_id_item.py +5 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_description.py +13 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_description_item.py +5 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config.py +60 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_azure_deployment.py +17 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_azure_deployment_item.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_azure_endpoint.py +15 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_azure_endpoint_item.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_azure_version.py +15 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_azure_version_item.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_embedding_chunk_size.py +17 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_embedding_chunk_size_item.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_embedding_endpoint.py +17 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_embedding_endpoint_item.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_embedding_endpoint_type.py +27 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_handle.py +15 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_handle_item.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_id.py +5 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_last_updated_by_id.py +13 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_last_updated_by_id_item.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_metadata.py +12 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_metadata_item.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_organization_id.py +13 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_organization_id_item.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_updated_at.py +13 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_updated_at_item.py +5 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_template_id.py +13 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_template_id_item.py +5 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables.py +11 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item.py +61 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_created_at.py +17 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_created_at_item.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_created_by_id.py +17 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_created_by_id_item.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_description.py +17 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_description_item.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_id.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_last_updated_by_id.py +17 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_last_updated_by_id_item.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_organization_id.py +17 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_organization_id_item.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_updated_at.py +17 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_updated_at_item.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules.py +13 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item.py +10 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_child_output_mapping.py +36 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_child_output_mapping_default_child.py +17 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_child_output_mapping_default_child_item.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_child_output_mapping_require_output_mapping.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_child_output_mapping_type.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_children.py +24 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_children_type.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item.py +22 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_child_output_mapping.py +38 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_child_output_mapping_default_child.py +17 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_child_output_mapping_default_child_item.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_child_output_mapping_require_output_mapping.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_child_output_mapping_type.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_children.py +24 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_children_type.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_one.py +23 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_one_type.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_two.py +23 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_two_type.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_one.py +23 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_one_type.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_two.py +23 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_two_type.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item.py +59 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_created_by_id.py +12 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_created_by_id_item.py +5 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_description.py +12 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_description_item.py +5 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_json_schema.py +12 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_json_schema_item.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_last_updated_by_id.py +12 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_last_updated_by_id_item.py +7 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_name.py +12 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_name_item.py +5 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_organization_id.py +12 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_organization_id_item.py +5 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_source_code.py +12 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_source_code_item.py +5 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_source_type.py +12 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_source_type_item.py +5 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_tool_type.py +10 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_updated_at.py +13 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_updated_at_item.py +5 -0
- letta_client/tools/__init__.py +2 -0
- letta_client/tools/client.py +1665 -0
- letta_client/types/__init__.py +321 -0
- letta_client/types/action_model.py +38 -0
- letta_client/types/action_parameters_model.py +26 -0
- letta_client/types/action_response_model.py +26 -0
- letta_client/types/agent_environment_variable.py +63 -0
- letta_client/types/agent_state.py +153 -0
- letta_client/types/agent_state_tool_rules_item.py +9 -0
- letta_client/types/agent_type.py +7 -0
- letta_client/types/app_auth_scheme.py +34 -0
- letta_client/types/app_auth_scheme_auth_mode.py +7 -0
- letta_client/types/app_model.py +44 -0
- letta_client/types/assistant_message.py +24 -0
- letta_client/types/assistant_message_content.py +6 -0
- letta_client/types/audio.py +19 -0
- letta_client/types/auth_request.py +22 -0
- letta_client/types/auth_response.py +29 -0
- letta_client/types/auth_scheme_field.py +30 -0
- letta_client/types/block.py +82 -0
- letta_client/types/block_update.py +56 -0
- letta_client/types/chat_completion_assistant_message_param.py +29 -0
- letta_client/types/chat_completion_assistant_message_param_content.py +8 -0
- letta_client/types/chat_completion_assistant_message_param_content_item.py +9 -0
- letta_client/types/chat_completion_audio_param.py +22 -0
- letta_client/types/chat_completion_audio_param_format.py +5 -0
- letta_client/types/chat_completion_audio_param_voice.py +7 -0
- letta_client/types/chat_completion_content_part_image_param.py +21 -0
- letta_client/types/chat_completion_content_part_input_audio_param.py +21 -0
- letta_client/types/chat_completion_content_part_refusal_param.py +20 -0
- letta_client/types/chat_completion_content_part_text_param.py +20 -0
- letta_client/types/chat_completion_developer_message_param.py +22 -0
- letta_client/types/chat_completion_developer_message_param_content.py +6 -0
- letta_client/types/chat_completion_function_call_option_param.py +19 -0
- letta_client/types/chat_completion_function_message_param.py +21 -0
- letta_client/types/chat_completion_message_tool_call_input.py +24 -0
- letta_client/types/chat_completion_message_tool_call_output.py +22 -0
- letta_client/types/chat_completion_message_tool_call_param.py +24 -0
- letta_client/types/chat_completion_named_tool_choice_param.py +23 -0
- letta_client/types/chat_completion_prediction_content_param.py +21 -0
- letta_client/types/chat_completion_prediction_content_param_content.py +6 -0
- letta_client/types/chat_completion_stream_options_param.py +19 -0
- letta_client/types/chat_completion_system_message_param.py +22 -0
- letta_client/types/chat_completion_system_message_param_content.py +6 -0
- letta_client/types/chat_completion_tool_message_param.py +22 -0
- letta_client/types/chat_completion_tool_message_param_content.py +6 -0
- letta_client/types/chat_completion_tool_param.py +21 -0
- letta_client/types/chat_completion_user_message_param.py +22 -0
- letta_client/types/chat_completion_user_message_param_content.py +6 -0
- letta_client/types/chat_completion_user_message_param_content_item.py +10 -0
- letta_client/types/child_tool_rule.py +32 -0
- letta_client/types/completion_create_params_non_streaming.py +62 -0
- letta_client/types/completion_create_params_non_streaming_function_call.py +8 -0
- letta_client/types/completion_create_params_non_streaming_messages_item.py +18 -0
- letta_client/types/completion_create_params_non_streaming_modalities_item.py +5 -0
- letta_client/types/completion_create_params_non_streaming_model.py +46 -0
- letta_client/types/completion_create_params_non_streaming_reasoning_effort.py +5 -0
- letta_client/types/completion_create_params_non_streaming_response_format.py +10 -0
- letta_client/types/completion_create_params_non_streaming_service_tier.py +5 -0
- letta_client/types/completion_create_params_non_streaming_stop.py +5 -0
- letta_client/types/completion_create_params_non_streaming_tool_choice.py +8 -0
- letta_client/types/completion_create_params_streaming.py +62 -0
- letta_client/types/completion_create_params_streaming_function_call.py +8 -0
- letta_client/types/completion_create_params_streaming_messages_item.py +18 -0
- letta_client/types/completion_create_params_streaming_modalities_item.py +5 -0
- letta_client/types/completion_create_params_streaming_model.py +46 -0
- letta_client/types/completion_create_params_streaming_reasoning_effort.py +5 -0
- letta_client/types/completion_create_params_streaming_response_format.py +10 -0
- letta_client/types/completion_create_params_streaming_service_tier.py +5 -0
- letta_client/types/completion_create_params_streaming_stop.py +5 -0
- letta_client/types/completion_create_params_streaming_tool_choice.py +8 -0
- letta_client/types/conditional_tool_rule.py +42 -0
- letta_client/types/conflict_error_body.py +21 -0
- letta_client/types/context_window_overview.py +108 -0
- letta_client/types/create_block.py +52 -0
- letta_client/types/e_2_b_sandbox_config.py +32 -0
- letta_client/types/embedding_config.py +77 -0
- letta_client/types/embedding_config_embedding_endpoint_type.py +27 -0
- letta_client/types/file_metadata.py +77 -0
- letta_client/types/function_call.py +20 -0
- letta_client/types/function_definition_input.py +22 -0
- letta_client/types/function_definition_output.py +22 -0
- letta_client/types/function_output.py +20 -0
- letta_client/types/function_tool.py +21 -0
- letta_client/types/health.py +24 -0
- letta_client/types/http_validation_error.py +20 -0
- letta_client/types/image_url.py +21 -0
- letta_client/types/image_url_detail.py +5 -0
- letta_client/types/init_tool_rule.py +28 -0
- letta_client/types/input_audio.py +21 -0
- letta_client/types/input_audio_format.py +5 -0
- letta_client/types/internal_server_error_body.py +19 -0
- letta_client/types/job.py +76 -0
- letta_client/types/job_status.py +5 -0
- letta_client/types/job_type.py +5 -0
- letta_client/types/json_schema.py +26 -0
- letta_client/types/letta_message_union.py +13 -0
- letta_client/types/letta_request.py +38 -0
- letta_client/types/letta_request_config.py +32 -0
- letta_client/types/letta_response.py +38 -0
- letta_client/types/letta_usage_statistics.py +48 -0
- letta_client/types/llm_config.py +77 -0
- letta_client/types/llm_config_model_endpoint_type.py +27 -0
- letta_client/types/local_sandbox_config.py +38 -0
- letta_client/types/memory.py +32 -0
- letta_client/types/message.py +102 -0
- letta_client/types/message_create.py +38 -0
- letta_client/types/message_create_content.py +6 -0
- letta_client/types/message_create_role.py +5 -0
- letta_client/types/message_role.py +5 -0
- letta_client/types/not_found_error_body.py +19 -0
- letta_client/types/not_found_error_body_message.py +11 -0
- letta_client/types/openai_types_chat_chat_completion_message_tool_call_function.py +20 -0
- letta_client/types/openai_types_chat_chat_completion_message_tool_call_param_function.py +20 -0
- letta_client/types/openai_types_chat_chat_completion_named_tool_choice_param_function.py +19 -0
- letta_client/types/openai_types_chat_completion_create_params_function.py +21 -0
- letta_client/types/organization.py +33 -0
- letta_client/types/organization_create.py +22 -0
- letta_client/types/passage.py +98 -0
- letta_client/types/pip_requirement.py +27 -0
- letta_client/types/provider.py +38 -0
- letta_client/types/reasoning_message.py +32 -0
- letta_client/types/response_format_json_object.py +19 -0
- letta_client/types/response_format_json_schema.py +21 -0
- letta_client/types/response_format_text.py +19 -0
- letta_client/types/run.py +79 -0
- letta_client/types/sandbox_config.py +54 -0
- letta_client/types/sandbox_config_create.py +23 -0
- letta_client/types/sandbox_config_create_config.py +7 -0
- letta_client/types/sandbox_config_update.py +27 -0
- letta_client/types/sandbox_config_update_config.py +7 -0
- letta_client/types/sandbox_environment_variable.py +63 -0
- letta_client/types/sandbox_environment_variable_create.py +32 -0
- letta_client/types/sandbox_environment_variable_update.py +32 -0
- letta_client/types/sandbox_type.py +5 -0
- letta_client/types/source.py +76 -0
- letta_client/types/step.py +95 -0
- letta_client/types/system_message.py +33 -0
- letta_client/types/system_message_content.py +6 -0
- letta_client/types/terminal_tool_rule.py +28 -0
- letta_client/types/text_content.py +23 -0
- letta_client/types/tool.py +84 -0
- letta_client/types/tool_call.py +21 -0
- letta_client/types/tool_call_delta.py +21 -0
- letta_client/types/tool_call_message.py +33 -0
- letta_client/types/tool_call_message_tool_call.py +7 -0
- letta_client/types/tool_create.py +47 -0
- letta_client/types/tool_return_message.py +41 -0
- letta_client/types/tool_return_message_status.py +5 -0
- letta_client/types/tool_type.py +10 -0
- letta_client/types/usage_statistics.py +21 -0
- letta_client/types/user.py +52 -0
- letta_client/types/user_create.py +22 -0
- letta_client/types/user_message.py +33 -0
- letta_client/types/user_message_content.py +6 -0
- letta_client/types/user_update.py +27 -0
- letta_client/types/validation_error.py +22 -0
- letta_client/types/validation_error_loc_item.py +5 -0
- letta_client/version.py +3 -0
- letta_client-0.0.1285.dist-info/METADATA +189 -0
- letta_client-0.0.1285.dist-info/RECORD +564 -0
- letta_client-0.0.1285.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,321 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
from .action_model import ActionModel
|
|
4
|
+
from .action_parameters_model import ActionParametersModel
|
|
5
|
+
from .action_response_model import ActionResponseModel
|
|
6
|
+
from .agent_environment_variable import AgentEnvironmentVariable
|
|
7
|
+
from .agent_state import AgentState
|
|
8
|
+
from .agent_state_tool_rules_item import AgentStateToolRulesItem
|
|
9
|
+
from .agent_type import AgentType
|
|
10
|
+
from .app_auth_scheme import AppAuthScheme
|
|
11
|
+
from .app_auth_scheme_auth_mode import AppAuthSchemeAuthMode
|
|
12
|
+
from .app_model import AppModel
|
|
13
|
+
from .assistant_message import AssistantMessage
|
|
14
|
+
from .assistant_message_content import AssistantMessageContent
|
|
15
|
+
from .audio import Audio
|
|
16
|
+
from .auth_request import AuthRequest
|
|
17
|
+
from .auth_response import AuthResponse
|
|
18
|
+
from .auth_scheme_field import AuthSchemeField
|
|
19
|
+
from .block import Block
|
|
20
|
+
from .block_update import BlockUpdate
|
|
21
|
+
from .chat_completion_assistant_message_param import ChatCompletionAssistantMessageParam
|
|
22
|
+
from .chat_completion_assistant_message_param_content import ChatCompletionAssistantMessageParamContent
|
|
23
|
+
from .chat_completion_assistant_message_param_content_item import ChatCompletionAssistantMessageParamContentItem
|
|
24
|
+
from .chat_completion_audio_param import ChatCompletionAudioParam
|
|
25
|
+
from .chat_completion_audio_param_format import ChatCompletionAudioParamFormat
|
|
26
|
+
from .chat_completion_audio_param_voice import ChatCompletionAudioParamVoice
|
|
27
|
+
from .chat_completion_content_part_image_param import ChatCompletionContentPartImageParam
|
|
28
|
+
from .chat_completion_content_part_input_audio_param import ChatCompletionContentPartInputAudioParam
|
|
29
|
+
from .chat_completion_content_part_refusal_param import ChatCompletionContentPartRefusalParam
|
|
30
|
+
from .chat_completion_content_part_text_param import ChatCompletionContentPartTextParam
|
|
31
|
+
from .chat_completion_developer_message_param import ChatCompletionDeveloperMessageParam
|
|
32
|
+
from .chat_completion_developer_message_param_content import ChatCompletionDeveloperMessageParamContent
|
|
33
|
+
from .chat_completion_function_call_option_param import ChatCompletionFunctionCallOptionParam
|
|
34
|
+
from .chat_completion_function_message_param import ChatCompletionFunctionMessageParam
|
|
35
|
+
from .chat_completion_message_tool_call_input import ChatCompletionMessageToolCallInput
|
|
36
|
+
from .chat_completion_message_tool_call_output import ChatCompletionMessageToolCallOutput
|
|
37
|
+
from .chat_completion_message_tool_call_param import ChatCompletionMessageToolCallParam
|
|
38
|
+
from .chat_completion_named_tool_choice_param import ChatCompletionNamedToolChoiceParam
|
|
39
|
+
from .chat_completion_prediction_content_param import ChatCompletionPredictionContentParam
|
|
40
|
+
from .chat_completion_prediction_content_param_content import ChatCompletionPredictionContentParamContent
|
|
41
|
+
from .chat_completion_stream_options_param import ChatCompletionStreamOptionsParam
|
|
42
|
+
from .chat_completion_system_message_param import ChatCompletionSystemMessageParam
|
|
43
|
+
from .chat_completion_system_message_param_content import ChatCompletionSystemMessageParamContent
|
|
44
|
+
from .chat_completion_tool_message_param import ChatCompletionToolMessageParam
|
|
45
|
+
from .chat_completion_tool_message_param_content import ChatCompletionToolMessageParamContent
|
|
46
|
+
from .chat_completion_tool_param import ChatCompletionToolParam
|
|
47
|
+
from .chat_completion_user_message_param import ChatCompletionUserMessageParam
|
|
48
|
+
from .chat_completion_user_message_param_content import ChatCompletionUserMessageParamContent
|
|
49
|
+
from .chat_completion_user_message_param_content_item import ChatCompletionUserMessageParamContentItem
|
|
50
|
+
from .child_tool_rule import ChildToolRule
|
|
51
|
+
from .completion_create_params_non_streaming import CompletionCreateParamsNonStreaming
|
|
52
|
+
from .completion_create_params_non_streaming_function_call import CompletionCreateParamsNonStreamingFunctionCall
|
|
53
|
+
from .completion_create_params_non_streaming_messages_item import CompletionCreateParamsNonStreamingMessagesItem
|
|
54
|
+
from .completion_create_params_non_streaming_modalities_item import CompletionCreateParamsNonStreamingModalitiesItem
|
|
55
|
+
from .completion_create_params_non_streaming_model import CompletionCreateParamsNonStreamingModel
|
|
56
|
+
from .completion_create_params_non_streaming_reasoning_effort import CompletionCreateParamsNonStreamingReasoningEffort
|
|
57
|
+
from .completion_create_params_non_streaming_response_format import CompletionCreateParamsNonStreamingResponseFormat
|
|
58
|
+
from .completion_create_params_non_streaming_service_tier import CompletionCreateParamsNonStreamingServiceTier
|
|
59
|
+
from .completion_create_params_non_streaming_stop import CompletionCreateParamsNonStreamingStop
|
|
60
|
+
from .completion_create_params_non_streaming_tool_choice import CompletionCreateParamsNonStreamingToolChoice
|
|
61
|
+
from .completion_create_params_streaming import CompletionCreateParamsStreaming
|
|
62
|
+
from .completion_create_params_streaming_function_call import CompletionCreateParamsStreamingFunctionCall
|
|
63
|
+
from .completion_create_params_streaming_messages_item import CompletionCreateParamsStreamingMessagesItem
|
|
64
|
+
from .completion_create_params_streaming_modalities_item import CompletionCreateParamsStreamingModalitiesItem
|
|
65
|
+
from .completion_create_params_streaming_model import CompletionCreateParamsStreamingModel
|
|
66
|
+
from .completion_create_params_streaming_reasoning_effort import CompletionCreateParamsStreamingReasoningEffort
|
|
67
|
+
from .completion_create_params_streaming_response_format import CompletionCreateParamsStreamingResponseFormat
|
|
68
|
+
from .completion_create_params_streaming_service_tier import CompletionCreateParamsStreamingServiceTier
|
|
69
|
+
from .completion_create_params_streaming_stop import CompletionCreateParamsStreamingStop
|
|
70
|
+
from .completion_create_params_streaming_tool_choice import CompletionCreateParamsStreamingToolChoice
|
|
71
|
+
from .conditional_tool_rule import ConditionalToolRule
|
|
72
|
+
from .conflict_error_body import ConflictErrorBody
|
|
73
|
+
from .context_window_overview import ContextWindowOverview
|
|
74
|
+
from .create_block import CreateBlock
|
|
75
|
+
from .e_2_b_sandbox_config import E2BSandboxConfig
|
|
76
|
+
from .embedding_config import EmbeddingConfig
|
|
77
|
+
from .embedding_config_embedding_endpoint_type import EmbeddingConfigEmbeddingEndpointType
|
|
78
|
+
from .file_metadata import FileMetadata
|
|
79
|
+
from .function_call import FunctionCall
|
|
80
|
+
from .function_definition_input import FunctionDefinitionInput
|
|
81
|
+
from .function_definition_output import FunctionDefinitionOutput
|
|
82
|
+
from .function_output import FunctionOutput
|
|
83
|
+
from .function_tool import FunctionTool
|
|
84
|
+
from .health import Health
|
|
85
|
+
from .http_validation_error import HttpValidationError
|
|
86
|
+
from .image_url import ImageUrl
|
|
87
|
+
from .image_url_detail import ImageUrlDetail
|
|
88
|
+
from .init_tool_rule import InitToolRule
|
|
89
|
+
from .input_audio import InputAudio
|
|
90
|
+
from .input_audio_format import InputAudioFormat
|
|
91
|
+
from .internal_server_error_body import InternalServerErrorBody
|
|
92
|
+
from .job import Job
|
|
93
|
+
from .job_status import JobStatus
|
|
94
|
+
from .job_type import JobType
|
|
95
|
+
from .json_schema import JsonSchema
|
|
96
|
+
from .letta_message_union import LettaMessageUnion
|
|
97
|
+
from .letta_request import LettaRequest
|
|
98
|
+
from .letta_request_config import LettaRequestConfig
|
|
99
|
+
from .letta_response import LettaResponse
|
|
100
|
+
from .letta_usage_statistics import LettaUsageStatistics
|
|
101
|
+
from .llm_config import LlmConfig
|
|
102
|
+
from .llm_config_model_endpoint_type import LlmConfigModelEndpointType
|
|
103
|
+
from .local_sandbox_config import LocalSandboxConfig
|
|
104
|
+
from .memory import Memory
|
|
105
|
+
from .message import Message
|
|
106
|
+
from .message_create import MessageCreate
|
|
107
|
+
from .message_create_content import MessageCreateContent
|
|
108
|
+
from .message_create_role import MessageCreateRole
|
|
109
|
+
from .message_role import MessageRole
|
|
110
|
+
from .not_found_error_body import NotFoundErrorBody
|
|
111
|
+
from .not_found_error_body_message import NotFoundErrorBodyMessage
|
|
112
|
+
from .openai_types_chat_chat_completion_message_tool_call_function import (
|
|
113
|
+
OpenaiTypesChatChatCompletionMessageToolCallFunction,
|
|
114
|
+
)
|
|
115
|
+
from .openai_types_chat_chat_completion_message_tool_call_param_function import (
|
|
116
|
+
OpenaiTypesChatChatCompletionMessageToolCallParamFunction,
|
|
117
|
+
)
|
|
118
|
+
from .openai_types_chat_chat_completion_named_tool_choice_param_function import (
|
|
119
|
+
OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction,
|
|
120
|
+
)
|
|
121
|
+
from .openai_types_chat_completion_create_params_function import OpenaiTypesChatCompletionCreateParamsFunction
|
|
122
|
+
from .organization import Organization
|
|
123
|
+
from .organization_create import OrganizationCreate
|
|
124
|
+
from .passage import Passage
|
|
125
|
+
from .pip_requirement import PipRequirement
|
|
126
|
+
from .provider import Provider
|
|
127
|
+
from .reasoning_message import ReasoningMessage
|
|
128
|
+
from .response_format_json_object import ResponseFormatJsonObject
|
|
129
|
+
from .response_format_json_schema import ResponseFormatJsonSchema
|
|
130
|
+
from .response_format_text import ResponseFormatText
|
|
131
|
+
from .run import Run
|
|
132
|
+
from .sandbox_config import SandboxConfig
|
|
133
|
+
from .sandbox_config_create import SandboxConfigCreate
|
|
134
|
+
from .sandbox_config_create_config import SandboxConfigCreateConfig
|
|
135
|
+
from .sandbox_config_update import SandboxConfigUpdate
|
|
136
|
+
from .sandbox_config_update_config import SandboxConfigUpdateConfig
|
|
137
|
+
from .sandbox_environment_variable import SandboxEnvironmentVariable
|
|
138
|
+
from .sandbox_environment_variable_create import SandboxEnvironmentVariableCreate
|
|
139
|
+
from .sandbox_environment_variable_update import SandboxEnvironmentVariableUpdate
|
|
140
|
+
from .sandbox_type import SandboxType
|
|
141
|
+
from .source import Source
|
|
142
|
+
from .step import Step
|
|
143
|
+
from .system_message import SystemMessage
|
|
144
|
+
from .system_message_content import SystemMessageContent
|
|
145
|
+
from .terminal_tool_rule import TerminalToolRule
|
|
146
|
+
from .text_content import TextContent
|
|
147
|
+
from .tool import Tool
|
|
148
|
+
from .tool_call import ToolCall
|
|
149
|
+
from .tool_call_delta import ToolCallDelta
|
|
150
|
+
from .tool_call_message import ToolCallMessage
|
|
151
|
+
from .tool_call_message_tool_call import ToolCallMessageToolCall
|
|
152
|
+
from .tool_create import ToolCreate
|
|
153
|
+
from .tool_return_message import ToolReturnMessage
|
|
154
|
+
from .tool_return_message_status import ToolReturnMessageStatus
|
|
155
|
+
from .tool_type import ToolType
|
|
156
|
+
from .usage_statistics import UsageStatistics
|
|
157
|
+
from .user import User
|
|
158
|
+
from .user_create import UserCreate
|
|
159
|
+
from .user_message import UserMessage
|
|
160
|
+
from .user_message_content import UserMessageContent
|
|
161
|
+
from .user_update import UserUpdate
|
|
162
|
+
from .validation_error import ValidationError
|
|
163
|
+
from .validation_error_loc_item import ValidationErrorLocItem
|
|
164
|
+
|
|
165
|
+
__all__ = [
|
|
166
|
+
"ActionModel",
|
|
167
|
+
"ActionParametersModel",
|
|
168
|
+
"ActionResponseModel",
|
|
169
|
+
"AgentEnvironmentVariable",
|
|
170
|
+
"AgentState",
|
|
171
|
+
"AgentStateToolRulesItem",
|
|
172
|
+
"AgentType",
|
|
173
|
+
"AppAuthScheme",
|
|
174
|
+
"AppAuthSchemeAuthMode",
|
|
175
|
+
"AppModel",
|
|
176
|
+
"AssistantMessage",
|
|
177
|
+
"AssistantMessageContent",
|
|
178
|
+
"Audio",
|
|
179
|
+
"AuthRequest",
|
|
180
|
+
"AuthResponse",
|
|
181
|
+
"AuthSchemeField",
|
|
182
|
+
"Block",
|
|
183
|
+
"BlockUpdate",
|
|
184
|
+
"ChatCompletionAssistantMessageParam",
|
|
185
|
+
"ChatCompletionAssistantMessageParamContent",
|
|
186
|
+
"ChatCompletionAssistantMessageParamContentItem",
|
|
187
|
+
"ChatCompletionAudioParam",
|
|
188
|
+
"ChatCompletionAudioParamFormat",
|
|
189
|
+
"ChatCompletionAudioParamVoice",
|
|
190
|
+
"ChatCompletionContentPartImageParam",
|
|
191
|
+
"ChatCompletionContentPartInputAudioParam",
|
|
192
|
+
"ChatCompletionContentPartRefusalParam",
|
|
193
|
+
"ChatCompletionContentPartTextParam",
|
|
194
|
+
"ChatCompletionDeveloperMessageParam",
|
|
195
|
+
"ChatCompletionDeveloperMessageParamContent",
|
|
196
|
+
"ChatCompletionFunctionCallOptionParam",
|
|
197
|
+
"ChatCompletionFunctionMessageParam",
|
|
198
|
+
"ChatCompletionMessageToolCallInput",
|
|
199
|
+
"ChatCompletionMessageToolCallOutput",
|
|
200
|
+
"ChatCompletionMessageToolCallParam",
|
|
201
|
+
"ChatCompletionNamedToolChoiceParam",
|
|
202
|
+
"ChatCompletionPredictionContentParam",
|
|
203
|
+
"ChatCompletionPredictionContentParamContent",
|
|
204
|
+
"ChatCompletionStreamOptionsParam",
|
|
205
|
+
"ChatCompletionSystemMessageParam",
|
|
206
|
+
"ChatCompletionSystemMessageParamContent",
|
|
207
|
+
"ChatCompletionToolMessageParam",
|
|
208
|
+
"ChatCompletionToolMessageParamContent",
|
|
209
|
+
"ChatCompletionToolParam",
|
|
210
|
+
"ChatCompletionUserMessageParam",
|
|
211
|
+
"ChatCompletionUserMessageParamContent",
|
|
212
|
+
"ChatCompletionUserMessageParamContentItem",
|
|
213
|
+
"ChildToolRule",
|
|
214
|
+
"CompletionCreateParamsNonStreaming",
|
|
215
|
+
"CompletionCreateParamsNonStreamingFunctionCall",
|
|
216
|
+
"CompletionCreateParamsNonStreamingMessagesItem",
|
|
217
|
+
"CompletionCreateParamsNonStreamingModalitiesItem",
|
|
218
|
+
"CompletionCreateParamsNonStreamingModel",
|
|
219
|
+
"CompletionCreateParamsNonStreamingReasoningEffort",
|
|
220
|
+
"CompletionCreateParamsNonStreamingResponseFormat",
|
|
221
|
+
"CompletionCreateParamsNonStreamingServiceTier",
|
|
222
|
+
"CompletionCreateParamsNonStreamingStop",
|
|
223
|
+
"CompletionCreateParamsNonStreamingToolChoice",
|
|
224
|
+
"CompletionCreateParamsStreaming",
|
|
225
|
+
"CompletionCreateParamsStreamingFunctionCall",
|
|
226
|
+
"CompletionCreateParamsStreamingMessagesItem",
|
|
227
|
+
"CompletionCreateParamsStreamingModalitiesItem",
|
|
228
|
+
"CompletionCreateParamsStreamingModel",
|
|
229
|
+
"CompletionCreateParamsStreamingReasoningEffort",
|
|
230
|
+
"CompletionCreateParamsStreamingResponseFormat",
|
|
231
|
+
"CompletionCreateParamsStreamingServiceTier",
|
|
232
|
+
"CompletionCreateParamsStreamingStop",
|
|
233
|
+
"CompletionCreateParamsStreamingToolChoice",
|
|
234
|
+
"ConditionalToolRule",
|
|
235
|
+
"ConflictErrorBody",
|
|
236
|
+
"ContextWindowOverview",
|
|
237
|
+
"CreateBlock",
|
|
238
|
+
"E2BSandboxConfig",
|
|
239
|
+
"EmbeddingConfig",
|
|
240
|
+
"EmbeddingConfigEmbeddingEndpointType",
|
|
241
|
+
"FileMetadata",
|
|
242
|
+
"FunctionCall",
|
|
243
|
+
"FunctionDefinitionInput",
|
|
244
|
+
"FunctionDefinitionOutput",
|
|
245
|
+
"FunctionOutput",
|
|
246
|
+
"FunctionTool",
|
|
247
|
+
"Health",
|
|
248
|
+
"HttpValidationError",
|
|
249
|
+
"ImageUrl",
|
|
250
|
+
"ImageUrlDetail",
|
|
251
|
+
"InitToolRule",
|
|
252
|
+
"InputAudio",
|
|
253
|
+
"InputAudioFormat",
|
|
254
|
+
"InternalServerErrorBody",
|
|
255
|
+
"Job",
|
|
256
|
+
"JobStatus",
|
|
257
|
+
"JobType",
|
|
258
|
+
"JsonSchema",
|
|
259
|
+
"LettaMessageUnion",
|
|
260
|
+
"LettaRequest",
|
|
261
|
+
"LettaRequestConfig",
|
|
262
|
+
"LettaResponse",
|
|
263
|
+
"LettaUsageStatistics",
|
|
264
|
+
"LlmConfig",
|
|
265
|
+
"LlmConfigModelEndpointType",
|
|
266
|
+
"LocalSandboxConfig",
|
|
267
|
+
"Memory",
|
|
268
|
+
"Message",
|
|
269
|
+
"MessageCreate",
|
|
270
|
+
"MessageCreateContent",
|
|
271
|
+
"MessageCreateRole",
|
|
272
|
+
"MessageRole",
|
|
273
|
+
"NotFoundErrorBody",
|
|
274
|
+
"NotFoundErrorBodyMessage",
|
|
275
|
+
"OpenaiTypesChatChatCompletionMessageToolCallFunction",
|
|
276
|
+
"OpenaiTypesChatChatCompletionMessageToolCallParamFunction",
|
|
277
|
+
"OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction",
|
|
278
|
+
"OpenaiTypesChatCompletionCreateParamsFunction",
|
|
279
|
+
"Organization",
|
|
280
|
+
"OrganizationCreate",
|
|
281
|
+
"Passage",
|
|
282
|
+
"PipRequirement",
|
|
283
|
+
"Provider",
|
|
284
|
+
"ReasoningMessage",
|
|
285
|
+
"ResponseFormatJsonObject",
|
|
286
|
+
"ResponseFormatJsonSchema",
|
|
287
|
+
"ResponseFormatText",
|
|
288
|
+
"Run",
|
|
289
|
+
"SandboxConfig",
|
|
290
|
+
"SandboxConfigCreate",
|
|
291
|
+
"SandboxConfigCreateConfig",
|
|
292
|
+
"SandboxConfigUpdate",
|
|
293
|
+
"SandboxConfigUpdateConfig",
|
|
294
|
+
"SandboxEnvironmentVariable",
|
|
295
|
+
"SandboxEnvironmentVariableCreate",
|
|
296
|
+
"SandboxEnvironmentVariableUpdate",
|
|
297
|
+
"SandboxType",
|
|
298
|
+
"Source",
|
|
299
|
+
"Step",
|
|
300
|
+
"SystemMessage",
|
|
301
|
+
"SystemMessageContent",
|
|
302
|
+
"TerminalToolRule",
|
|
303
|
+
"TextContent",
|
|
304
|
+
"Tool",
|
|
305
|
+
"ToolCall",
|
|
306
|
+
"ToolCallDelta",
|
|
307
|
+
"ToolCallMessage",
|
|
308
|
+
"ToolCallMessageToolCall",
|
|
309
|
+
"ToolCreate",
|
|
310
|
+
"ToolReturnMessage",
|
|
311
|
+
"ToolReturnMessageStatus",
|
|
312
|
+
"ToolType",
|
|
313
|
+
"UsageStatistics",
|
|
314
|
+
"User",
|
|
315
|
+
"UserCreate",
|
|
316
|
+
"UserMessage",
|
|
317
|
+
"UserMessageContent",
|
|
318
|
+
"UserUpdate",
|
|
319
|
+
"ValidationError",
|
|
320
|
+
"ValidationErrorLocItem",
|
|
321
|
+
]
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
4
|
+
from .action_parameters_model import ActionParametersModel
|
|
5
|
+
from .action_response_model import ActionResponseModel
|
|
6
|
+
import typing_extensions
|
|
7
|
+
from ..core.serialization import FieldMetadata
|
|
8
|
+
import typing
|
|
9
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
|
10
|
+
import pydantic
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class ActionModel(UncheckedBaseModel):
|
|
14
|
+
"""
|
|
15
|
+
Action data model.
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
name: str
|
|
19
|
+
description: str
|
|
20
|
+
parameters: ActionParametersModel
|
|
21
|
+
response: ActionResponseModel
|
|
22
|
+
app_name: typing_extensions.Annotated[str, FieldMetadata(alias="appName")]
|
|
23
|
+
app_id: typing_extensions.Annotated[str, FieldMetadata(alias="appId")]
|
|
24
|
+
version: str
|
|
25
|
+
available_versions: typing.List[str]
|
|
26
|
+
tags: typing.List[str]
|
|
27
|
+
logo: typing.Optional[str] = None
|
|
28
|
+
display_name: typing.Optional[str] = None
|
|
29
|
+
enabled: typing.Optional[bool] = None
|
|
30
|
+
|
|
31
|
+
if IS_PYDANTIC_V2:
|
|
32
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
33
|
+
else:
|
|
34
|
+
|
|
35
|
+
class Config:
|
|
36
|
+
frozen = True
|
|
37
|
+
smart_union = True
|
|
38
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
4
|
+
import typing
|
|
5
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
|
6
|
+
import pydantic
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class ActionParametersModel(UncheckedBaseModel):
|
|
10
|
+
"""
|
|
11
|
+
Action parameter data models.
|
|
12
|
+
"""
|
|
13
|
+
|
|
14
|
+
properties: typing.Dict[str, typing.Optional[typing.Any]]
|
|
15
|
+
title: str
|
|
16
|
+
type: str
|
|
17
|
+
required: typing.Optional[typing.List[str]] = None
|
|
18
|
+
|
|
19
|
+
if IS_PYDANTIC_V2:
|
|
20
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
21
|
+
else:
|
|
22
|
+
|
|
23
|
+
class Config:
|
|
24
|
+
frozen = True
|
|
25
|
+
smart_union = True
|
|
26
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
4
|
+
import typing
|
|
5
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
|
6
|
+
import pydantic
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class ActionResponseModel(UncheckedBaseModel):
|
|
10
|
+
"""
|
|
11
|
+
Action response data model.
|
|
12
|
+
"""
|
|
13
|
+
|
|
14
|
+
properties: typing.Dict[str, typing.Optional[typing.Any]]
|
|
15
|
+
title: str
|
|
16
|
+
type: str
|
|
17
|
+
required: typing.Optional[typing.List[str]] = None
|
|
18
|
+
|
|
19
|
+
if IS_PYDANTIC_V2:
|
|
20
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
21
|
+
else:
|
|
22
|
+
|
|
23
|
+
class Config:
|
|
24
|
+
frozen = True
|
|
25
|
+
smart_union = True
|
|
26
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
4
|
+
import typing
|
|
5
|
+
import pydantic
|
|
6
|
+
import datetime as dt
|
|
7
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class AgentEnvironmentVariable(UncheckedBaseModel):
|
|
11
|
+
created_by_id: typing.Optional[str] = pydantic.Field(default=None)
|
|
12
|
+
"""
|
|
13
|
+
The id of the user that made this object.
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
last_updated_by_id: typing.Optional[str] = pydantic.Field(default=None)
|
|
17
|
+
"""
|
|
18
|
+
The id of the user that made this object.
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None)
|
|
22
|
+
"""
|
|
23
|
+
The timestamp when the object was created.
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None)
|
|
27
|
+
"""
|
|
28
|
+
The timestamp when the object was last updated.
|
|
29
|
+
"""
|
|
30
|
+
|
|
31
|
+
id: typing.Optional[str] = pydantic.Field(default=None)
|
|
32
|
+
"""
|
|
33
|
+
The human-friendly ID of the Agent-env
|
|
34
|
+
"""
|
|
35
|
+
|
|
36
|
+
key: str = pydantic.Field()
|
|
37
|
+
"""
|
|
38
|
+
The name of the environment variable.
|
|
39
|
+
"""
|
|
40
|
+
|
|
41
|
+
value: str = pydantic.Field()
|
|
42
|
+
"""
|
|
43
|
+
The value of the environment variable.
|
|
44
|
+
"""
|
|
45
|
+
|
|
46
|
+
description: typing.Optional[str] = pydantic.Field(default=None)
|
|
47
|
+
"""
|
|
48
|
+
An optional description of the environment variable.
|
|
49
|
+
"""
|
|
50
|
+
|
|
51
|
+
agent_id: str = pydantic.Field()
|
|
52
|
+
"""
|
|
53
|
+
The ID of the agent this environment variable belongs to.
|
|
54
|
+
"""
|
|
55
|
+
|
|
56
|
+
if IS_PYDANTIC_V2:
|
|
57
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
58
|
+
else:
|
|
59
|
+
|
|
60
|
+
class Config:
|
|
61
|
+
frozen = True
|
|
62
|
+
smart_union = True
|
|
63
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
4
|
+
import typing
|
|
5
|
+
import pydantic
|
|
6
|
+
import datetime as dt
|
|
7
|
+
from .agent_state_tool_rules_item import AgentStateToolRulesItem
|
|
8
|
+
from .agent_type import AgentType
|
|
9
|
+
from .llm_config import LlmConfig
|
|
10
|
+
from .embedding_config import EmbeddingConfig
|
|
11
|
+
from .memory import Memory
|
|
12
|
+
from .tool import Tool
|
|
13
|
+
from .source import Source
|
|
14
|
+
from .agent_environment_variable import AgentEnvironmentVariable
|
|
15
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
class AgentState(UncheckedBaseModel):
|
|
19
|
+
"""
|
|
20
|
+
Representation of an agent's state. This is the state of the agent at a given time, and is persisted in the DB backend. The state has all the information needed to recreate a persisted agent.
|
|
21
|
+
|
|
22
|
+
Parameters:
|
|
23
|
+
id (str): The unique identifier of the agent.
|
|
24
|
+
name (str): The name of the agent (must be unique to the user).
|
|
25
|
+
created_at (datetime): The datetime the agent was created.
|
|
26
|
+
message_ids (List[str]): The ids of the messages in the agent's in-context memory.
|
|
27
|
+
memory (Memory): The in-context memory of the agent.
|
|
28
|
+
tools (List[str]): The tools used by the agent. This includes any memory editing functions specified in `memory`.
|
|
29
|
+
system (str): The system prompt used by the agent.
|
|
30
|
+
llm_config (LLMConfig): The LLM configuration used by the agent.
|
|
31
|
+
embedding_config (EmbeddingConfig): The embedding configuration used by the agent.
|
|
32
|
+
"""
|
|
33
|
+
|
|
34
|
+
created_by_id: typing.Optional[str] = pydantic.Field(default=None)
|
|
35
|
+
"""
|
|
36
|
+
The id of the user that made this object.
|
|
37
|
+
"""
|
|
38
|
+
|
|
39
|
+
last_updated_by_id: typing.Optional[str] = pydantic.Field(default=None)
|
|
40
|
+
"""
|
|
41
|
+
The id of the user that made this object.
|
|
42
|
+
"""
|
|
43
|
+
|
|
44
|
+
created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None)
|
|
45
|
+
"""
|
|
46
|
+
The timestamp when the object was created.
|
|
47
|
+
"""
|
|
48
|
+
|
|
49
|
+
updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None)
|
|
50
|
+
"""
|
|
51
|
+
The timestamp when the object was last updated.
|
|
52
|
+
"""
|
|
53
|
+
|
|
54
|
+
id: str = pydantic.Field()
|
|
55
|
+
"""
|
|
56
|
+
The id of the agent. Assigned by the database.
|
|
57
|
+
"""
|
|
58
|
+
|
|
59
|
+
name: str = pydantic.Field()
|
|
60
|
+
"""
|
|
61
|
+
The name of the agent.
|
|
62
|
+
"""
|
|
63
|
+
|
|
64
|
+
tool_rules: typing.Optional[typing.List[AgentStateToolRulesItem]] = pydantic.Field(default=None)
|
|
65
|
+
"""
|
|
66
|
+
The list of tool rules.
|
|
67
|
+
"""
|
|
68
|
+
|
|
69
|
+
message_ids: typing.Optional[typing.List[str]] = pydantic.Field(default=None)
|
|
70
|
+
"""
|
|
71
|
+
The ids of the messages in the agent's in-context memory.
|
|
72
|
+
"""
|
|
73
|
+
|
|
74
|
+
system: str = pydantic.Field()
|
|
75
|
+
"""
|
|
76
|
+
The system prompt used by the agent.
|
|
77
|
+
"""
|
|
78
|
+
|
|
79
|
+
agent_type: AgentType = pydantic.Field()
|
|
80
|
+
"""
|
|
81
|
+
The type of agent.
|
|
82
|
+
"""
|
|
83
|
+
|
|
84
|
+
llm_config: LlmConfig = pydantic.Field()
|
|
85
|
+
"""
|
|
86
|
+
The LLM configuration used by the agent.
|
|
87
|
+
"""
|
|
88
|
+
|
|
89
|
+
embedding_config: EmbeddingConfig = pydantic.Field()
|
|
90
|
+
"""
|
|
91
|
+
The embedding configuration used by the agent.
|
|
92
|
+
"""
|
|
93
|
+
|
|
94
|
+
description: typing.Optional[str] = pydantic.Field(default=None)
|
|
95
|
+
"""
|
|
96
|
+
The description of the agent.
|
|
97
|
+
"""
|
|
98
|
+
|
|
99
|
+
metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None)
|
|
100
|
+
"""
|
|
101
|
+
The metadata of the agent.
|
|
102
|
+
"""
|
|
103
|
+
|
|
104
|
+
memory: Memory = pydantic.Field()
|
|
105
|
+
"""
|
|
106
|
+
The in-context memory of the agent.
|
|
107
|
+
"""
|
|
108
|
+
|
|
109
|
+
tools: typing.List[Tool] = pydantic.Field()
|
|
110
|
+
"""
|
|
111
|
+
The tools used by the agent.
|
|
112
|
+
"""
|
|
113
|
+
|
|
114
|
+
sources: typing.List[Source] = pydantic.Field()
|
|
115
|
+
"""
|
|
116
|
+
The sources used by the agent.
|
|
117
|
+
"""
|
|
118
|
+
|
|
119
|
+
tags: typing.List[str] = pydantic.Field()
|
|
120
|
+
"""
|
|
121
|
+
The tags associated with the agent.
|
|
122
|
+
"""
|
|
123
|
+
|
|
124
|
+
tool_exec_environment_variables: typing.Optional[typing.List[AgentEnvironmentVariable]] = pydantic.Field(
|
|
125
|
+
default=None
|
|
126
|
+
)
|
|
127
|
+
"""
|
|
128
|
+
The environment variables for tool execution specific to this agent.
|
|
129
|
+
"""
|
|
130
|
+
|
|
131
|
+
project_id: typing.Optional[str] = pydantic.Field(default=None)
|
|
132
|
+
"""
|
|
133
|
+
The id of the project the agent belongs to.
|
|
134
|
+
"""
|
|
135
|
+
|
|
136
|
+
template_id: typing.Optional[str] = pydantic.Field(default=None)
|
|
137
|
+
"""
|
|
138
|
+
The id of the template the agent belongs to.
|
|
139
|
+
"""
|
|
140
|
+
|
|
141
|
+
base_template_id: typing.Optional[str] = pydantic.Field(default=None)
|
|
142
|
+
"""
|
|
143
|
+
The base template id of the agent.
|
|
144
|
+
"""
|
|
145
|
+
|
|
146
|
+
if IS_PYDANTIC_V2:
|
|
147
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
148
|
+
else:
|
|
149
|
+
|
|
150
|
+
class Config:
|
|
151
|
+
frozen = True
|
|
152
|
+
smart_union = True
|
|
153
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
from .conditional_tool_rule import ConditionalToolRule
|
|
5
|
+
from .child_tool_rule import ChildToolRule
|
|
6
|
+
from .terminal_tool_rule import TerminalToolRule
|
|
7
|
+
from .init_tool_rule import InitToolRule
|
|
8
|
+
|
|
9
|
+
AgentStateToolRulesItem = typing.Union[ConditionalToolRule, ChildToolRule, TerminalToolRule, InitToolRule]
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
4
|
+
from .app_auth_scheme_auth_mode import AppAuthSchemeAuthMode
|
|
5
|
+
import typing
|
|
6
|
+
from .auth_scheme_field import AuthSchemeField
|
|
7
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
|
8
|
+
import pydantic
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class AppAuthScheme(UncheckedBaseModel):
|
|
12
|
+
"""
|
|
13
|
+
App authenticatio scheme.
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
scheme_name: str
|
|
17
|
+
auth_mode: AppAuthSchemeAuthMode
|
|
18
|
+
fields: typing.List[AuthSchemeField]
|
|
19
|
+
proxy: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None
|
|
20
|
+
authorization_url: typing.Optional[str] = None
|
|
21
|
+
token_url: typing.Optional[str] = None
|
|
22
|
+
default_scopes: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None
|
|
23
|
+
token_response_metadata: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None
|
|
24
|
+
client_id: typing.Optional[str] = None
|
|
25
|
+
client_secret: typing.Optional[str] = None
|
|
26
|
+
|
|
27
|
+
if IS_PYDANTIC_V2:
|
|
28
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
29
|
+
else:
|
|
30
|
+
|
|
31
|
+
class Config:
|
|
32
|
+
frozen = True
|
|
33
|
+
smart_union = True
|
|
34
|
+
extra = pydantic.Extra.allow
|