letta-client 0.1.40__py3-none-any.whl → 0.1.42__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.
Potentially problematic release.
This version of letta-client might be problematic. Click here for more details.
- letta_client/__init__.py +340 -338
- letta_client/agents/__init__.py +2 -4
- letta_client/agents/client.py +24 -24
- letta_client/agents/types/__init__.py +2 -4
- letta_client/agents/types/agents_search_response_agents_item.py +2 -2
- letta_client/agents/types/agents_search_response_agents_item_identity_ids.py +5 -0
- letta_client/core/client_wrapper.py +1 -1
- letta_client/identities/client.py +108 -50
- letta_client/templates/__init__.py +332 -334
- letta_client/templates/client.py +15 -15
- letta_client/templates/types/__init__.py +484 -514
- letta_client/templates/types/{templates_create_agents_from_template_response.py → templates_create_agents_response.py} +3 -5
- letta_client/templates/types/templates_create_agents_response_agents_item.py +84 -0
- letta_client/templates/types/{templates_create_agents_from_template_response_agents_item_agent_type.py → templates_create_agents_response_agents_item_agent_type.py} +1 -1
- letta_client/templates/types/templates_create_agents_response_agents_item_base_template_id.py +13 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_base_template_id_item.py +5 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_created_at.py +13 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_created_at_item.py +5 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_created_by_id.py +13 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_created_by_id_item.py +5 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_description.py +13 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_description_item.py +5 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_embedding_config.py +50 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_embedding_config_azure_deployment.py +13 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_embedding_config_azure_deployment_item.py +5 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_embedding_config_azure_endpoint.py +13 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_embedding_config_azure_endpoint_item.py +5 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_embedding_config_azure_version.py +13 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_embedding_config_azure_version_item.py +5 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_embedding_config_embedding_chunk_size.py +13 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_embedding_config_embedding_chunk_size_item.py +5 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_embedding_config_embedding_endpoint.py +13 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_embedding_config_embedding_endpoint_item.py +5 -0
- letta_client/templates/types/{templates_create_agents_from_template_response_agents_item_embedding_config_embedding_endpoint_type.py → templates_create_agents_response_agents_item_embedding_config_embedding_endpoint_type.py} +1 -1
- letta_client/templates/types/templates_create_agents_response_agents_item_embedding_config_handle.py +13 -0
- letta_client/templates/types/{templates_create_agents_from_template_response_agents_item_project_id_item.py → templates_create_agents_response_agents_item_embedding_config_handle_item.py} +1 -1
- letta_client/templates/types/templates_create_agents_response_agents_item_identity_ids.py +5 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_last_updated_by_id.py +13 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_last_updated_by_id_item.py +5 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_llm_config.py +50 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_llm_config_handle.py +13 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_llm_config_handle_item.py +5 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_llm_config_max_tokens.py +13 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_llm_config_max_tokens_item.py +5 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_llm_config_model_endpoint.py +13 -0
- letta_client/templates/types/{templates_create_agents_from_template_response_agents_item_template_id_item.py → templates_create_agents_response_agents_item_llm_config_model_endpoint_item.py} +1 -1
- letta_client/templates/types/{templates_create_agents_from_template_response_agents_item_llm_config_model_endpoint_type.py → templates_create_agents_response_agents_item_llm_config_model_endpoint_type.py} +1 -1
- letta_client/templates/types/templates_create_agents_response_agents_item_llm_config_model_wrapper.py +13 -0
- letta_client/templates/types/{templates_create_agents_from_template_response_agents_item_updated_at_item.py → templates_create_agents_response_agents_item_llm_config_model_wrapper_item.py} +1 -1
- letta_client/templates/types/templates_create_agents_response_agents_item_llm_config_put_inner_thoughts_in_kwargs.py +13 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_llm_config_put_inner_thoughts_in_kwargs_item.py +5 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_llm_config_temperature.py +5 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_memory.py +26 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item.py +59 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item_created_by_id.py +13 -0
- letta_client/templates/types/{templates_create_agents_from_template_response_agents_item_last_updated_by_id_item.py → templates_create_agents_response_agents_item_memory_blocks_item_created_by_id_item.py} +1 -1
- letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item_description.py +13 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item_description_item.py +5 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item_id.py +5 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item_is_template.py +5 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item_label.py +13 -0
- letta_client/templates/types/{templates_create_agents_from_template_response_agents_item_created_at_item.py → templates_create_agents_response_agents_item_memory_blocks_item_label_item.py} +1 -1
- letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item_last_updated_by_id.py +13 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item_last_updated_by_id_item.py +5 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item_limit.py +5 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item_metadata.py +12 -0
- letta_client/templates/types/{templates_create_agents_from_template_response_agents_item_sources_item_metadata_item.py → templates_create_agents_response_agents_item_memory_blocks_item_metadata_item.py} +1 -1
- letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item_name.py +13 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item_name_item.py +5 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item_organization_id.py +13 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item_organization_id_item.py +5 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_memory_prompt_template.py +5 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_message_buffer_autoclear.py +5 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_message_ids.py +13 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_message_ids_item.py +5 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_metadata.py +12 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_metadata_item.py +5 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_organization_id.py +13 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_organization_id_item.py +5 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_project_id.py +13 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_project_id_item.py +5 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_sources_item.py +55 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_created_at.py +13 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_created_at_item.py +5 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_created_by_id.py +13 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_created_by_id_item.py +5 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_description.py +13 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_description_item.py +5 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_embedding_config.py +56 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_embedding_config_azure_deployment.py +13 -0
- letta_client/templates/types/{templates_create_agents_from_template_response_agents_item_embedding_config_azure_endpoint_item.py → templates_create_agents_response_agents_item_sources_item_embedding_config_azure_deployment_item.py} +1 -1
- letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_embedding_config_azure_endpoint.py +13 -0
- letta_client/templates/types/{templates_create_agents_from_template_response_agents_item_memory_blocks_item_description_item.py → templates_create_agents_response_agents_item_sources_item_embedding_config_azure_endpoint_item.py} +1 -1
- letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_embedding_config_azure_version.py +13 -0
- letta_client/templates/types/{templates_create_agents_from_template_response_agents_item_sources_item_organization_id_item.py → templates_create_agents_response_agents_item_sources_item_embedding_config_azure_version_item.py} +1 -1
- letta_client/templates/types/templates_create_agents_response_agents_item_sources_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 → templates_create_agents_response_agents_item_sources_item_embedding_config_embedding_chunk_size_item.py} +1 -1
- letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_embedding_config_embedding_endpoint.py +15 -0
- letta_client/templates/types/{templates_create_agents_from_template_response_agents_item_embedding_config_azure_deployment_item.py → templates_create_agents_response_agents_item_sources_item_embedding_config_embedding_endpoint_item.py} +1 -1
- letta_client/templates/types/{templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_embedding_endpoint_type.py → templates_create_agents_response_agents_item_sources_item_embedding_config_embedding_endpoint_type.py} +1 -1
- letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_embedding_config_handle.py +13 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_embedding_config_handle_item.py +5 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_id.py +5 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_last_updated_by_id.py +13 -0
- letta_client/templates/types/{templates_create_agents_from_template_response_agents_item_organization_id_item.py → templates_create_agents_response_agents_item_sources_item_last_updated_by_id_item.py} +1 -1
- letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_metadata.py +12 -0
- letta_client/templates/types/{templates_create_agents_from_template_response_agents_item_metadata_item.py → templates_create_agents_response_agents_item_sources_item_metadata_item.py} +1 -1
- letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_organization_id.py +13 -0
- letta_client/templates/types/{templates_create_agents_from_template_response_agents_item_identifier_key_item.py → templates_create_agents_response_agents_item_sources_item_organization_id_item.py} +1 -1
- letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_updated_at.py +13 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_updated_at_item.py +5 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_template_id.py +13 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_template_id_item.py +5 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_tool_exec_environment_variables.py +10 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_tool_exec_environment_variables_item.py +57 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_tool_exec_environment_variables_item_created_at.py +13 -0
- letta_client/templates/types/{templates_create_agents_from_template_response_agents_item_embedding_config_azure_version_item.py → templates_create_agents_response_agents_item_tool_exec_environment_variables_item_created_at_item.py} +1 -1
- letta_client/templates/types/templates_create_agents_response_agents_item_tool_exec_environment_variables_item_created_by_id.py +15 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_tool_exec_environment_variables_item_created_by_id_item.py +7 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_tool_exec_environment_variables_item_description.py +15 -0
- letta_client/templates/types/templates_create_agents_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 → templates_create_agents_response_agents_item_tool_exec_environment_variables_item_id.py} +1 -1
- letta_client/templates/types/templates_create_agents_response_agents_item_tool_exec_environment_variables_item_last_updated_by_id.py +15 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_tool_exec_environment_variables_item_last_updated_by_id_item.py +7 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_tool_exec_environment_variables_item_organization_id.py +15 -0
- letta_client/templates/types/{templates_create_agents_from_template_response_agents_item_embedding_config_embedding_endpoint_item.py → templates_create_agents_response_agents_item_tool_exec_environment_variables_item_organization_id_item.py} +1 -1
- letta_client/templates/types/templates_create_agents_response_agents_item_tool_exec_environment_variables_item_updated_at.py +13 -0
- letta_client/templates/types/{templates_create_agents_from_template_response_agents_item_memory_blocks_item_created_by_id_item.py → templates_create_agents_response_agents_item_tool_exec_environment_variables_item_updated_at_item.py} +1 -1
- letta_client/templates/types/templates_create_agents_response_agents_item_tool_rules.py +13 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_tool_rules_item.py +10 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_tool_rules_item_child_output_mapping.py +36 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_tool_rules_item_child_output_mapping_default_child.py +15 -0
- letta_client/templates/types/templates_create_agents_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_memory_blocks_item_is_template.py → templates_create_agents_response_agents_item_tool_rules_item_child_output_mapping_require_output_mapping.py} +1 -1
- letta_client/templates/types/{templates_create_agents_from_template_response_agents_item_tool_rules_item_child_output_mapping_type.py → templates_create_agents_response_agents_item_tool_rules_item_child_output_mapping_type.py} +1 -1
- letta_client/templates/types/{templates_create_agents_from_template_response_agents_item_tool_rules_item_children.py → templates_create_agents_response_agents_item_tool_rules_item_children.py} +4 -4
- letta_client/templates/types/{templates_create_agents_from_template_response_agents_item_tool_rules_item_children_type.py → templates_create_agents_response_agents_item_tool_rules_item_children_type.py} +1 -1
- letta_client/templates/types/templates_create_agents_response_agents_item_tool_rules_item_item.py +26 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_tool_rules_item_item_child_output_mapping.py +36 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_tool_rules_item_item_child_output_mapping_default_child.py +15 -0
- letta_client/templates/types/templates_create_agents_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_message_buffer_autoclear.py → templates_create_agents_response_agents_item_tool_rules_item_item_child_output_mapping_require_output_mapping.py} +1 -1
- letta_client/templates/types/{templates_create_agents_from_template_response_agents_item_tool_rules_item_item_child_output_mapping_type.py → templates_create_agents_response_agents_item_tool_rules_item_item_child_output_mapping_type.py} +1 -1
- letta_client/templates/types/{templates_create_agents_from_template_response_agents_item_tool_rules_item_item_children.py → templates_create_agents_response_agents_item_tool_rules_item_item_children.py} +4 -4
- letta_client/templates/types/{templates_create_agents_from_template_response_agents_item_tool_rules_item_item_children_type.py → templates_create_agents_response_agents_item_tool_rules_item_item_children_type.py} +1 -1
- letta_client/templates/types/{templates_create_agents_from_template_response_agents_item_tool_rules_item_two.py → templates_create_agents_response_agents_item_tool_rules_item_item_one.py} +4 -4
- letta_client/templates/types/{templates_create_agents_from_template_response_agents_item_tool_rules_item_one_type.py → templates_create_agents_response_agents_item_tool_rules_item_item_one_type.py} +1 -1
- letta_client/templates/types/{templates_create_agents_from_template_response_agents_item_tool_rules_item_one.py → templates_create_agents_response_agents_item_tool_rules_item_item_tool_name.py} +4 -4
- letta_client/templates/types/{templates_create_agents_from_template_response_agents_item_tool_rules_item_tool_name_type.py → templates_create_agents_response_agents_item_tool_rules_item_item_tool_name_type.py} +1 -1
- letta_client/templates/types/{templates_create_agents_from_template_response_agents_item_tool_rules_item_item_two.py → templates_create_agents_response_agents_item_tool_rules_item_item_two.py} +4 -4
- letta_client/templates/types/{templates_create_agents_from_template_response_agents_item_tool_rules_item_two_type.py → templates_create_agents_response_agents_item_tool_rules_item_item_two_type.py} +1 -1
- letta_client/templates/types/templates_create_agents_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_item_one_type.py → templates_create_agents_response_agents_item_tool_rules_item_one_type.py} +1 -1
- letta_client/templates/types/templates_create_agents_response_agents_item_tool_rules_item_tool_name.py +23 -0
- letta_client/templates/types/{templates_create_agents_from_template_response_agents_item_tool_rules_item_item_tool_name_type.py → templates_create_agents_response_agents_item_tool_rules_item_tool_name_type.py} +1 -1
- letta_client/templates/types/templates_create_agents_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_item_two_type.py → templates_create_agents_response_agents_item_tool_rules_item_two_type.py} +1 -1
- letta_client/templates/types/templates_create_agents_response_agents_item_tools_item.py +57 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_tools_item_created_by_id.py +12 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_tools_item_created_by_id_item.py +5 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_tools_item_description.py +12 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_tools_item_description_item.py +5 -0
- letta_client/templates/types/templates_create_agents_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 → templates_create_agents_response_agents_item_tools_item_json_schema_item.py} +1 -1
- letta_client/templates/types/templates_create_agents_response_agents_item_tools_item_last_updated_by_id.py +12 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_tools_item_last_updated_by_id_item.py +5 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_tools_item_name.py +10 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_tools_item_name_item.py +5 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_tools_item_organization_id.py +12 -0
- letta_client/templates/types/{templates_create_agents_from_template_response_agents_item_created_by_id_item.py → templates_create_agents_response_agents_item_tools_item_organization_id_item.py} +1 -1
- letta_client/templates/types/templates_create_agents_response_agents_item_tools_item_source_code.py +12 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_tools_item_source_code_item.py +5 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_tools_item_source_type.py +12 -0
- letta_client/templates/types/templates_create_agents_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 → templates_create_agents_response_agents_item_tools_item_tool_type.py} +1 -1
- letta_client/templates/types/templates_create_agents_response_agents_item_updated_at.py +13 -0
- letta_client/templates/types/templates_create_agents_response_agents_item_updated_at_item.py +5 -0
- letta_client/types/__init__.py +6 -0
- letta_client/types/agent_state.py +2 -2
- letta_client/types/identity.py +8 -3
- letta_client/types/identity_create.py +6 -0
- letta_client/types/identity_property.py +38 -0
- letta_client/types/identity_property_type.py +5 -0
- letta_client/types/identity_property_value.py +5 -0
- {letta_client-0.1.40.dist-info → letta_client-0.1.42.dist-info}/METADATA +1 -1
- {letta_client-0.1.40.dist-info → letta_client-0.1.42.dist-info}/RECORD +187 -186
- letta_client/agents/types/agents_search_response_agents_item_identifier_key.py +0 -11
- letta_client/agents/types/agents_search_response_agents_item_identifier_key_item.py +0 -5
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item.py +0 -110
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_base_template_id.py +0 -13
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_base_template_id_item.py +0 -5
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_created_at.py +0 -13
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_created_by_id.py +0 -13
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_description.py +0 -13
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_description_item.py +0 -5
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config.py +0 -58
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_azure_deployment.py +0 -13
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_azure_endpoint.py +0 -13
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_azure_version.py +0 -13
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_embedding_chunk_size.py +0 -15
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_embedding_endpoint.py +0 -15
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_handle.py +0 -13
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_handle_item.py +0 -5
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_identifier_key.py +0 -13
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_last_updated_by_id.py +0 -13
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config.py +0 -50
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_handle.py +0 -13
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_handle_item.py +0 -5
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_max_tokens.py +0 -13
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_max_tokens_item.py +0 -5
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_model_endpoint.py +0 -13
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_model_endpoint_item.py +0 -5
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_model_wrapper.py +0 -13
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_model_wrapper_item.py +0 -5
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_put_inner_thoughts_in_kwargs.py +0 -15
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_put_inner_thoughts_in_kwargs_item.py +0 -7
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_temperature.py +0 -7
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory.py +0 -26
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item.py +0 -65
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_created_by_id.py +0 -13
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_description.py +0 -13
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_id.py +0 -5
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_label.py +0 -13
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_label_item.py +0 -5
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_last_updated_by_id.py +0 -15
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_last_updated_by_id_item.py +0 -7
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_limit.py +0 -7
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_metadata.py +0 -12
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_metadata_item.py +0 -7
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_name.py +0 -13
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_name_item.py +0 -5
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_organization_id.py +0 -13
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_organization_id_item.py +0 -7
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_prompt_template.py +0 -5
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_message_ids.py +0 -13
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_message_ids_item.py +0 -5
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_metadata.py +0 -12
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_organization_id.py +0 -13
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_project_id.py +0 -13
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item.py +0 -59
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_created_at.py +0 -13
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_created_at_item.py +0 -5
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_created_by_id.py +0 -13
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_created_by_id_item.py +0 -5
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_description.py +0 -13
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_description_item.py +0 -5
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config.py +0 -60
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_azure_deployment.py +0 -17
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_azure_deployment_item.py +0 -7
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_azure_endpoint.py +0 -15
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_azure_endpoint_item.py +0 -7
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_azure_version.py +0 -15
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_azure_version_item.py +0 -7
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_embedding_chunk_size.py +0 -17
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_embedding_chunk_size_item.py +0 -7
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_embedding_endpoint.py +0 -17
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_embedding_endpoint_item.py +0 -7
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_handle.py +0 -15
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_handle_item.py +0 -7
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_id.py +0 -5
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_last_updated_by_id.py +0 -13
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_last_updated_by_id_item.py +0 -7
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_metadata.py +0 -12
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_organization_id.py +0 -13
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_updated_at.py +0 -13
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_updated_at_item.py +0 -5
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_template_id.py +0 -13
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables.py +0 -11
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item.py +0 -61
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_created_at.py +0 -17
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_created_at_item.py +0 -7
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_created_by_id.py +0 -17
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_created_by_id_item.py +0 -7
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_description.py +0 -17
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_description_item.py +0 -7
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_last_updated_by_id.py +0 -17
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_last_updated_by_id_item.py +0 -7
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_organization_id.py +0 -17
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_organization_id_item.py +0 -7
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_updated_at.py +0 -17
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_updated_at_item.py +0 -7
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules.py +0 -13
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item.py +0 -10
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_child_output_mapping.py +0 -36
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_child_output_mapping_default_child.py +0 -17
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_child_output_mapping_default_child_item.py +0 -7
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_child_output_mapping_require_output_mapping.py +0 -7
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item.py +0 -26
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_child_output_mapping.py +0 -38
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_child_output_mapping_default_child.py +0 -17
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_child_output_mapping_default_child_item.py +0 -7
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_child_output_mapping_require_output_mapping.py +0 -7
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_one.py +0 -23
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_tool_name.py +0 -23
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_tool_name.py +0 -23
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item.py +0 -59
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_created_by_id.py +0 -12
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_created_by_id_item.py +0 -5
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_description.py +0 -12
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_description_item.py +0 -5
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_json_schema.py +0 -12
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_last_updated_by_id.py +0 -12
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_last_updated_by_id_item.py +0 -7
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_name.py +0 -12
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_name_item.py +0 -5
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_organization_id.py +0 -12
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_organization_id_item.py +0 -5
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_source_code.py +0 -12
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_source_code_item.py +0 -5
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_source_type.py +0 -12
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_source_type_item.py +0 -5
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_updated_at.py +0 -13
- {letta_client-0.1.40.dist-info → letta_client-0.1.42.dist-info}/WHEEL +0 -0
|
@@ -2,15 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
from ...core.unchecked_base_model import UncheckedBaseModel
|
|
4
4
|
import typing
|
|
5
|
-
from .
|
|
6
|
-
TemplatesCreateAgentsFromTemplateResponseAgentsItem,
|
|
7
|
-
)
|
|
5
|
+
from .templates_create_agents_response_agents_item import TemplatesCreateAgentsResponseAgentsItem
|
|
8
6
|
from ...core.pydantic_utilities import IS_PYDANTIC_V2
|
|
9
7
|
import pydantic
|
|
10
8
|
|
|
11
9
|
|
|
12
|
-
class
|
|
13
|
-
agents: typing.List[
|
|
10
|
+
class TemplatesCreateAgentsResponse(UncheckedBaseModel):
|
|
11
|
+
agents: typing.List[TemplatesCreateAgentsResponseAgentsItem]
|
|
14
12
|
|
|
15
13
|
if IS_PYDANTIC_V2:
|
|
16
14
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
@@ -0,0 +1,84 @@
|
|
|
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 .templates_create_agents_response_agents_item_created_by_id import (
|
|
6
|
+
TemplatesCreateAgentsResponseAgentsItemCreatedById,
|
|
7
|
+
)
|
|
8
|
+
from .templates_create_agents_response_agents_item_last_updated_by_id import (
|
|
9
|
+
TemplatesCreateAgentsResponseAgentsItemLastUpdatedById,
|
|
10
|
+
)
|
|
11
|
+
from .templates_create_agents_response_agents_item_created_at import TemplatesCreateAgentsResponseAgentsItemCreatedAt
|
|
12
|
+
from .templates_create_agents_response_agents_item_updated_at import TemplatesCreateAgentsResponseAgentsItemUpdatedAt
|
|
13
|
+
from .templates_create_agents_response_agents_item_tool_rules import TemplatesCreateAgentsResponseAgentsItemToolRules
|
|
14
|
+
from .templates_create_agents_response_agents_item_message_ids import TemplatesCreateAgentsResponseAgentsItemMessageIds
|
|
15
|
+
from .templates_create_agents_response_agents_item_agent_type import TemplatesCreateAgentsResponseAgentsItemAgentType
|
|
16
|
+
from .templates_create_agents_response_agents_item_llm_config import TemplatesCreateAgentsResponseAgentsItemLlmConfig
|
|
17
|
+
from .templates_create_agents_response_agents_item_embedding_config import (
|
|
18
|
+
TemplatesCreateAgentsResponseAgentsItemEmbeddingConfig,
|
|
19
|
+
)
|
|
20
|
+
from .templates_create_agents_response_agents_item_organization_id import (
|
|
21
|
+
TemplatesCreateAgentsResponseAgentsItemOrganizationId,
|
|
22
|
+
)
|
|
23
|
+
from .templates_create_agents_response_agents_item_description import TemplatesCreateAgentsResponseAgentsItemDescription
|
|
24
|
+
from .templates_create_agents_response_agents_item_metadata import TemplatesCreateAgentsResponseAgentsItemMetadata
|
|
25
|
+
from .templates_create_agents_response_agents_item_memory import TemplatesCreateAgentsResponseAgentsItemMemory
|
|
26
|
+
from .templates_create_agents_response_agents_item_tools_item import TemplatesCreateAgentsResponseAgentsItemToolsItem
|
|
27
|
+
from .templates_create_agents_response_agents_item_sources_item import (
|
|
28
|
+
TemplatesCreateAgentsResponseAgentsItemSourcesItem,
|
|
29
|
+
)
|
|
30
|
+
from .templates_create_agents_response_agents_item_tool_exec_environment_variables import (
|
|
31
|
+
TemplatesCreateAgentsResponseAgentsItemToolExecEnvironmentVariables,
|
|
32
|
+
)
|
|
33
|
+
from .templates_create_agents_response_agents_item_project_id import TemplatesCreateAgentsResponseAgentsItemProjectId
|
|
34
|
+
from .templates_create_agents_response_agents_item_template_id import TemplatesCreateAgentsResponseAgentsItemTemplateId
|
|
35
|
+
from .templates_create_agents_response_agents_item_base_template_id import (
|
|
36
|
+
TemplatesCreateAgentsResponseAgentsItemBaseTemplateId,
|
|
37
|
+
)
|
|
38
|
+
from .templates_create_agents_response_agents_item_identity_ids import (
|
|
39
|
+
TemplatesCreateAgentsResponseAgentsItemIdentityIds,
|
|
40
|
+
)
|
|
41
|
+
from .templates_create_agents_response_agents_item_message_buffer_autoclear import (
|
|
42
|
+
TemplatesCreateAgentsResponseAgentsItemMessageBufferAutoclear,
|
|
43
|
+
)
|
|
44
|
+
from ...core.pydantic_utilities import IS_PYDANTIC_V2
|
|
45
|
+
import pydantic
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
class TemplatesCreateAgentsResponseAgentsItem(UncheckedBaseModel):
|
|
49
|
+
created_by_id: typing.Optional[TemplatesCreateAgentsResponseAgentsItemCreatedById] = None
|
|
50
|
+
last_updated_by_id: typing.Optional[TemplatesCreateAgentsResponseAgentsItemLastUpdatedById] = None
|
|
51
|
+
created_at: typing.Optional[TemplatesCreateAgentsResponseAgentsItemCreatedAt] = None
|
|
52
|
+
updated_at: typing.Optional[TemplatesCreateAgentsResponseAgentsItemUpdatedAt] = None
|
|
53
|
+
id: str
|
|
54
|
+
name: str
|
|
55
|
+
tool_rules: typing.Optional[TemplatesCreateAgentsResponseAgentsItemToolRules] = None
|
|
56
|
+
message_ids: typing.Optional[TemplatesCreateAgentsResponseAgentsItemMessageIds] = None
|
|
57
|
+
system: str
|
|
58
|
+
agent_type: TemplatesCreateAgentsResponseAgentsItemAgentType
|
|
59
|
+
llm_config: TemplatesCreateAgentsResponseAgentsItemLlmConfig
|
|
60
|
+
embedding_config: TemplatesCreateAgentsResponseAgentsItemEmbeddingConfig
|
|
61
|
+
organization_id: typing.Optional[TemplatesCreateAgentsResponseAgentsItemOrganizationId] = None
|
|
62
|
+
description: typing.Optional[TemplatesCreateAgentsResponseAgentsItemDescription] = None
|
|
63
|
+
metadata: typing.Optional[TemplatesCreateAgentsResponseAgentsItemMetadata] = None
|
|
64
|
+
memory: TemplatesCreateAgentsResponseAgentsItemMemory
|
|
65
|
+
tools: typing.List[TemplatesCreateAgentsResponseAgentsItemToolsItem]
|
|
66
|
+
sources: typing.List[TemplatesCreateAgentsResponseAgentsItemSourcesItem]
|
|
67
|
+
tags: typing.List[str]
|
|
68
|
+
tool_exec_environment_variables: typing.Optional[
|
|
69
|
+
TemplatesCreateAgentsResponseAgentsItemToolExecEnvironmentVariables
|
|
70
|
+
] = None
|
|
71
|
+
project_id: typing.Optional[TemplatesCreateAgentsResponseAgentsItemProjectId] = None
|
|
72
|
+
template_id: typing.Optional[TemplatesCreateAgentsResponseAgentsItemTemplateId] = None
|
|
73
|
+
base_template_id: typing.Optional[TemplatesCreateAgentsResponseAgentsItemBaseTemplateId] = None
|
|
74
|
+
identity_ids: typing.Optional[TemplatesCreateAgentsResponseAgentsItemIdentityIds] = None
|
|
75
|
+
message_buffer_autoclear: typing.Optional[TemplatesCreateAgentsResponseAgentsItemMessageBufferAutoclear] = None
|
|
76
|
+
|
|
77
|
+
if IS_PYDANTIC_V2:
|
|
78
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
79
|
+
else:
|
|
80
|
+
|
|
81
|
+
class Config:
|
|
82
|
+
frozen = True
|
|
83
|
+
smart_union = True
|
|
84
|
+
extra = pydantic.Extra.allow
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
TemplatesCreateAgentsResponseAgentsItemAgentType = typing.Union[
|
|
6
6
|
typing.Literal["memgpt_agent", "split_thread_agent", "offline_memory_agent", "chat_only_agent"], typing.Any
|
|
7
7
|
]
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
from .templates_create_agents_response_agents_item_base_template_id_item import (
|
|
5
|
+
TemplatesCreateAgentsResponseAgentsItemBaseTemplateIdItem,
|
|
6
|
+
)
|
|
7
|
+
|
|
8
|
+
TemplatesCreateAgentsResponseAgentsItemBaseTemplateId = typing.Union[
|
|
9
|
+
str,
|
|
10
|
+
typing.Optional[str],
|
|
11
|
+
typing.List[typing.Optional[TemplatesCreateAgentsResponseAgentsItemBaseTemplateIdItem]],
|
|
12
|
+
typing.Optional[typing.Any],
|
|
13
|
+
]
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
from .templates_create_agents_response_agents_item_created_at_item import (
|
|
5
|
+
TemplatesCreateAgentsResponseAgentsItemCreatedAtItem,
|
|
6
|
+
)
|
|
7
|
+
|
|
8
|
+
TemplatesCreateAgentsResponseAgentsItemCreatedAt = typing.Union[
|
|
9
|
+
str,
|
|
10
|
+
typing.Optional[str],
|
|
11
|
+
typing.List[typing.Optional[TemplatesCreateAgentsResponseAgentsItemCreatedAtItem]],
|
|
12
|
+
typing.Optional[typing.Any],
|
|
13
|
+
]
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
from .templates_create_agents_response_agents_item_created_by_id_item import (
|
|
5
|
+
TemplatesCreateAgentsResponseAgentsItemCreatedByIdItem,
|
|
6
|
+
)
|
|
7
|
+
|
|
8
|
+
TemplatesCreateAgentsResponseAgentsItemCreatedById = typing.Union[
|
|
9
|
+
str,
|
|
10
|
+
typing.Optional[str],
|
|
11
|
+
typing.List[typing.Optional[TemplatesCreateAgentsResponseAgentsItemCreatedByIdItem]],
|
|
12
|
+
typing.Optional[typing.Any],
|
|
13
|
+
]
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
from .templates_create_agents_response_agents_item_description_item import (
|
|
5
|
+
TemplatesCreateAgentsResponseAgentsItemDescriptionItem,
|
|
6
|
+
)
|
|
7
|
+
|
|
8
|
+
TemplatesCreateAgentsResponseAgentsItemDescription = typing.Union[
|
|
9
|
+
str,
|
|
10
|
+
typing.Optional[str],
|
|
11
|
+
typing.List[typing.Optional[TemplatesCreateAgentsResponseAgentsItemDescriptionItem]],
|
|
12
|
+
typing.Optional[typing.Any],
|
|
13
|
+
]
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
from ...core.unchecked_base_model import UncheckedBaseModel
|
|
4
|
+
from .templates_create_agents_response_agents_item_embedding_config_embedding_endpoint_type import (
|
|
5
|
+
TemplatesCreateAgentsResponseAgentsItemEmbeddingConfigEmbeddingEndpointType,
|
|
6
|
+
)
|
|
7
|
+
import typing
|
|
8
|
+
from .templates_create_agents_response_agents_item_embedding_config_embedding_endpoint import (
|
|
9
|
+
TemplatesCreateAgentsResponseAgentsItemEmbeddingConfigEmbeddingEndpoint,
|
|
10
|
+
)
|
|
11
|
+
from .templates_create_agents_response_agents_item_embedding_config_embedding_chunk_size import (
|
|
12
|
+
TemplatesCreateAgentsResponseAgentsItemEmbeddingConfigEmbeddingChunkSize,
|
|
13
|
+
)
|
|
14
|
+
from .templates_create_agents_response_agents_item_embedding_config_handle import (
|
|
15
|
+
TemplatesCreateAgentsResponseAgentsItemEmbeddingConfigHandle,
|
|
16
|
+
)
|
|
17
|
+
from .templates_create_agents_response_agents_item_embedding_config_azure_endpoint import (
|
|
18
|
+
TemplatesCreateAgentsResponseAgentsItemEmbeddingConfigAzureEndpoint,
|
|
19
|
+
)
|
|
20
|
+
from .templates_create_agents_response_agents_item_embedding_config_azure_version import (
|
|
21
|
+
TemplatesCreateAgentsResponseAgentsItemEmbeddingConfigAzureVersion,
|
|
22
|
+
)
|
|
23
|
+
from .templates_create_agents_response_agents_item_embedding_config_azure_deployment import (
|
|
24
|
+
TemplatesCreateAgentsResponseAgentsItemEmbeddingConfigAzureDeployment,
|
|
25
|
+
)
|
|
26
|
+
from ...core.pydantic_utilities import IS_PYDANTIC_V2
|
|
27
|
+
import pydantic
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
class TemplatesCreateAgentsResponseAgentsItemEmbeddingConfig(UncheckedBaseModel):
|
|
31
|
+
embedding_endpoint_type: TemplatesCreateAgentsResponseAgentsItemEmbeddingConfigEmbeddingEndpointType
|
|
32
|
+
embedding_endpoint: typing.Optional[TemplatesCreateAgentsResponseAgentsItemEmbeddingConfigEmbeddingEndpoint] = None
|
|
33
|
+
embedding_model: str
|
|
34
|
+
embedding_dim: float
|
|
35
|
+
embedding_chunk_size: typing.Optional[TemplatesCreateAgentsResponseAgentsItemEmbeddingConfigEmbeddingChunkSize] = (
|
|
36
|
+
None
|
|
37
|
+
)
|
|
38
|
+
handle: typing.Optional[TemplatesCreateAgentsResponseAgentsItemEmbeddingConfigHandle] = None
|
|
39
|
+
azure_endpoint: typing.Optional[TemplatesCreateAgentsResponseAgentsItemEmbeddingConfigAzureEndpoint] = None
|
|
40
|
+
azure_version: typing.Optional[TemplatesCreateAgentsResponseAgentsItemEmbeddingConfigAzureVersion] = None
|
|
41
|
+
azure_deployment: typing.Optional[TemplatesCreateAgentsResponseAgentsItemEmbeddingConfigAzureDeployment] = None
|
|
42
|
+
|
|
43
|
+
if IS_PYDANTIC_V2:
|
|
44
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
45
|
+
else:
|
|
46
|
+
|
|
47
|
+
class Config:
|
|
48
|
+
frozen = True
|
|
49
|
+
smart_union = True
|
|
50
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
from .templates_create_agents_response_agents_item_embedding_config_azure_deployment_item import (
|
|
5
|
+
TemplatesCreateAgentsResponseAgentsItemEmbeddingConfigAzureDeploymentItem,
|
|
6
|
+
)
|
|
7
|
+
|
|
8
|
+
TemplatesCreateAgentsResponseAgentsItemEmbeddingConfigAzureDeployment = typing.Union[
|
|
9
|
+
str,
|
|
10
|
+
typing.Optional[str],
|
|
11
|
+
typing.List[typing.Optional[TemplatesCreateAgentsResponseAgentsItemEmbeddingConfigAzureDeploymentItem]],
|
|
12
|
+
typing.Optional[typing.Any],
|
|
13
|
+
]
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
from .templates_create_agents_response_agents_item_embedding_config_azure_endpoint_item import (
|
|
5
|
+
TemplatesCreateAgentsResponseAgentsItemEmbeddingConfigAzureEndpointItem,
|
|
6
|
+
)
|
|
7
|
+
|
|
8
|
+
TemplatesCreateAgentsResponseAgentsItemEmbeddingConfigAzureEndpoint = typing.Union[
|
|
9
|
+
str,
|
|
10
|
+
typing.Optional[str],
|
|
11
|
+
typing.List[typing.Optional[TemplatesCreateAgentsResponseAgentsItemEmbeddingConfigAzureEndpointItem]],
|
|
12
|
+
typing.Optional[typing.Any],
|
|
13
|
+
]
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
from .templates_create_agents_response_agents_item_embedding_config_azure_version_item import (
|
|
5
|
+
TemplatesCreateAgentsResponseAgentsItemEmbeddingConfigAzureVersionItem,
|
|
6
|
+
)
|
|
7
|
+
|
|
8
|
+
TemplatesCreateAgentsResponseAgentsItemEmbeddingConfigAzureVersion = typing.Union[
|
|
9
|
+
str,
|
|
10
|
+
typing.Optional[str],
|
|
11
|
+
typing.List[typing.Optional[TemplatesCreateAgentsResponseAgentsItemEmbeddingConfigAzureVersionItem]],
|
|
12
|
+
typing.Optional[typing.Any],
|
|
13
|
+
]
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
from .templates_create_agents_response_agents_item_embedding_config_embedding_chunk_size_item import (
|
|
5
|
+
TemplatesCreateAgentsResponseAgentsItemEmbeddingConfigEmbeddingChunkSizeItem,
|
|
6
|
+
)
|
|
7
|
+
|
|
8
|
+
TemplatesCreateAgentsResponseAgentsItemEmbeddingConfigEmbeddingChunkSize = typing.Union[
|
|
9
|
+
float,
|
|
10
|
+
typing.Optional[str],
|
|
11
|
+
typing.List[typing.Optional[TemplatesCreateAgentsResponseAgentsItemEmbeddingConfigEmbeddingChunkSizeItem]],
|
|
12
|
+
typing.Optional[typing.Any],
|
|
13
|
+
]
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
from .templates_create_agents_response_agents_item_embedding_config_embedding_endpoint_item import (
|
|
5
|
+
TemplatesCreateAgentsResponseAgentsItemEmbeddingConfigEmbeddingEndpointItem,
|
|
6
|
+
)
|
|
7
|
+
|
|
8
|
+
TemplatesCreateAgentsResponseAgentsItemEmbeddingConfigEmbeddingEndpoint = typing.Union[
|
|
9
|
+
str,
|
|
10
|
+
typing.Optional[str],
|
|
11
|
+
typing.List[typing.Optional[TemplatesCreateAgentsResponseAgentsItemEmbeddingConfigEmbeddingEndpointItem]],
|
|
12
|
+
typing.Optional[typing.Any],
|
|
13
|
+
]
|
letta_client/templates/types/templates_create_agents_response_agents_item_embedding_config_handle.py
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
from .templates_create_agents_response_agents_item_embedding_config_handle_item import (
|
|
5
|
+
TemplatesCreateAgentsResponseAgentsItemEmbeddingConfigHandleItem,
|
|
6
|
+
)
|
|
7
|
+
|
|
8
|
+
TemplatesCreateAgentsResponseAgentsItemEmbeddingConfigHandle = typing.Union[
|
|
9
|
+
str,
|
|
10
|
+
typing.Optional[str],
|
|
11
|
+
typing.List[typing.Optional[TemplatesCreateAgentsResponseAgentsItemEmbeddingConfigHandleItem]],
|
|
12
|
+
typing.Optional[typing.Any],
|
|
13
|
+
]
|
letta_client/templates/types/templates_create_agents_response_agents_item_last_updated_by_id.py
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
from .templates_create_agents_response_agents_item_last_updated_by_id_item import (
|
|
5
|
+
TemplatesCreateAgentsResponseAgentsItemLastUpdatedByIdItem,
|
|
6
|
+
)
|
|
7
|
+
|
|
8
|
+
TemplatesCreateAgentsResponseAgentsItemLastUpdatedById = typing.Union[
|
|
9
|
+
str,
|
|
10
|
+
typing.Optional[str],
|
|
11
|
+
typing.List[typing.Optional[TemplatesCreateAgentsResponseAgentsItemLastUpdatedByIdItem]],
|
|
12
|
+
typing.Optional[typing.Any],
|
|
13
|
+
]
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
from ...core.unchecked_base_model import UncheckedBaseModel
|
|
4
|
+
from .templates_create_agents_response_agents_item_llm_config_model_endpoint_type import (
|
|
5
|
+
TemplatesCreateAgentsResponseAgentsItemLlmConfigModelEndpointType,
|
|
6
|
+
)
|
|
7
|
+
import typing
|
|
8
|
+
from .templates_create_agents_response_agents_item_llm_config_model_endpoint import (
|
|
9
|
+
TemplatesCreateAgentsResponseAgentsItemLlmConfigModelEndpoint,
|
|
10
|
+
)
|
|
11
|
+
from .templates_create_agents_response_agents_item_llm_config_model_wrapper import (
|
|
12
|
+
TemplatesCreateAgentsResponseAgentsItemLlmConfigModelWrapper,
|
|
13
|
+
)
|
|
14
|
+
from .templates_create_agents_response_agents_item_llm_config_put_inner_thoughts_in_kwargs import (
|
|
15
|
+
TemplatesCreateAgentsResponseAgentsItemLlmConfigPutInnerThoughtsInKwargs,
|
|
16
|
+
)
|
|
17
|
+
from .templates_create_agents_response_agents_item_llm_config_handle import (
|
|
18
|
+
TemplatesCreateAgentsResponseAgentsItemLlmConfigHandle,
|
|
19
|
+
)
|
|
20
|
+
from .templates_create_agents_response_agents_item_llm_config_temperature import (
|
|
21
|
+
TemplatesCreateAgentsResponseAgentsItemLlmConfigTemperature,
|
|
22
|
+
)
|
|
23
|
+
from .templates_create_agents_response_agents_item_llm_config_max_tokens import (
|
|
24
|
+
TemplatesCreateAgentsResponseAgentsItemLlmConfigMaxTokens,
|
|
25
|
+
)
|
|
26
|
+
from ...core.pydantic_utilities import IS_PYDANTIC_V2
|
|
27
|
+
import pydantic
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
class TemplatesCreateAgentsResponseAgentsItemLlmConfig(UncheckedBaseModel):
|
|
31
|
+
model: str
|
|
32
|
+
model_endpoint_type: TemplatesCreateAgentsResponseAgentsItemLlmConfigModelEndpointType
|
|
33
|
+
model_endpoint: typing.Optional[TemplatesCreateAgentsResponseAgentsItemLlmConfigModelEndpoint] = None
|
|
34
|
+
model_wrapper: typing.Optional[TemplatesCreateAgentsResponseAgentsItemLlmConfigModelWrapper] = None
|
|
35
|
+
context_window: float
|
|
36
|
+
put_inner_thoughts_in_kwargs: typing.Optional[
|
|
37
|
+
TemplatesCreateAgentsResponseAgentsItemLlmConfigPutInnerThoughtsInKwargs
|
|
38
|
+
] = None
|
|
39
|
+
handle: typing.Optional[TemplatesCreateAgentsResponseAgentsItemLlmConfigHandle] = None
|
|
40
|
+
temperature: typing.Optional[TemplatesCreateAgentsResponseAgentsItemLlmConfigTemperature] = None
|
|
41
|
+
max_tokens: typing.Optional[TemplatesCreateAgentsResponseAgentsItemLlmConfigMaxTokens] = None
|
|
42
|
+
|
|
43
|
+
if IS_PYDANTIC_V2:
|
|
44
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
45
|
+
else:
|
|
46
|
+
|
|
47
|
+
class Config:
|
|
48
|
+
frozen = True
|
|
49
|
+
smart_union = True
|
|
50
|
+
extra = pydantic.Extra.allow
|
letta_client/templates/types/templates_create_agents_response_agents_item_llm_config_handle.py
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
from .templates_create_agents_response_agents_item_llm_config_handle_item import (
|
|
5
|
+
TemplatesCreateAgentsResponseAgentsItemLlmConfigHandleItem,
|
|
6
|
+
)
|
|
7
|
+
|
|
8
|
+
TemplatesCreateAgentsResponseAgentsItemLlmConfigHandle = typing.Union[
|
|
9
|
+
str,
|
|
10
|
+
typing.Optional[str],
|
|
11
|
+
typing.List[typing.Optional[TemplatesCreateAgentsResponseAgentsItemLlmConfigHandleItem]],
|
|
12
|
+
typing.Optional[typing.Any],
|
|
13
|
+
]
|
letta_client/templates/types/templates_create_agents_response_agents_item_llm_config_max_tokens.py
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
from .templates_create_agents_response_agents_item_llm_config_max_tokens_item import (
|
|
5
|
+
TemplatesCreateAgentsResponseAgentsItemLlmConfigMaxTokensItem,
|
|
6
|
+
)
|
|
7
|
+
|
|
8
|
+
TemplatesCreateAgentsResponseAgentsItemLlmConfigMaxTokens = typing.Union[
|
|
9
|
+
float,
|
|
10
|
+
typing.Optional[str],
|
|
11
|
+
typing.List[typing.Optional[TemplatesCreateAgentsResponseAgentsItemLlmConfigMaxTokensItem]],
|
|
12
|
+
typing.Optional[typing.Any],
|
|
13
|
+
]
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
from .templates_create_agents_response_agents_item_llm_config_model_endpoint_item import (
|
|
5
|
+
TemplatesCreateAgentsResponseAgentsItemLlmConfigModelEndpointItem,
|
|
6
|
+
)
|
|
7
|
+
|
|
8
|
+
TemplatesCreateAgentsResponseAgentsItemLlmConfigModelEndpoint = typing.Union[
|
|
9
|
+
str,
|
|
10
|
+
typing.Optional[str],
|
|
11
|
+
typing.List[typing.Optional[TemplatesCreateAgentsResponseAgentsItemLlmConfigModelEndpointItem]],
|
|
12
|
+
typing.Optional[typing.Any],
|
|
13
|
+
]
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
from .templates_create_agents_response_agents_item_llm_config_model_wrapper_item import (
|
|
5
|
+
TemplatesCreateAgentsResponseAgentsItemLlmConfigModelWrapperItem,
|
|
6
|
+
)
|
|
7
|
+
|
|
8
|
+
TemplatesCreateAgentsResponseAgentsItemLlmConfigModelWrapper = typing.Union[
|
|
9
|
+
str,
|
|
10
|
+
typing.Optional[str],
|
|
11
|
+
typing.List[typing.Optional[TemplatesCreateAgentsResponseAgentsItemLlmConfigModelWrapperItem]],
|
|
12
|
+
typing.Optional[typing.Any],
|
|
13
|
+
]
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
from .templates_create_agents_response_agents_item_llm_config_put_inner_thoughts_in_kwargs_item import (
|
|
5
|
+
TemplatesCreateAgentsResponseAgentsItemLlmConfigPutInnerThoughtsInKwargsItem,
|
|
6
|
+
)
|
|
7
|
+
|
|
8
|
+
TemplatesCreateAgentsResponseAgentsItemLlmConfigPutInnerThoughtsInKwargs = typing.Union[
|
|
9
|
+
bool,
|
|
10
|
+
typing.Optional[str],
|
|
11
|
+
typing.List[typing.Optional[TemplatesCreateAgentsResponseAgentsItemLlmConfigPutInnerThoughtsInKwargsItem]],
|
|
12
|
+
typing.Optional[typing.Any],
|
|
13
|
+
]
|
|
@@ -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 .templates_create_agents_response_agents_item_memory_blocks_item import (
|
|
6
|
+
TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItem,
|
|
7
|
+
)
|
|
8
|
+
from .templates_create_agents_response_agents_item_memory_prompt_template import (
|
|
9
|
+
TemplatesCreateAgentsResponseAgentsItemMemoryPromptTemplate,
|
|
10
|
+
)
|
|
11
|
+
from ...core.pydantic_utilities import IS_PYDANTIC_V2
|
|
12
|
+
import pydantic
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class TemplatesCreateAgentsResponseAgentsItemMemory(UncheckedBaseModel):
|
|
16
|
+
blocks: typing.List[TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItem]
|
|
17
|
+
prompt_template: typing.Optional[TemplatesCreateAgentsResponseAgentsItemMemoryPromptTemplate] = 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
|