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.

Files changed (313) hide show
  1. letta_client/__init__.py +340 -338
  2. letta_client/agents/__init__.py +2 -4
  3. letta_client/agents/client.py +24 -24
  4. letta_client/agents/types/__init__.py +2 -4
  5. letta_client/agents/types/agents_search_response_agents_item.py +2 -2
  6. letta_client/agents/types/agents_search_response_agents_item_identity_ids.py +5 -0
  7. letta_client/core/client_wrapper.py +1 -1
  8. letta_client/identities/client.py +108 -50
  9. letta_client/templates/__init__.py +332 -334
  10. letta_client/templates/client.py +15 -15
  11. letta_client/templates/types/__init__.py +484 -514
  12. letta_client/templates/types/{templates_create_agents_from_template_response.py → templates_create_agents_response.py} +3 -5
  13. letta_client/templates/types/templates_create_agents_response_agents_item.py +84 -0
  14. 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
  15. letta_client/templates/types/templates_create_agents_response_agents_item_base_template_id.py +13 -0
  16. letta_client/templates/types/templates_create_agents_response_agents_item_base_template_id_item.py +5 -0
  17. letta_client/templates/types/templates_create_agents_response_agents_item_created_at.py +13 -0
  18. letta_client/templates/types/templates_create_agents_response_agents_item_created_at_item.py +5 -0
  19. letta_client/templates/types/templates_create_agents_response_agents_item_created_by_id.py +13 -0
  20. letta_client/templates/types/templates_create_agents_response_agents_item_created_by_id_item.py +5 -0
  21. letta_client/templates/types/templates_create_agents_response_agents_item_description.py +13 -0
  22. letta_client/templates/types/templates_create_agents_response_agents_item_description_item.py +5 -0
  23. letta_client/templates/types/templates_create_agents_response_agents_item_embedding_config.py +50 -0
  24. letta_client/templates/types/templates_create_agents_response_agents_item_embedding_config_azure_deployment.py +13 -0
  25. letta_client/templates/types/templates_create_agents_response_agents_item_embedding_config_azure_deployment_item.py +5 -0
  26. letta_client/templates/types/templates_create_agents_response_agents_item_embedding_config_azure_endpoint.py +13 -0
  27. letta_client/templates/types/templates_create_agents_response_agents_item_embedding_config_azure_endpoint_item.py +5 -0
  28. letta_client/templates/types/templates_create_agents_response_agents_item_embedding_config_azure_version.py +13 -0
  29. letta_client/templates/types/templates_create_agents_response_agents_item_embedding_config_azure_version_item.py +5 -0
  30. letta_client/templates/types/templates_create_agents_response_agents_item_embedding_config_embedding_chunk_size.py +13 -0
  31. letta_client/templates/types/templates_create_agents_response_agents_item_embedding_config_embedding_chunk_size_item.py +5 -0
  32. letta_client/templates/types/templates_create_agents_response_agents_item_embedding_config_embedding_endpoint.py +13 -0
  33. letta_client/templates/types/templates_create_agents_response_agents_item_embedding_config_embedding_endpoint_item.py +5 -0
  34. 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
  35. letta_client/templates/types/templates_create_agents_response_agents_item_embedding_config_handle.py +13 -0
  36. 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
  37. letta_client/templates/types/templates_create_agents_response_agents_item_identity_ids.py +5 -0
  38. letta_client/templates/types/templates_create_agents_response_agents_item_last_updated_by_id.py +13 -0
  39. letta_client/templates/types/templates_create_agents_response_agents_item_last_updated_by_id_item.py +5 -0
  40. letta_client/templates/types/templates_create_agents_response_agents_item_llm_config.py +50 -0
  41. letta_client/templates/types/templates_create_agents_response_agents_item_llm_config_handle.py +13 -0
  42. letta_client/templates/types/templates_create_agents_response_agents_item_llm_config_handle_item.py +5 -0
  43. letta_client/templates/types/templates_create_agents_response_agents_item_llm_config_max_tokens.py +13 -0
  44. letta_client/templates/types/templates_create_agents_response_agents_item_llm_config_max_tokens_item.py +5 -0
  45. letta_client/templates/types/templates_create_agents_response_agents_item_llm_config_model_endpoint.py +13 -0
  46. 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
  47. 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
  48. letta_client/templates/types/templates_create_agents_response_agents_item_llm_config_model_wrapper.py +13 -0
  49. 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
  50. letta_client/templates/types/templates_create_agents_response_agents_item_llm_config_put_inner_thoughts_in_kwargs.py +13 -0
  51. letta_client/templates/types/templates_create_agents_response_agents_item_llm_config_put_inner_thoughts_in_kwargs_item.py +5 -0
  52. letta_client/templates/types/templates_create_agents_response_agents_item_llm_config_temperature.py +5 -0
  53. letta_client/templates/types/templates_create_agents_response_agents_item_memory.py +26 -0
  54. letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item.py +59 -0
  55. letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item_created_by_id.py +13 -0
  56. 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
  57. letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item_description.py +13 -0
  58. letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item_description_item.py +5 -0
  59. letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item_id.py +5 -0
  60. letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item_is_template.py +5 -0
  61. letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item_label.py +13 -0
  62. 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
  63. letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item_last_updated_by_id.py +13 -0
  64. letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item_last_updated_by_id_item.py +5 -0
  65. letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item_limit.py +5 -0
  66. letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item_metadata.py +12 -0
  67. 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
  68. letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item_name.py +13 -0
  69. letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item_name_item.py +5 -0
  70. letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item_organization_id.py +13 -0
  71. letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item_organization_id_item.py +5 -0
  72. letta_client/templates/types/templates_create_agents_response_agents_item_memory_prompt_template.py +5 -0
  73. letta_client/templates/types/templates_create_agents_response_agents_item_message_buffer_autoclear.py +5 -0
  74. letta_client/templates/types/templates_create_agents_response_agents_item_message_ids.py +13 -0
  75. letta_client/templates/types/templates_create_agents_response_agents_item_message_ids_item.py +5 -0
  76. letta_client/templates/types/templates_create_agents_response_agents_item_metadata.py +12 -0
  77. letta_client/templates/types/templates_create_agents_response_agents_item_metadata_item.py +5 -0
  78. letta_client/templates/types/templates_create_agents_response_agents_item_organization_id.py +13 -0
  79. letta_client/templates/types/templates_create_agents_response_agents_item_organization_id_item.py +5 -0
  80. letta_client/templates/types/templates_create_agents_response_agents_item_project_id.py +13 -0
  81. letta_client/templates/types/templates_create_agents_response_agents_item_project_id_item.py +5 -0
  82. letta_client/templates/types/templates_create_agents_response_agents_item_sources_item.py +55 -0
  83. letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_created_at.py +13 -0
  84. letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_created_at_item.py +5 -0
  85. letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_created_by_id.py +13 -0
  86. letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_created_by_id_item.py +5 -0
  87. letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_description.py +13 -0
  88. letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_description_item.py +5 -0
  89. letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_embedding_config.py +56 -0
  90. letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_embedding_config_azure_deployment.py +13 -0
  91. 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
  92. letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_embedding_config_azure_endpoint.py +13 -0
  93. 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
  94. letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_embedding_config_azure_version.py +13 -0
  95. 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
  96. letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_embedding_config_embedding_chunk_size.py +15 -0
  97. 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
  98. letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_embedding_config_embedding_endpoint.py +15 -0
  99. 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
  100. 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
  101. letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_embedding_config_handle.py +13 -0
  102. letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_embedding_config_handle_item.py +5 -0
  103. letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_id.py +5 -0
  104. letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_last_updated_by_id.py +13 -0
  105. 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
  106. letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_metadata.py +12 -0
  107. 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
  108. letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_organization_id.py +13 -0
  109. 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
  110. letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_updated_at.py +13 -0
  111. letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_updated_at_item.py +5 -0
  112. letta_client/templates/types/templates_create_agents_response_agents_item_template_id.py +13 -0
  113. letta_client/templates/types/templates_create_agents_response_agents_item_template_id_item.py +5 -0
  114. letta_client/templates/types/templates_create_agents_response_agents_item_tool_exec_environment_variables.py +10 -0
  115. letta_client/templates/types/templates_create_agents_response_agents_item_tool_exec_environment_variables_item.py +57 -0
  116. letta_client/templates/types/templates_create_agents_response_agents_item_tool_exec_environment_variables_item_created_at.py +13 -0
  117. 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
  118. letta_client/templates/types/templates_create_agents_response_agents_item_tool_exec_environment_variables_item_created_by_id.py +15 -0
  119. letta_client/templates/types/templates_create_agents_response_agents_item_tool_exec_environment_variables_item_created_by_id_item.py +7 -0
  120. letta_client/templates/types/templates_create_agents_response_agents_item_tool_exec_environment_variables_item_description.py +15 -0
  121. letta_client/templates/types/templates_create_agents_response_agents_item_tool_exec_environment_variables_item_description_item.py +7 -0
  122. 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
  123. letta_client/templates/types/templates_create_agents_response_agents_item_tool_exec_environment_variables_item_last_updated_by_id.py +15 -0
  124. letta_client/templates/types/templates_create_agents_response_agents_item_tool_exec_environment_variables_item_last_updated_by_id_item.py +7 -0
  125. letta_client/templates/types/templates_create_agents_response_agents_item_tool_exec_environment_variables_item_organization_id.py +15 -0
  126. 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
  127. letta_client/templates/types/templates_create_agents_response_agents_item_tool_exec_environment_variables_item_updated_at.py +13 -0
  128. 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
  129. letta_client/templates/types/templates_create_agents_response_agents_item_tool_rules.py +13 -0
  130. letta_client/templates/types/templates_create_agents_response_agents_item_tool_rules_item.py +10 -0
  131. letta_client/templates/types/templates_create_agents_response_agents_item_tool_rules_item_child_output_mapping.py +36 -0
  132. letta_client/templates/types/templates_create_agents_response_agents_item_tool_rules_item_child_output_mapping_default_child.py +15 -0
  133. letta_client/templates/types/templates_create_agents_response_agents_item_tool_rules_item_child_output_mapping_default_child_item.py +7 -0
  134. 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
  135. 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
  136. 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
  137. 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
  138. letta_client/templates/types/templates_create_agents_response_agents_item_tool_rules_item_item.py +26 -0
  139. letta_client/templates/types/templates_create_agents_response_agents_item_tool_rules_item_item_child_output_mapping.py +36 -0
  140. letta_client/templates/types/templates_create_agents_response_agents_item_tool_rules_item_item_child_output_mapping_default_child.py +15 -0
  141. letta_client/templates/types/templates_create_agents_response_agents_item_tool_rules_item_item_child_output_mapping_default_child_item.py +7 -0
  142. 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
  143. 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
  144. 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
  145. 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
  146. 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
  147. 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
  148. 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
  149. 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
  150. 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
  151. 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
  152. letta_client/templates/types/templates_create_agents_response_agents_item_tool_rules_item_one.py +23 -0
  153. 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
  154. letta_client/templates/types/templates_create_agents_response_agents_item_tool_rules_item_tool_name.py +23 -0
  155. 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
  156. letta_client/templates/types/templates_create_agents_response_agents_item_tool_rules_item_two.py +23 -0
  157. 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
  158. letta_client/templates/types/templates_create_agents_response_agents_item_tools_item.py +57 -0
  159. letta_client/templates/types/templates_create_agents_response_agents_item_tools_item_created_by_id.py +12 -0
  160. letta_client/templates/types/templates_create_agents_response_agents_item_tools_item_created_by_id_item.py +5 -0
  161. letta_client/templates/types/templates_create_agents_response_agents_item_tools_item_description.py +12 -0
  162. letta_client/templates/types/templates_create_agents_response_agents_item_tools_item_description_item.py +5 -0
  163. letta_client/templates/types/templates_create_agents_response_agents_item_tools_item_json_schema.py +12 -0
  164. 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
  165. letta_client/templates/types/templates_create_agents_response_agents_item_tools_item_last_updated_by_id.py +12 -0
  166. letta_client/templates/types/templates_create_agents_response_agents_item_tools_item_last_updated_by_id_item.py +5 -0
  167. letta_client/templates/types/templates_create_agents_response_agents_item_tools_item_name.py +10 -0
  168. letta_client/templates/types/templates_create_agents_response_agents_item_tools_item_name_item.py +5 -0
  169. letta_client/templates/types/templates_create_agents_response_agents_item_tools_item_organization_id.py +12 -0
  170. 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
  171. letta_client/templates/types/templates_create_agents_response_agents_item_tools_item_source_code.py +12 -0
  172. letta_client/templates/types/templates_create_agents_response_agents_item_tools_item_source_code_item.py +5 -0
  173. letta_client/templates/types/templates_create_agents_response_agents_item_tools_item_source_type.py +12 -0
  174. letta_client/templates/types/templates_create_agents_response_agents_item_tools_item_source_type_item.py +5 -0
  175. 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
  176. letta_client/templates/types/templates_create_agents_response_agents_item_updated_at.py +13 -0
  177. letta_client/templates/types/templates_create_agents_response_agents_item_updated_at_item.py +5 -0
  178. letta_client/types/__init__.py +6 -0
  179. letta_client/types/agent_state.py +2 -2
  180. letta_client/types/identity.py +8 -3
  181. letta_client/types/identity_create.py +6 -0
  182. letta_client/types/identity_property.py +38 -0
  183. letta_client/types/identity_property_type.py +5 -0
  184. letta_client/types/identity_property_value.py +5 -0
  185. {letta_client-0.1.40.dist-info → letta_client-0.1.42.dist-info}/METADATA +1 -1
  186. {letta_client-0.1.40.dist-info → letta_client-0.1.42.dist-info}/RECORD +187 -186
  187. letta_client/agents/types/agents_search_response_agents_item_identifier_key.py +0 -11
  188. letta_client/agents/types/agents_search_response_agents_item_identifier_key_item.py +0 -5
  189. letta_client/templates/types/templates_create_agents_from_template_response_agents_item.py +0 -110
  190. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_base_template_id.py +0 -13
  191. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_base_template_id_item.py +0 -5
  192. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_created_at.py +0 -13
  193. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_created_by_id.py +0 -13
  194. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_description.py +0 -13
  195. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_description_item.py +0 -5
  196. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config.py +0 -58
  197. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_azure_deployment.py +0 -13
  198. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_azure_endpoint.py +0 -13
  199. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_azure_version.py +0 -13
  200. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_embedding_chunk_size.py +0 -15
  201. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_embedding_endpoint.py +0 -15
  202. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_handle.py +0 -13
  203. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_handle_item.py +0 -5
  204. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_identifier_key.py +0 -13
  205. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_last_updated_by_id.py +0 -13
  206. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config.py +0 -50
  207. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_handle.py +0 -13
  208. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_handle_item.py +0 -5
  209. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_max_tokens.py +0 -13
  210. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_max_tokens_item.py +0 -5
  211. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_model_endpoint.py +0 -13
  212. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_model_endpoint_item.py +0 -5
  213. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_model_wrapper.py +0 -13
  214. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_model_wrapper_item.py +0 -5
  215. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_put_inner_thoughts_in_kwargs.py +0 -15
  216. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_put_inner_thoughts_in_kwargs_item.py +0 -7
  217. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_temperature.py +0 -7
  218. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory.py +0 -26
  219. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item.py +0 -65
  220. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_created_by_id.py +0 -13
  221. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_description.py +0 -13
  222. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_id.py +0 -5
  223. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_label.py +0 -13
  224. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_label_item.py +0 -5
  225. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_last_updated_by_id.py +0 -15
  226. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_last_updated_by_id_item.py +0 -7
  227. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_limit.py +0 -7
  228. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_metadata.py +0 -12
  229. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_metadata_item.py +0 -7
  230. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_name.py +0 -13
  231. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_name_item.py +0 -5
  232. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_organization_id.py +0 -13
  233. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_organization_id_item.py +0 -7
  234. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_prompt_template.py +0 -5
  235. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_message_ids.py +0 -13
  236. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_message_ids_item.py +0 -5
  237. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_metadata.py +0 -12
  238. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_organization_id.py +0 -13
  239. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_project_id.py +0 -13
  240. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item.py +0 -59
  241. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_created_at.py +0 -13
  242. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_created_at_item.py +0 -5
  243. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_created_by_id.py +0 -13
  244. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_created_by_id_item.py +0 -5
  245. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_description.py +0 -13
  246. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_description_item.py +0 -5
  247. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config.py +0 -60
  248. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_azure_deployment.py +0 -17
  249. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_azure_deployment_item.py +0 -7
  250. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_azure_endpoint.py +0 -15
  251. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_azure_endpoint_item.py +0 -7
  252. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_azure_version.py +0 -15
  253. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_azure_version_item.py +0 -7
  254. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_embedding_chunk_size.py +0 -17
  255. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_embedding_chunk_size_item.py +0 -7
  256. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_embedding_endpoint.py +0 -17
  257. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_embedding_endpoint_item.py +0 -7
  258. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_handle.py +0 -15
  259. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_handle_item.py +0 -7
  260. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_id.py +0 -5
  261. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_last_updated_by_id.py +0 -13
  262. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_last_updated_by_id_item.py +0 -7
  263. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_metadata.py +0 -12
  264. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_organization_id.py +0 -13
  265. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_updated_at.py +0 -13
  266. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_updated_at_item.py +0 -5
  267. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_template_id.py +0 -13
  268. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables.py +0 -11
  269. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item.py +0 -61
  270. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_created_at.py +0 -17
  271. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_created_at_item.py +0 -7
  272. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_created_by_id.py +0 -17
  273. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_created_by_id_item.py +0 -7
  274. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_description.py +0 -17
  275. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_description_item.py +0 -7
  276. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_last_updated_by_id.py +0 -17
  277. 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
  278. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_organization_id.py +0 -17
  279. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_organization_id_item.py +0 -7
  280. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_updated_at.py +0 -17
  281. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_updated_at_item.py +0 -7
  282. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules.py +0 -13
  283. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item.py +0 -10
  284. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_child_output_mapping.py +0 -36
  285. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_child_output_mapping_default_child.py +0 -17
  286. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_child_output_mapping_default_child_item.py +0 -7
  287. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_child_output_mapping_require_output_mapping.py +0 -7
  288. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item.py +0 -26
  289. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_child_output_mapping.py +0 -38
  290. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_child_output_mapping_default_child.py +0 -17
  291. 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
  292. 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
  293. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_one.py +0 -23
  294. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_tool_name.py +0 -23
  295. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_tool_name.py +0 -23
  296. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item.py +0 -59
  297. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_created_by_id.py +0 -12
  298. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_created_by_id_item.py +0 -5
  299. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_description.py +0 -12
  300. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_description_item.py +0 -5
  301. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_json_schema.py +0 -12
  302. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_last_updated_by_id.py +0 -12
  303. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_last_updated_by_id_item.py +0 -7
  304. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_name.py +0 -12
  305. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_name_item.py +0 -5
  306. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_organization_id.py +0 -12
  307. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_organization_id_item.py +0 -5
  308. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_source_code.py +0 -12
  309. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_source_code_item.py +0 -5
  310. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_source_type.py +0 -12
  311. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_source_type_item.py +0 -5
  312. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_updated_at.py +0 -13
  313. {letta_client-0.1.40.dist-info → letta_client-0.1.42.dist-info}/WHEEL +0 -0
@@ -2,16 +2,16 @@
2
2
 
3
3
  from ...core.unchecked_base_model import UncheckedBaseModel
4
4
  import typing
5
- from .templates_create_agents_from_template_response_agents_item_tool_rules_item_item_children_type import (
6
- TemplatesCreateAgentsFromTemplateResponseAgentsItemToolRulesItemItemChildrenType,
5
+ from .templates_create_agents_response_agents_item_tool_rules_item_item_children_type import (
6
+ TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemChildrenType,
7
7
  )
8
8
  from ...core.pydantic_utilities import IS_PYDANTIC_V2
9
9
  import pydantic
10
10
 
11
11
 
12
- class TemplatesCreateAgentsFromTemplateResponseAgentsItemToolRulesItemItemChildren(UncheckedBaseModel):
12
+ class TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemChildren(UncheckedBaseModel):
13
13
  tool_name: str
14
- type: typing.Optional[TemplatesCreateAgentsFromTemplateResponseAgentsItemToolRulesItemItemChildrenType] = None
14
+ type: typing.Optional[TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemChildrenType] = None
15
15
  children: typing.List[str]
16
16
 
17
17
  if IS_PYDANTIC_V2:
@@ -2,6 +2,6 @@
2
2
 
3
3
  import typing
4
4
 
5
- TemplatesCreateAgentsFromTemplateResponseAgentsItemToolRulesItemItemChildrenType = typing.Union[
5
+ TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemChildrenType = typing.Union[
6
6
  typing.Literal["constrain_child_tools"], typing.Optional[typing.Any]
7
7
  ]
@@ -2,16 +2,16 @@
2
2
 
3
3
  from ...core.unchecked_base_model import UncheckedBaseModel
4
4
  import typing
5
- from .templates_create_agents_from_template_response_agents_item_tool_rules_item_two_type import (
6
- TemplatesCreateAgentsFromTemplateResponseAgentsItemToolRulesItemTwoType,
5
+ from .templates_create_agents_response_agents_item_tool_rules_item_item_one_type import (
6
+ TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemOneType,
7
7
  )
8
8
  from ...core.pydantic_utilities import IS_PYDANTIC_V2
9
9
  import pydantic
10
10
 
11
11
 
12
- class TemplatesCreateAgentsFromTemplateResponseAgentsItemToolRulesItemTwo(UncheckedBaseModel):
12
+ class TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemOne(UncheckedBaseModel):
13
13
  tool_name: str
14
- type: typing.Optional[TemplatesCreateAgentsFromTemplateResponseAgentsItemToolRulesItemTwoType] = None
14
+ type: typing.Optional[TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemOneType] = None
15
15
 
16
16
  if IS_PYDANTIC_V2:
17
17
  model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
@@ -2,6 +2,6 @@
2
2
 
3
3
  import typing
4
4
 
5
- TemplatesCreateAgentsFromTemplateResponseAgentsItemToolRulesItemOneType = typing.Union[
5
+ TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemOneType = typing.Union[
6
6
  typing.Literal["run_first"], typing.Optional[typing.Any]
7
7
  ]
@@ -2,16 +2,16 @@
2
2
 
3
3
  from ...core.unchecked_base_model import UncheckedBaseModel
4
4
  import typing
5
- from .templates_create_agents_from_template_response_agents_item_tool_rules_item_one_type import (
6
- TemplatesCreateAgentsFromTemplateResponseAgentsItemToolRulesItemOneType,
5
+ from .templates_create_agents_response_agents_item_tool_rules_item_item_tool_name_type import (
6
+ TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemToolNameType,
7
7
  )
8
8
  from ...core.pydantic_utilities import IS_PYDANTIC_V2
9
9
  import pydantic
10
10
 
11
11
 
12
- class TemplatesCreateAgentsFromTemplateResponseAgentsItemToolRulesItemOne(UncheckedBaseModel):
12
+ class TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemToolName(UncheckedBaseModel):
13
13
  tool_name: str
14
- type: typing.Optional[TemplatesCreateAgentsFromTemplateResponseAgentsItemToolRulesItemOneType] = None
14
+ type: typing.Optional[TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemToolNameType] = None
15
15
 
16
16
  if IS_PYDANTIC_V2:
17
17
  model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
@@ -2,6 +2,6 @@
2
2
 
3
3
  import typing
4
4
 
5
- TemplatesCreateAgentsFromTemplateResponseAgentsItemToolRulesItemToolNameType = typing.Union[
5
+ TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemToolNameType = typing.Union[
6
6
  typing.Literal["continue_loop"], typing.Optional[typing.Any]
7
7
  ]
@@ -2,16 +2,16 @@
2
2
 
3
3
  from ...core.unchecked_base_model import UncheckedBaseModel
4
4
  import typing
5
- from .templates_create_agents_from_template_response_agents_item_tool_rules_item_item_two_type import (
6
- TemplatesCreateAgentsFromTemplateResponseAgentsItemToolRulesItemItemTwoType,
5
+ from .templates_create_agents_response_agents_item_tool_rules_item_item_two_type import (
6
+ TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemTwoType,
7
7
  )
8
8
  from ...core.pydantic_utilities import IS_PYDANTIC_V2
9
9
  import pydantic
10
10
 
11
11
 
12
- class TemplatesCreateAgentsFromTemplateResponseAgentsItemToolRulesItemItemTwo(UncheckedBaseModel):
12
+ class TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemTwo(UncheckedBaseModel):
13
13
  tool_name: str
14
- type: typing.Optional[TemplatesCreateAgentsFromTemplateResponseAgentsItemToolRulesItemItemTwoType] = None
14
+ type: typing.Optional[TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemTwoType] = None
15
15
 
16
16
  if IS_PYDANTIC_V2:
17
17
  model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
@@ -2,6 +2,6 @@
2
2
 
3
3
  import typing
4
4
 
5
- TemplatesCreateAgentsFromTemplateResponseAgentsItemToolRulesItemTwoType = typing.Union[
5
+ TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemTwoType = typing.Union[
6
6
  typing.Literal["exit_loop"], typing.Optional[typing.Any]
7
7
  ]
@@ -0,0 +1,23 @@
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_tool_rules_item_one_type import (
6
+ TemplatesCreateAgentsResponseAgentsItemToolRulesItemOneType,
7
+ )
8
+ from ...core.pydantic_utilities import IS_PYDANTIC_V2
9
+ import pydantic
10
+
11
+
12
+ class TemplatesCreateAgentsResponseAgentsItemToolRulesItemOne(UncheckedBaseModel):
13
+ tool_name: str
14
+ type: typing.Optional[TemplatesCreateAgentsResponseAgentsItemToolRulesItemOneType] = None
15
+
16
+ if IS_PYDANTIC_V2:
17
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
18
+ else:
19
+
20
+ class Config:
21
+ frozen = True
22
+ smart_union = True
23
+ extra = pydantic.Extra.allow
@@ -2,6 +2,6 @@
2
2
 
3
3
  import typing
4
4
 
5
- TemplatesCreateAgentsFromTemplateResponseAgentsItemToolRulesItemItemOneType = typing.Union[
5
+ TemplatesCreateAgentsResponseAgentsItemToolRulesItemOneType = typing.Union[
6
6
  typing.Literal["run_first"], typing.Optional[typing.Any]
7
7
  ]
@@ -0,0 +1,23 @@
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_tool_rules_item_tool_name_type import (
6
+ TemplatesCreateAgentsResponseAgentsItemToolRulesItemToolNameType,
7
+ )
8
+ from ...core.pydantic_utilities import IS_PYDANTIC_V2
9
+ import pydantic
10
+
11
+
12
+ class TemplatesCreateAgentsResponseAgentsItemToolRulesItemToolName(UncheckedBaseModel):
13
+ tool_name: str
14
+ type: typing.Optional[TemplatesCreateAgentsResponseAgentsItemToolRulesItemToolNameType] = None
15
+
16
+ if IS_PYDANTIC_V2:
17
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
18
+ else:
19
+
20
+ class Config:
21
+ frozen = True
22
+ smart_union = True
23
+ extra = pydantic.Extra.allow
@@ -2,6 +2,6 @@
2
2
 
3
3
  import typing
4
4
 
5
- TemplatesCreateAgentsFromTemplateResponseAgentsItemToolRulesItemItemToolNameType = typing.Union[
5
+ TemplatesCreateAgentsResponseAgentsItemToolRulesItemToolNameType = typing.Union[
6
6
  typing.Literal["continue_loop"], typing.Optional[typing.Any]
7
7
  ]
@@ -0,0 +1,23 @@
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_tool_rules_item_two_type import (
6
+ TemplatesCreateAgentsResponseAgentsItemToolRulesItemTwoType,
7
+ )
8
+ from ...core.pydantic_utilities import IS_PYDANTIC_V2
9
+ import pydantic
10
+
11
+
12
+ class TemplatesCreateAgentsResponseAgentsItemToolRulesItemTwo(UncheckedBaseModel):
13
+ tool_name: str
14
+ type: typing.Optional[TemplatesCreateAgentsResponseAgentsItemToolRulesItemTwoType] = None
15
+
16
+ if IS_PYDANTIC_V2:
17
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
18
+ else:
19
+
20
+ class Config:
21
+ frozen = True
22
+ smart_union = True
23
+ extra = pydantic.Extra.allow
@@ -2,6 +2,6 @@
2
2
 
3
3
  import typing
4
4
 
5
- TemplatesCreateAgentsFromTemplateResponseAgentsItemToolRulesItemItemTwoType = typing.Union[
5
+ TemplatesCreateAgentsResponseAgentsItemToolRulesItemTwoType = typing.Union[
6
6
  typing.Literal["exit_loop"], typing.Optional[typing.Any]
7
7
  ]
@@ -0,0 +1,57 @@
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_tools_item_tool_type import (
6
+ TemplatesCreateAgentsResponseAgentsItemToolsItemToolType,
7
+ )
8
+ from .templates_create_agents_response_agents_item_tools_item_description import (
9
+ TemplatesCreateAgentsResponseAgentsItemToolsItemDescription,
10
+ )
11
+ from .templates_create_agents_response_agents_item_tools_item_source_type import (
12
+ TemplatesCreateAgentsResponseAgentsItemToolsItemSourceType,
13
+ )
14
+ from .templates_create_agents_response_agents_item_tools_item_organization_id import (
15
+ TemplatesCreateAgentsResponseAgentsItemToolsItemOrganizationId,
16
+ )
17
+ from .templates_create_agents_response_agents_item_tools_item_name import (
18
+ TemplatesCreateAgentsResponseAgentsItemToolsItemName,
19
+ )
20
+ from .templates_create_agents_response_agents_item_tools_item_source_code import (
21
+ TemplatesCreateAgentsResponseAgentsItemToolsItemSourceCode,
22
+ )
23
+ from .templates_create_agents_response_agents_item_tools_item_json_schema import (
24
+ TemplatesCreateAgentsResponseAgentsItemToolsItemJsonSchema,
25
+ )
26
+ from .templates_create_agents_response_agents_item_tools_item_created_by_id import (
27
+ TemplatesCreateAgentsResponseAgentsItemToolsItemCreatedById,
28
+ )
29
+ from .templates_create_agents_response_agents_item_tools_item_last_updated_by_id import (
30
+ TemplatesCreateAgentsResponseAgentsItemToolsItemLastUpdatedById,
31
+ )
32
+ from ...core.pydantic_utilities import IS_PYDANTIC_V2
33
+ import pydantic
34
+
35
+
36
+ class TemplatesCreateAgentsResponseAgentsItemToolsItem(UncheckedBaseModel):
37
+ id: typing.Optional[str] = None
38
+ tool_type: typing.Optional[TemplatesCreateAgentsResponseAgentsItemToolsItemToolType] = None
39
+ description: typing.Optional[TemplatesCreateAgentsResponseAgentsItemToolsItemDescription] = None
40
+ source_type: typing.Optional[TemplatesCreateAgentsResponseAgentsItemToolsItemSourceType] = None
41
+ organization_id: typing.Optional[TemplatesCreateAgentsResponseAgentsItemToolsItemOrganizationId] = None
42
+ name: typing.Optional[TemplatesCreateAgentsResponseAgentsItemToolsItemName] = None
43
+ tags: typing.Optional[typing.List[str]] = None
44
+ source_code: typing.Optional[TemplatesCreateAgentsResponseAgentsItemToolsItemSourceCode] = None
45
+ json_schema: typing.Optional[TemplatesCreateAgentsResponseAgentsItemToolsItemJsonSchema] = None
46
+ return_char_limit: typing.Optional[float] = None
47
+ created_by_id: typing.Optional[TemplatesCreateAgentsResponseAgentsItemToolsItemCreatedById] = None
48
+ last_updated_by_id: typing.Optional[TemplatesCreateAgentsResponseAgentsItemToolsItemLastUpdatedById] = None
49
+
50
+ if IS_PYDANTIC_V2:
51
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
52
+ else:
53
+
54
+ class Config:
55
+ frozen = True
56
+ smart_union = True
57
+ extra = pydantic.Extra.allow
@@ -0,0 +1,12 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+ from .templates_create_agents_response_agents_item_tools_item_created_by_id_item import (
5
+ TemplatesCreateAgentsResponseAgentsItemToolsItemCreatedByIdItem,
6
+ )
7
+
8
+ TemplatesCreateAgentsResponseAgentsItemToolsItemCreatedById = typing.Union[
9
+ str,
10
+ typing.Optional[str],
11
+ typing.List[typing.Optional[TemplatesCreateAgentsResponseAgentsItemToolsItemCreatedByIdItem]],
12
+ ]
@@ -0,0 +1,5 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ TemplatesCreateAgentsResponseAgentsItemToolsItemCreatedByIdItem = typing.Union[str, typing.Optional[str]]
@@ -0,0 +1,12 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+ from .templates_create_agents_response_agents_item_tools_item_description_item import (
5
+ TemplatesCreateAgentsResponseAgentsItemToolsItemDescriptionItem,
6
+ )
7
+
8
+ TemplatesCreateAgentsResponseAgentsItemToolsItemDescription = typing.Union[
9
+ str,
10
+ typing.Optional[str],
11
+ typing.List[typing.Optional[TemplatesCreateAgentsResponseAgentsItemToolsItemDescriptionItem]],
12
+ ]
@@ -0,0 +1,5 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ TemplatesCreateAgentsResponseAgentsItemToolsItemDescriptionItem = typing.Union[str, typing.Optional[str]]
@@ -0,0 +1,12 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+ from .templates_create_agents_response_agents_item_tools_item_json_schema_item import (
5
+ TemplatesCreateAgentsResponseAgentsItemToolsItemJsonSchemaItem,
6
+ )
7
+
8
+ TemplatesCreateAgentsResponseAgentsItemToolsItemJsonSchema = typing.Union[
9
+ typing.Optional[typing.Any],
10
+ typing.Optional[str],
11
+ typing.List[typing.Optional[TemplatesCreateAgentsResponseAgentsItemToolsItemJsonSchemaItem]],
12
+ ]
@@ -2,6 +2,6 @@
2
2
 
3
3
  import typing
4
4
 
5
- TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemJsonSchemaItem = typing.Union[
5
+ TemplatesCreateAgentsResponseAgentsItemToolsItemJsonSchemaItem = typing.Union[
6
6
  typing.Optional[typing.Any], typing.Optional[str]
7
7
  ]
@@ -0,0 +1,12 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+ from .templates_create_agents_response_agents_item_tools_item_last_updated_by_id_item import (
5
+ TemplatesCreateAgentsResponseAgentsItemToolsItemLastUpdatedByIdItem,
6
+ )
7
+
8
+ TemplatesCreateAgentsResponseAgentsItemToolsItemLastUpdatedById = typing.Union[
9
+ str,
10
+ typing.Optional[str],
11
+ typing.List[typing.Optional[TemplatesCreateAgentsResponseAgentsItemToolsItemLastUpdatedByIdItem]],
12
+ ]
@@ -0,0 +1,5 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ TemplatesCreateAgentsResponseAgentsItemToolsItemLastUpdatedByIdItem = typing.Union[str, typing.Optional[str]]
@@ -0,0 +1,10 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+ from .templates_create_agents_response_agents_item_tools_item_name_item import (
5
+ TemplatesCreateAgentsResponseAgentsItemToolsItemNameItem,
6
+ )
7
+
8
+ TemplatesCreateAgentsResponseAgentsItemToolsItemName = typing.Union[
9
+ str, typing.Optional[str], typing.List[typing.Optional[TemplatesCreateAgentsResponseAgentsItemToolsItemNameItem]]
10
+ ]
@@ -0,0 +1,5 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ TemplatesCreateAgentsResponseAgentsItemToolsItemNameItem = typing.Union[str, typing.Optional[str]]
@@ -0,0 +1,12 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+ from .templates_create_agents_response_agents_item_tools_item_organization_id_item import (
5
+ TemplatesCreateAgentsResponseAgentsItemToolsItemOrganizationIdItem,
6
+ )
7
+
8
+ TemplatesCreateAgentsResponseAgentsItemToolsItemOrganizationId = typing.Union[
9
+ str,
10
+ typing.Optional[str],
11
+ typing.List[typing.Optional[TemplatesCreateAgentsResponseAgentsItemToolsItemOrganizationIdItem]],
12
+ ]
@@ -2,4 +2,4 @@
2
2
 
3
3
  import typing
4
4
 
5
- TemplatesCreateAgentsFromTemplateResponseAgentsItemCreatedByIdItem = typing.Union[str, typing.Optional[str]]
5
+ TemplatesCreateAgentsResponseAgentsItemToolsItemOrganizationIdItem = typing.Union[str, typing.Optional[str]]
@@ -0,0 +1,12 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+ from .templates_create_agents_response_agents_item_tools_item_source_code_item import (
5
+ TemplatesCreateAgentsResponseAgentsItemToolsItemSourceCodeItem,
6
+ )
7
+
8
+ TemplatesCreateAgentsResponseAgentsItemToolsItemSourceCode = typing.Union[
9
+ str,
10
+ typing.Optional[str],
11
+ typing.List[typing.Optional[TemplatesCreateAgentsResponseAgentsItemToolsItemSourceCodeItem]],
12
+ ]
@@ -0,0 +1,5 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ TemplatesCreateAgentsResponseAgentsItemToolsItemSourceCodeItem = typing.Union[str, typing.Optional[str]]
@@ -0,0 +1,12 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+ from .templates_create_agents_response_agents_item_tools_item_source_type_item import (
5
+ TemplatesCreateAgentsResponseAgentsItemToolsItemSourceTypeItem,
6
+ )
7
+
8
+ TemplatesCreateAgentsResponseAgentsItemToolsItemSourceType = typing.Union[
9
+ str,
10
+ typing.Optional[str],
11
+ typing.List[typing.Optional[TemplatesCreateAgentsResponseAgentsItemToolsItemSourceTypeItem]],
12
+ ]
@@ -0,0 +1,5 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ TemplatesCreateAgentsResponseAgentsItemToolsItemSourceTypeItem = typing.Union[str, typing.Optional[str]]
@@ -2,7 +2,7 @@
2
2
 
3
3
  import typing
4
4
 
5
- TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemToolType = typing.Union[
5
+ TemplatesCreateAgentsResponseAgentsItemToolsItemToolType = typing.Union[
6
6
  typing.Literal[
7
7
  "custom", "letta_core", "letta_memory_core", "letta_multi_agent_core", "external_composio", "external_langchain"
8
8
  ],
@@ -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_updated_at_item import (
5
+ TemplatesCreateAgentsResponseAgentsItemUpdatedAtItem,
6
+ )
7
+
8
+ TemplatesCreateAgentsResponseAgentsItemUpdatedAt = typing.Union[
9
+ str,
10
+ typing.Optional[str],
11
+ typing.List[typing.Optional[TemplatesCreateAgentsResponseAgentsItemUpdatedAtItem]],
12
+ typing.Optional[typing.Any],
13
+ ]
@@ -0,0 +1,5 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ TemplatesCreateAgentsResponseAgentsItemUpdatedAtItem = typing.Union[str, typing.Optional[str]]
@@ -86,6 +86,9 @@ from .health import Health
86
86
  from .http_validation_error import HttpValidationError
87
87
  from .identity import Identity
88
88
  from .identity_create import IdentityCreate
89
+ from .identity_property import IdentityProperty
90
+ from .identity_property_type import IdentityPropertyType
91
+ from .identity_property_value import IdentityPropertyValue
89
92
  from .identity_type import IdentityType
90
93
  from .image_url import ImageUrl
91
94
  from .image_url_detail import ImageUrlDetail
@@ -253,6 +256,9 @@ __all__ = [
253
256
  "HttpValidationError",
254
257
  "Identity",
255
258
  "IdentityCreate",
259
+ "IdentityProperty",
260
+ "IdentityPropertyType",
261
+ "IdentityPropertyValue",
256
262
  "IdentityType",
257
263
  "ImageUrl",
258
264
  "ImageUrlDetail",
@@ -143,9 +143,9 @@ class AgentState(UncheckedBaseModel):
143
143
  The base template id of the agent.
144
144
  """
145
145
 
146
- identifier_key: typing.Optional[str] = pydantic.Field(default=None)
146
+ identity_ids: typing.Optional[typing.List[str]] = pydantic.Field(default=None)
147
147
  """
148
- The identifier key belonging to the identity associated with this agent.
148
+ The ids of the identities associated with this agent.
149
149
  """
150
150
 
151
151
  message_buffer_autoclear: typing.Optional[bool] = pydantic.Field(default=None)
@@ -4,7 +4,7 @@ from ..core.unchecked_base_model import UncheckedBaseModel
4
4
  import typing
5
5
  import pydantic
6
6
  from .identity_type import IdentityType
7
- from .agent_state import AgentState
7
+ from .identity_property import IdentityProperty
8
8
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
9
9
 
10
10
 
@@ -34,9 +34,14 @@ class Identity(UncheckedBaseModel):
34
34
  The project id of the identity, if applicable.
35
35
  """
36
36
 
37
- agents: typing.List[AgentState] = pydantic.Field()
37
+ agent_ids: typing.List[str] = pydantic.Field()
38
38
  """
39
- The agents associated with the identity.
39
+ The IDs of the agents associated with the identity.
40
+ """
41
+
42
+ properties: typing.Optional[typing.List[IdentityProperty]] = pydantic.Field(default=None)
43
+ """
44
+ List of properties associated with the identity
40
45
  """
41
46
 
42
47
  if IS_PYDANTIC_V2:
@@ -4,6 +4,7 @@ from ..core.unchecked_base_model import UncheckedBaseModel
4
4
  import pydantic
5
5
  from .identity_type import IdentityType
6
6
  import typing
7
+ from .identity_property import IdentityProperty
7
8
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
8
9
 
9
10
 
@@ -33,6 +34,11 @@ class IdentityCreate(UncheckedBaseModel):
33
34
  The agent ids that are associated with the identity.
34
35
  """
35
36
 
37
+ properties: typing.Optional[typing.List[IdentityProperty]] = pydantic.Field(default=None)
38
+ """
39
+ List of properties associated with the identity.
40
+ """
41
+
36
42
  if IS_PYDANTIC_V2:
37
43
  model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
38
44
  else:
@@ -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
+ import pydantic
5
+ from .identity_property_value import IdentityPropertyValue
6
+ from .identity_property_type import IdentityPropertyType
7
+ from ..core.pydantic_utilities import IS_PYDANTIC_V2
8
+ import typing
9
+
10
+
11
+ class IdentityProperty(UncheckedBaseModel):
12
+ """
13
+ A property of an identity
14
+ """
15
+
16
+ key: str = pydantic.Field()
17
+ """
18
+ The key of the property
19
+ """
20
+
21
+ value: IdentityPropertyValue = pydantic.Field()
22
+ """
23
+ The value of the property
24
+ """
25
+
26
+ type: IdentityPropertyType = pydantic.Field()
27
+ """
28
+ The type of the property
29
+ """
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,5 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ IdentityPropertyType = typing.Union[typing.Literal["string", "number", "boolean", "json"], typing.Any]
@@ -0,0 +1,5 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ IdentityPropertyValue = typing.Union[str, int, float, bool, typing.Dict[str, typing.Optional[typing.Any]]]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: letta-client
3
- Version: 0.1.40
3
+ Version: 0.1.42
4
4
  Summary:
5
5
  Requires-Python: >=3.8,<4.0
6
6
  Classifier: Intended Audience :: Developers