letta-client 0.1.40__py3-none-any.whl → 0.1.41__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 (299) hide show
  1. letta_client/__init__.py +334 -334
  2. letta_client/core/client_wrapper.py +1 -1
  3. letta_client/templates/__init__.py +334 -334
  4. letta_client/templates/client.py +15 -15
  5. letta_client/templates/types/__init__.py +487 -513
  6. letta_client/templates/types/{templates_create_agents_from_template_response.py → templates_create_agents_response.py} +3 -5
  7. letta_client/templates/types/templates_create_agents_response_agents_item.py +84 -0
  8. 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
  9. letta_client/templates/types/templates_create_agents_response_agents_item_base_template_id.py +13 -0
  10. letta_client/templates/types/templates_create_agents_response_agents_item_base_template_id_item.py +5 -0
  11. letta_client/templates/types/templates_create_agents_response_agents_item_created_at.py +13 -0
  12. letta_client/templates/types/templates_create_agents_response_agents_item_created_at_item.py +5 -0
  13. letta_client/templates/types/templates_create_agents_response_agents_item_created_by_id.py +13 -0
  14. letta_client/templates/types/templates_create_agents_response_agents_item_created_by_id_item.py +5 -0
  15. letta_client/templates/types/templates_create_agents_response_agents_item_description.py +13 -0
  16. letta_client/templates/types/templates_create_agents_response_agents_item_description_item.py +5 -0
  17. letta_client/templates/types/templates_create_agents_response_agents_item_embedding_config.py +50 -0
  18. letta_client/templates/types/templates_create_agents_response_agents_item_embedding_config_azure_deployment.py +13 -0
  19. letta_client/templates/types/templates_create_agents_response_agents_item_embedding_config_azure_deployment_item.py +5 -0
  20. letta_client/templates/types/templates_create_agents_response_agents_item_embedding_config_azure_endpoint.py +13 -0
  21. letta_client/templates/types/templates_create_agents_response_agents_item_embedding_config_azure_endpoint_item.py +5 -0
  22. letta_client/templates/types/templates_create_agents_response_agents_item_embedding_config_azure_version.py +13 -0
  23. letta_client/templates/types/templates_create_agents_response_agents_item_embedding_config_azure_version_item.py +5 -0
  24. letta_client/templates/types/templates_create_agents_response_agents_item_embedding_config_embedding_chunk_size.py +13 -0
  25. letta_client/templates/types/templates_create_agents_response_agents_item_embedding_config_embedding_chunk_size_item.py +5 -0
  26. letta_client/templates/types/templates_create_agents_response_agents_item_embedding_config_embedding_endpoint.py +13 -0
  27. letta_client/templates/types/templates_create_agents_response_agents_item_embedding_config_embedding_endpoint_item.py +5 -0
  28. 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
  29. letta_client/templates/types/templates_create_agents_response_agents_item_embedding_config_handle.py +13 -0
  30. 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
  31. letta_client/templates/types/templates_create_agents_response_agents_item_identifier_key.py +13 -0
  32. letta_client/templates/types/templates_create_agents_response_agents_item_identifier_key_item.py +5 -0
  33. letta_client/templates/types/templates_create_agents_response_agents_item_last_updated_by_id.py +13 -0
  34. letta_client/templates/types/templates_create_agents_response_agents_item_last_updated_by_id_item.py +5 -0
  35. letta_client/templates/types/templates_create_agents_response_agents_item_llm_config.py +50 -0
  36. letta_client/templates/types/templates_create_agents_response_agents_item_llm_config_handle.py +13 -0
  37. letta_client/templates/types/templates_create_agents_response_agents_item_llm_config_handle_item.py +5 -0
  38. letta_client/templates/types/templates_create_agents_response_agents_item_llm_config_max_tokens.py +13 -0
  39. letta_client/templates/types/templates_create_agents_response_agents_item_llm_config_max_tokens_item.py +5 -0
  40. letta_client/templates/types/templates_create_agents_response_agents_item_llm_config_model_endpoint.py +13 -0
  41. 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
  42. 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
  43. letta_client/templates/types/templates_create_agents_response_agents_item_llm_config_model_wrapper.py +13 -0
  44. letta_client/templates/types/{templates_create_agents_from_template_response_agents_item_created_at_item.py → templates_create_agents_response_agents_item_llm_config_model_wrapper_item.py} +1 -1
  45. letta_client/templates/types/templates_create_agents_response_agents_item_llm_config_put_inner_thoughts_in_kwargs.py +13 -0
  46. letta_client/templates/types/templates_create_agents_response_agents_item_llm_config_put_inner_thoughts_in_kwargs_item.py +5 -0
  47. letta_client/templates/types/templates_create_agents_response_agents_item_llm_config_temperature.py +5 -0
  48. letta_client/templates/types/templates_create_agents_response_agents_item_memory.py +26 -0
  49. letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item.py +59 -0
  50. letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item_created_by_id.py +13 -0
  51. 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
  52. letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item_description.py +13 -0
  53. letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item_description_item.py +5 -0
  54. letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item_id.py +5 -0
  55. letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item_is_template.py +5 -0
  56. letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item_label.py +13 -0
  57. letta_client/templates/types/{templates_create_agents_from_template_response_agents_item_updated_at_item.py → templates_create_agents_response_agents_item_memory_blocks_item_label_item.py} +1 -1
  58. letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item_last_updated_by_id.py +13 -0
  59. letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item_last_updated_by_id_item.py +5 -0
  60. letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item_limit.py +5 -0
  61. letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item_metadata.py +12 -0
  62. 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
  63. letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item_name.py +13 -0
  64. letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item_name_item.py +5 -0
  65. letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item_organization_id.py +13 -0
  66. letta_client/templates/types/templates_create_agents_response_agents_item_memory_blocks_item_organization_id_item.py +5 -0
  67. letta_client/templates/types/templates_create_agents_response_agents_item_memory_prompt_template.py +5 -0
  68. letta_client/templates/types/templates_create_agents_response_agents_item_message_buffer_autoclear.py +5 -0
  69. letta_client/templates/types/templates_create_agents_response_agents_item_message_ids.py +13 -0
  70. letta_client/templates/types/templates_create_agents_response_agents_item_message_ids_item.py +5 -0
  71. letta_client/templates/types/templates_create_agents_response_agents_item_metadata.py +12 -0
  72. letta_client/templates/types/templates_create_agents_response_agents_item_metadata_item.py +5 -0
  73. letta_client/templates/types/templates_create_agents_response_agents_item_organization_id.py +13 -0
  74. letta_client/templates/types/templates_create_agents_response_agents_item_organization_id_item.py +5 -0
  75. letta_client/templates/types/templates_create_agents_response_agents_item_project_id.py +13 -0
  76. letta_client/templates/types/templates_create_agents_response_agents_item_project_id_item.py +5 -0
  77. letta_client/templates/types/templates_create_agents_response_agents_item_sources_item.py +55 -0
  78. letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_created_at.py +13 -0
  79. letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_created_at_item.py +5 -0
  80. letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_created_by_id.py +13 -0
  81. letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_created_by_id_item.py +5 -0
  82. letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_description.py +13 -0
  83. letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_description_item.py +5 -0
  84. letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_embedding_config.py +56 -0
  85. letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_embedding_config_azure_deployment.py +13 -0
  86. 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
  87. letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_embedding_config_azure_endpoint.py +13 -0
  88. 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
  89. letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_embedding_config_azure_version.py +13 -0
  90. 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
  91. letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_embedding_config_embedding_chunk_size.py +15 -0
  92. 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
  93. letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_embedding_config_embedding_endpoint.py +15 -0
  94. 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
  95. 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
  96. letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_embedding_config_handle.py +13 -0
  97. letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_embedding_config_handle_item.py +5 -0
  98. letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_id.py +5 -0
  99. letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_last_updated_by_id.py +13 -0
  100. 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
  101. letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_metadata.py +12 -0
  102. 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
  103. letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_organization_id.py +13 -0
  104. letta_client/templates/types/{templates_create_agents_from_template_response_agents_item_tools_item_name_item.py → templates_create_agents_response_agents_item_sources_item_organization_id_item.py} +1 -1
  105. letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_updated_at.py +13 -0
  106. letta_client/templates/types/templates_create_agents_response_agents_item_sources_item_updated_at_item.py +5 -0
  107. letta_client/templates/types/templates_create_agents_response_agents_item_template_id.py +13 -0
  108. letta_client/templates/types/templates_create_agents_response_agents_item_template_id_item.py +5 -0
  109. letta_client/templates/types/templates_create_agents_response_agents_item_tool_exec_environment_variables.py +10 -0
  110. letta_client/templates/types/templates_create_agents_response_agents_item_tool_exec_environment_variables_item.py +57 -0
  111. letta_client/templates/types/templates_create_agents_response_agents_item_tool_exec_environment_variables_item_created_at.py +13 -0
  112. 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
  113. letta_client/templates/types/templates_create_agents_response_agents_item_tool_exec_environment_variables_item_created_by_id.py +15 -0
  114. letta_client/templates/types/templates_create_agents_response_agents_item_tool_exec_environment_variables_item_created_by_id_item.py +7 -0
  115. letta_client/templates/types/templates_create_agents_response_agents_item_tool_exec_environment_variables_item_description.py +15 -0
  116. letta_client/templates/types/templates_create_agents_response_agents_item_tool_exec_environment_variables_item_description_item.py +7 -0
  117. 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
  118. letta_client/templates/types/templates_create_agents_response_agents_item_tool_exec_environment_variables_item_last_updated_by_id.py +15 -0
  119. letta_client/templates/types/templates_create_agents_response_agents_item_tool_exec_environment_variables_item_last_updated_by_id_item.py +7 -0
  120. letta_client/templates/types/templates_create_agents_response_agents_item_tool_exec_environment_variables_item_organization_id.py +15 -0
  121. 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
  122. letta_client/templates/types/templates_create_agents_response_agents_item_tool_exec_environment_variables_item_updated_at.py +13 -0
  123. 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
  124. letta_client/templates/types/templates_create_agents_response_agents_item_tool_rules.py +13 -0
  125. letta_client/templates/types/templates_create_agents_response_agents_item_tool_rules_item.py +10 -0
  126. letta_client/templates/types/templates_create_agents_response_agents_item_tool_rules_item_child_output_mapping.py +36 -0
  127. letta_client/templates/types/templates_create_agents_response_agents_item_tool_rules_item_child_output_mapping_default_child.py +15 -0
  128. letta_client/templates/types/templates_create_agents_response_agents_item_tool_rules_item_child_output_mapping_default_child_item.py +7 -0
  129. 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
  130. 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
  131. 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
  132. 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
  133. letta_client/templates/types/templates_create_agents_response_agents_item_tool_rules_item_item.py +26 -0
  134. letta_client/templates/types/templates_create_agents_response_agents_item_tool_rules_item_item_child_output_mapping.py +36 -0
  135. letta_client/templates/types/templates_create_agents_response_agents_item_tool_rules_item_item_child_output_mapping_default_child.py +15 -0
  136. letta_client/templates/types/templates_create_agents_response_agents_item_tool_rules_item_item_child_output_mapping_default_child_item.py +7 -0
  137. 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
  138. 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
  139. 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
  140. 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
  141. 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
  142. 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
  143. 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
  144. 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
  145. 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
  146. 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
  147. letta_client/templates/types/templates_create_agents_response_agents_item_tool_rules_item_one.py +23 -0
  148. 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
  149. letta_client/templates/types/templates_create_agents_response_agents_item_tool_rules_item_tool_name.py +23 -0
  150. 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
  151. letta_client/templates/types/templates_create_agents_response_agents_item_tool_rules_item_two.py +23 -0
  152. 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
  153. letta_client/templates/types/templates_create_agents_response_agents_item_tools_item.py +57 -0
  154. letta_client/templates/types/templates_create_agents_response_agents_item_tools_item_created_by_id.py +12 -0
  155. letta_client/templates/types/templates_create_agents_response_agents_item_tools_item_created_by_id_item.py +5 -0
  156. letta_client/templates/types/templates_create_agents_response_agents_item_tools_item_description.py +12 -0
  157. letta_client/templates/types/templates_create_agents_response_agents_item_tools_item_description_item.py +5 -0
  158. letta_client/templates/types/templates_create_agents_response_agents_item_tools_item_json_schema.py +12 -0
  159. 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
  160. letta_client/templates/types/templates_create_agents_response_agents_item_tools_item_last_updated_by_id.py +12 -0
  161. letta_client/templates/types/templates_create_agents_response_agents_item_tools_item_last_updated_by_id_item.py +5 -0
  162. letta_client/templates/types/templates_create_agents_response_agents_item_tools_item_name.py +10 -0
  163. letta_client/templates/types/templates_create_agents_response_agents_item_tools_item_name_item.py +5 -0
  164. letta_client/templates/types/templates_create_agents_response_agents_item_tools_item_organization_id.py +12 -0
  165. letta_client/templates/types/{templates_create_agents_from_template_response_agents_item_description_item.py → templates_create_agents_response_agents_item_tools_item_organization_id_item.py} +1 -1
  166. letta_client/templates/types/templates_create_agents_response_agents_item_tools_item_source_code.py +12 -0
  167. letta_client/templates/types/templates_create_agents_response_agents_item_tools_item_source_code_item.py +5 -0
  168. letta_client/templates/types/templates_create_agents_response_agents_item_tools_item_source_type.py +12 -0
  169. letta_client/templates/types/templates_create_agents_response_agents_item_tools_item_source_type_item.py +5 -0
  170. 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
  171. letta_client/templates/types/templates_create_agents_response_agents_item_updated_at.py +13 -0
  172. letta_client/templates/types/templates_create_agents_response_agents_item_updated_at_item.py +5 -0
  173. {letta_client-0.1.40.dist-info → letta_client-0.1.41.dist-info}/METADATA +1 -1
  174. {letta_client-0.1.40.dist-info → letta_client-0.1.41.dist-info}/RECORD +175 -175
  175. letta_client/templates/types/templates_create_agents_from_template_response_agents_item.py +0 -110
  176. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_base_template_id.py +0 -13
  177. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_base_template_id_item.py +0 -5
  178. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_created_at.py +0 -13
  179. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_created_by_id.py +0 -13
  180. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_created_by_id_item.py +0 -5
  181. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_description.py +0 -13
  182. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config.py +0 -58
  183. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_azure_deployment.py +0 -13
  184. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_azure_endpoint.py +0 -13
  185. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_azure_version.py +0 -13
  186. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_embedding_chunk_size.py +0 -15
  187. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_embedding_endpoint.py +0 -15
  188. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_handle.py +0 -13
  189. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_handle_item.py +0 -5
  190. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_identifier_key.py +0 -13
  191. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_identifier_key_item.py +0 -5
  192. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_last_updated_by_id.py +0 -13
  193. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config.py +0 -50
  194. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_handle.py +0 -13
  195. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_handle_item.py +0 -5
  196. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_max_tokens.py +0 -13
  197. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_max_tokens_item.py +0 -5
  198. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_model_endpoint.py +0 -13
  199. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_model_endpoint_item.py +0 -5
  200. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_model_wrapper.py +0 -13
  201. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_model_wrapper_item.py +0 -5
  202. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_put_inner_thoughts_in_kwargs.py +0 -15
  203. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_put_inner_thoughts_in_kwargs_item.py +0 -7
  204. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_temperature.py +0 -7
  205. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory.py +0 -26
  206. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item.py +0 -65
  207. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_created_by_id.py +0 -13
  208. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_description.py +0 -13
  209. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_id.py +0 -5
  210. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_label.py +0 -13
  211. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_label_item.py +0 -5
  212. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_last_updated_by_id.py +0 -15
  213. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_last_updated_by_id_item.py +0 -7
  214. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_limit.py +0 -7
  215. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_metadata.py +0 -12
  216. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_metadata_item.py +0 -7
  217. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_name.py +0 -13
  218. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_name_item.py +0 -5
  219. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_organization_id.py +0 -13
  220. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_organization_id_item.py +0 -7
  221. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_prompt_template.py +0 -5
  222. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_message_ids.py +0 -13
  223. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_message_ids_item.py +0 -5
  224. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_metadata.py +0 -12
  225. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_organization_id.py +0 -13
  226. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_project_id.py +0 -13
  227. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item.py +0 -59
  228. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_created_at.py +0 -13
  229. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_created_at_item.py +0 -5
  230. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_created_by_id.py +0 -13
  231. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_created_by_id_item.py +0 -5
  232. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_description.py +0 -13
  233. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_description_item.py +0 -5
  234. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config.py +0 -60
  235. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_azure_deployment.py +0 -17
  236. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_azure_deployment_item.py +0 -7
  237. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_azure_endpoint.py +0 -15
  238. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_azure_endpoint_item.py +0 -7
  239. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_azure_version.py +0 -15
  240. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_azure_version_item.py +0 -7
  241. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_embedding_chunk_size.py +0 -17
  242. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_embedding_chunk_size_item.py +0 -7
  243. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_embedding_endpoint.py +0 -17
  244. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_embedding_endpoint_item.py +0 -7
  245. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_handle.py +0 -15
  246. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_handle_item.py +0 -7
  247. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_id.py +0 -5
  248. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_last_updated_by_id.py +0 -13
  249. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_last_updated_by_id_item.py +0 -7
  250. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_metadata.py +0 -12
  251. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_organization_id.py +0 -13
  252. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_updated_at.py +0 -13
  253. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_updated_at_item.py +0 -5
  254. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_template_id.py +0 -13
  255. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables.py +0 -11
  256. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item.py +0 -61
  257. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_created_at.py +0 -17
  258. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_created_at_item.py +0 -7
  259. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_created_by_id.py +0 -17
  260. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_created_by_id_item.py +0 -7
  261. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_description.py +0 -17
  262. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_description_item.py +0 -7
  263. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_last_updated_by_id.py +0 -17
  264. 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
  265. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_organization_id.py +0 -17
  266. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_organization_id_item.py +0 -7
  267. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_updated_at.py +0 -17
  268. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_updated_at_item.py +0 -7
  269. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules.py +0 -13
  270. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item.py +0 -10
  271. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_child_output_mapping.py +0 -36
  272. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_child_output_mapping_default_child.py +0 -17
  273. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_child_output_mapping_default_child_item.py +0 -7
  274. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_child_output_mapping_require_output_mapping.py +0 -7
  275. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item.py +0 -26
  276. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_child_output_mapping.py +0 -38
  277. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_child_output_mapping_default_child.py +0 -17
  278. 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
  279. 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
  280. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_one.py +0 -23
  281. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_tool_name.py +0 -23
  282. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_tool_name.py +0 -23
  283. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item.py +0 -59
  284. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_created_by_id.py +0 -12
  285. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_created_by_id_item.py +0 -5
  286. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_description.py +0 -12
  287. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_description_item.py +0 -5
  288. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_json_schema.py +0 -12
  289. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_last_updated_by_id.py +0 -12
  290. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_last_updated_by_id_item.py +0 -7
  291. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_name.py +0 -12
  292. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_organization_id.py +0 -12
  293. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_organization_id_item.py +0 -5
  294. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_source_code.py +0 -12
  295. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_source_code_item.py +0 -5
  296. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_source_type.py +0 -12
  297. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_source_type_item.py +0 -5
  298. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_updated_at.py +0 -13
  299. {letta_client-0.1.40.dist-info → letta_client-0.1.41.dist-info}/WHEEL +0 -0
@@ -0,0 +1,59 @@
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_limit import (
6
+ TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemLimit,
7
+ )
8
+ from .templates_create_agents_response_agents_item_memory_blocks_item_name import (
9
+ TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemName,
10
+ )
11
+ from .templates_create_agents_response_agents_item_memory_blocks_item_is_template import (
12
+ TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemIsTemplate,
13
+ )
14
+ from .templates_create_agents_response_agents_item_memory_blocks_item_label import (
15
+ TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemLabel,
16
+ )
17
+ from .templates_create_agents_response_agents_item_memory_blocks_item_description import (
18
+ TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemDescription,
19
+ )
20
+ from .templates_create_agents_response_agents_item_memory_blocks_item_metadata import (
21
+ TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemMetadata,
22
+ )
23
+ from .templates_create_agents_response_agents_item_memory_blocks_item_id import (
24
+ TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemId,
25
+ )
26
+ from .templates_create_agents_response_agents_item_memory_blocks_item_organization_id import (
27
+ TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemOrganizationId,
28
+ )
29
+ from .templates_create_agents_response_agents_item_memory_blocks_item_created_by_id import (
30
+ TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemCreatedById,
31
+ )
32
+ from .templates_create_agents_response_agents_item_memory_blocks_item_last_updated_by_id import (
33
+ TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemLastUpdatedById,
34
+ )
35
+ from ...core.pydantic_utilities import IS_PYDANTIC_V2
36
+ import pydantic
37
+
38
+
39
+ class TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItem(UncheckedBaseModel):
40
+ value: str
41
+ limit: typing.Optional[TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemLimit] = None
42
+ name: typing.Optional[TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemName] = None
43
+ is_template: typing.Optional[TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemIsTemplate] = None
44
+ label: typing.Optional[TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemLabel] = None
45
+ description: typing.Optional[TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemDescription] = None
46
+ metadata: typing.Optional[TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemMetadata] = None
47
+ id: typing.Optional[TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemId] = None
48
+ organization_id: typing.Optional[TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemOrganizationId] = None
49
+ created_by_id: typing.Optional[TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemCreatedById] = None
50
+ last_updated_by_id: typing.Optional[TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemLastUpdatedById] = None
51
+
52
+ if IS_PYDANTIC_V2:
53
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
54
+ else:
55
+
56
+ class Config:
57
+ frozen = True
58
+ smart_union = True
59
+ 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_memory_blocks_item_created_by_id_item import (
5
+ TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemCreatedByIdItem,
6
+ )
7
+
8
+ TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemCreatedById = typing.Union[
9
+ str,
10
+ typing.Optional[str],
11
+ typing.List[typing.Optional[TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemCreatedByIdItem]],
12
+ typing.Optional[typing.Any],
13
+ ]
@@ -2,4 +2,4 @@
2
2
 
3
3
  import typing
4
4
 
5
- TemplatesCreateAgentsFromTemplateResponseAgentsItemLastUpdatedByIdItem = typing.Union[str, typing.Optional[str]]
5
+ TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemCreatedByIdItem = typing.Union[str, typing.Optional[str]]
@@ -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_memory_blocks_item_description_item import (
5
+ TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemDescriptionItem,
6
+ )
7
+
8
+ TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemDescription = typing.Union[
9
+ str,
10
+ typing.Optional[str],
11
+ typing.List[typing.Optional[TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemDescriptionItem]],
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
+ TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemDescriptionItem = typing.Union[str, typing.Optional[str]]
@@ -0,0 +1,5 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemId = typing.Union[str, typing.Optional[typing.Any]]
@@ -0,0 +1,5 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemIsTemplate = typing.Union[bool, typing.Optional[typing.Any]]
@@ -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_memory_blocks_item_label_item import (
5
+ TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemLabelItem,
6
+ )
7
+
8
+ TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemLabel = typing.Union[
9
+ str,
10
+ typing.Optional[str],
11
+ typing.List[typing.Optional[TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemLabelItem]],
12
+ typing.Optional[typing.Any],
13
+ ]
@@ -2,4 +2,4 @@
2
2
 
3
3
  import typing
4
4
 
5
- TemplatesCreateAgentsFromTemplateResponseAgentsItemUpdatedAtItem = typing.Union[str, typing.Optional[str]]
5
+ TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemLabelItem = typing.Union[str, typing.Optional[str]]
@@ -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_memory_blocks_item_last_updated_by_id_item import (
5
+ TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemLastUpdatedByIdItem,
6
+ )
7
+
8
+ TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemLastUpdatedById = typing.Union[
9
+ str,
10
+ typing.Optional[str],
11
+ typing.List[typing.Optional[TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemLastUpdatedByIdItem]],
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
+ TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemLastUpdatedByIdItem = typing.Union[str, typing.Optional[str]]
@@ -0,0 +1,5 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemLimit = typing.Union[float, typing.Optional[typing.Any]]
@@ -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_memory_blocks_item_metadata_item import (
5
+ TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemMetadataItem,
6
+ )
7
+
8
+ TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemMetadata = typing.Union[
9
+ typing.Optional[str],
10
+ typing.List[typing.Optional[TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemMetadataItem]],
11
+ typing.Optional[typing.Any],
12
+ ]
@@ -2,6 +2,6 @@
2
2
 
3
3
  import typing
4
4
 
5
- TemplatesCreateAgentsFromTemplateResponseAgentsItemSourcesItemMetadataItem = typing.Union[
5
+ TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemMetadataItem = typing.Union[
6
6
  typing.Optional[typing.Any], typing.Optional[str]
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_memory_blocks_item_name_item import (
5
+ TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemNameItem,
6
+ )
7
+
8
+ TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemName = typing.Union[
9
+ str,
10
+ typing.Optional[str],
11
+ typing.List[typing.Optional[TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemNameItem]],
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
+ TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemNameItem = typing.Union[str, typing.Optional[str]]
@@ -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_memory_blocks_item_organization_id_item import (
5
+ TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemOrganizationIdItem,
6
+ )
7
+
8
+ TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemOrganizationId = typing.Union[
9
+ str,
10
+ typing.Optional[str],
11
+ typing.List[typing.Optional[TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemOrganizationIdItem]],
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
+ TemplatesCreateAgentsResponseAgentsItemMemoryBlocksItemOrganizationIdItem = typing.Union[str, typing.Optional[str]]
@@ -0,0 +1,5 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ TemplatesCreateAgentsResponseAgentsItemMemoryPromptTemplate = typing.Union[str, typing.Optional[typing.Any]]
@@ -0,0 +1,5 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ TemplatesCreateAgentsResponseAgentsItemMessageBufferAutoclear = typing.Union[bool, typing.Optional[typing.Any]]
@@ -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_message_ids_item import (
5
+ TemplatesCreateAgentsResponseAgentsItemMessageIdsItem,
6
+ )
7
+
8
+ TemplatesCreateAgentsResponseAgentsItemMessageIds = typing.Union[
9
+ typing.List[str],
10
+ typing.Optional[str],
11
+ typing.List[typing.Optional[TemplatesCreateAgentsResponseAgentsItemMessageIdsItem]],
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
+ TemplatesCreateAgentsResponseAgentsItemMessageIdsItem = typing.Union[typing.List[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_metadata_item import (
5
+ TemplatesCreateAgentsResponseAgentsItemMetadataItem,
6
+ )
7
+
8
+ TemplatesCreateAgentsResponseAgentsItemMetadata = typing.Union[
9
+ typing.Optional[str],
10
+ typing.List[typing.Optional[TemplatesCreateAgentsResponseAgentsItemMetadataItem]],
11
+ typing.Optional[typing.Any],
12
+ ]
@@ -0,0 +1,5 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ TemplatesCreateAgentsResponseAgentsItemMetadataItem = typing.Union[typing.Optional[typing.Any], typing.Optional[str]]
@@ -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_organization_id_item import (
5
+ TemplatesCreateAgentsResponseAgentsItemOrganizationIdItem,
6
+ )
7
+
8
+ TemplatesCreateAgentsResponseAgentsItemOrganizationId = typing.Union[
9
+ str,
10
+ typing.Optional[str],
11
+ typing.List[typing.Optional[TemplatesCreateAgentsResponseAgentsItemOrganizationIdItem]],
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
+ TemplatesCreateAgentsResponseAgentsItemOrganizationIdItem = typing.Union[str, typing.Optional[str]]
@@ -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_project_id_item import (
5
+ TemplatesCreateAgentsResponseAgentsItemProjectIdItem,
6
+ )
7
+
8
+ TemplatesCreateAgentsResponseAgentsItemProjectId = typing.Union[
9
+ str,
10
+ typing.Optional[str],
11
+ typing.List[typing.Optional[TemplatesCreateAgentsResponseAgentsItemProjectIdItem]],
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
+ TemplatesCreateAgentsResponseAgentsItemProjectIdItem = typing.Union[str, typing.Optional[str]]
@@ -0,0 +1,55 @@
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_sources_item_id import (
6
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemId,
7
+ )
8
+ from .templates_create_agents_response_agents_item_sources_item_description import (
9
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemDescription,
10
+ )
11
+ from .templates_create_agents_response_agents_item_sources_item_embedding_config import (
12
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemEmbeddingConfig,
13
+ )
14
+ from .templates_create_agents_response_agents_item_sources_item_organization_id import (
15
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemOrganizationId,
16
+ )
17
+ from .templates_create_agents_response_agents_item_sources_item_metadata import (
18
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemMetadata,
19
+ )
20
+ from .templates_create_agents_response_agents_item_sources_item_created_by_id import (
21
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemCreatedById,
22
+ )
23
+ from .templates_create_agents_response_agents_item_sources_item_last_updated_by_id import (
24
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemLastUpdatedById,
25
+ )
26
+ from .templates_create_agents_response_agents_item_sources_item_created_at import (
27
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemCreatedAt,
28
+ )
29
+ from .templates_create_agents_response_agents_item_sources_item_updated_at import (
30
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemUpdatedAt,
31
+ )
32
+ from ...core.pydantic_utilities import IS_PYDANTIC_V2
33
+ import pydantic
34
+
35
+
36
+ class TemplatesCreateAgentsResponseAgentsItemSourcesItem(UncheckedBaseModel):
37
+ id: typing.Optional[TemplatesCreateAgentsResponseAgentsItemSourcesItemId] = None
38
+ name: str
39
+ description: typing.Optional[TemplatesCreateAgentsResponseAgentsItemSourcesItemDescription] = None
40
+ embedding_config: TemplatesCreateAgentsResponseAgentsItemSourcesItemEmbeddingConfig
41
+ organization_id: typing.Optional[TemplatesCreateAgentsResponseAgentsItemSourcesItemOrganizationId] = None
42
+ metadata: typing.Optional[TemplatesCreateAgentsResponseAgentsItemSourcesItemMetadata] = None
43
+ created_by_id: typing.Optional[TemplatesCreateAgentsResponseAgentsItemSourcesItemCreatedById] = None
44
+ last_updated_by_id: typing.Optional[TemplatesCreateAgentsResponseAgentsItemSourcesItemLastUpdatedById] = None
45
+ created_at: typing.Optional[TemplatesCreateAgentsResponseAgentsItemSourcesItemCreatedAt] = None
46
+ updated_at: typing.Optional[TemplatesCreateAgentsResponseAgentsItemSourcesItemUpdatedAt] = None
47
+
48
+ if IS_PYDANTIC_V2:
49
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
50
+ else:
51
+
52
+ class Config:
53
+ frozen = True
54
+ smart_union = True
55
+ 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_sources_item_created_at_item import (
5
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemCreatedAtItem,
6
+ )
7
+
8
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemCreatedAt = typing.Union[
9
+ str,
10
+ typing.Optional[str],
11
+ typing.List[typing.Optional[TemplatesCreateAgentsResponseAgentsItemSourcesItemCreatedAtItem]],
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
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemCreatedAtItem = typing.Union[str, typing.Optional[str]]
@@ -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_sources_item_created_by_id_item import (
5
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemCreatedByIdItem,
6
+ )
7
+
8
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemCreatedById = typing.Union[
9
+ str,
10
+ typing.Optional[str],
11
+ typing.List[typing.Optional[TemplatesCreateAgentsResponseAgentsItemSourcesItemCreatedByIdItem]],
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
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemCreatedByIdItem = typing.Union[str, typing.Optional[str]]
@@ -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_sources_item_description_item import (
5
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemDescriptionItem,
6
+ )
7
+
8
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemDescription = typing.Union[
9
+ str,
10
+ typing.Optional[str],
11
+ typing.List[typing.Optional[TemplatesCreateAgentsResponseAgentsItemSourcesItemDescriptionItem]],
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
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemDescriptionItem = typing.Union[str, typing.Optional[str]]
@@ -0,0 +1,56 @@
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_sources_item_embedding_config_embedding_endpoint_type import (
5
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType,
6
+ )
7
+ import typing
8
+ from .templates_create_agents_response_agents_item_sources_item_embedding_config_embedding_endpoint import (
9
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpoint,
10
+ )
11
+ from .templates_create_agents_response_agents_item_sources_item_embedding_config_embedding_chunk_size import (
12
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSize,
13
+ )
14
+ from .templates_create_agents_response_agents_item_sources_item_embedding_config_handle import (
15
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemEmbeddingConfigHandle,
16
+ )
17
+ from .templates_create_agents_response_agents_item_sources_item_embedding_config_azure_endpoint import (
18
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpoint,
19
+ )
20
+ from .templates_create_agents_response_agents_item_sources_item_embedding_config_azure_version import (
21
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemEmbeddingConfigAzureVersion,
22
+ )
23
+ from .templates_create_agents_response_agents_item_sources_item_embedding_config_azure_deployment import (
24
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemEmbeddingConfigAzureDeployment,
25
+ )
26
+ from ...core.pydantic_utilities import IS_PYDANTIC_V2
27
+ import pydantic
28
+
29
+
30
+ class TemplatesCreateAgentsResponseAgentsItemSourcesItemEmbeddingConfig(UncheckedBaseModel):
31
+ embedding_endpoint_type: TemplatesCreateAgentsResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType
32
+ embedding_endpoint: typing.Optional[
33
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpoint
34
+ ] = None
35
+ embedding_model: str
36
+ embedding_dim: float
37
+ embedding_chunk_size: typing.Optional[
38
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSize
39
+ ] = None
40
+ handle: typing.Optional[TemplatesCreateAgentsResponseAgentsItemSourcesItemEmbeddingConfigHandle] = None
41
+ azure_endpoint: typing.Optional[TemplatesCreateAgentsResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpoint] = (
42
+ None
43
+ )
44
+ azure_version: typing.Optional[TemplatesCreateAgentsResponseAgentsItemSourcesItemEmbeddingConfigAzureVersion] = None
45
+ azure_deployment: typing.Optional[
46
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemEmbeddingConfigAzureDeployment
47
+ ] = None
48
+
49
+ if IS_PYDANTIC_V2:
50
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
51
+ else:
52
+
53
+ class Config:
54
+ frozen = True
55
+ smart_union = True
56
+ 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_sources_item_embedding_config_azure_deployment_item import (
5
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemEmbeddingConfigAzureDeploymentItem,
6
+ )
7
+
8
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemEmbeddingConfigAzureDeployment = typing.Union[
9
+ str,
10
+ typing.Optional[str],
11
+ typing.List[typing.Optional[TemplatesCreateAgentsResponseAgentsItemSourcesItemEmbeddingConfigAzureDeploymentItem]],
12
+ typing.Optional[typing.Any],
13
+ ]
@@ -2,6 +2,6 @@
2
2
 
3
3
  import typing
4
4
 
5
- TemplatesCreateAgentsFromTemplateResponseAgentsItemEmbeddingConfigAzureEndpointItem = typing.Union[
5
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemEmbeddingConfigAzureDeploymentItem = typing.Union[
6
6
  str, typing.Optional[str]
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_sources_item_embedding_config_azure_endpoint_item import (
5
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpointItem,
6
+ )
7
+
8
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpoint = typing.Union[
9
+ str,
10
+ typing.Optional[str],
11
+ typing.List[typing.Optional[TemplatesCreateAgentsResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpointItem]],
12
+ typing.Optional[typing.Any],
13
+ ]
@@ -2,6 +2,6 @@
2
2
 
3
3
  import typing
4
4
 
5
- TemplatesCreateAgentsFromTemplateResponseAgentsItemMemoryBlocksItemDescriptionItem = typing.Union[
5
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpointItem = typing.Union[
6
6
  str, typing.Optional[str]
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_sources_item_embedding_config_azure_version_item import (
5
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemEmbeddingConfigAzureVersionItem,
6
+ )
7
+
8
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemEmbeddingConfigAzureVersion = typing.Union[
9
+ str,
10
+ typing.Optional[str],
11
+ typing.List[typing.Optional[TemplatesCreateAgentsResponseAgentsItemSourcesItemEmbeddingConfigAzureVersionItem]],
12
+ typing.Optional[typing.Any],
13
+ ]
@@ -2,6 +2,6 @@
2
2
 
3
3
  import typing
4
4
 
5
- TemplatesCreateAgentsFromTemplateResponseAgentsItemSourcesItemOrganizationIdItem = typing.Union[
5
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemEmbeddingConfigAzureVersionItem = typing.Union[
6
6
  str, typing.Optional[str]
7
7
  ]
@@ -0,0 +1,15 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+ from .templates_create_agents_response_agents_item_sources_item_embedding_config_embedding_chunk_size_item import (
5
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSizeItem,
6
+ )
7
+
8
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSize = typing.Union[
9
+ float,
10
+ typing.Optional[str],
11
+ typing.List[
12
+ typing.Optional[TemplatesCreateAgentsResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSizeItem]
13
+ ],
14
+ typing.Optional[typing.Any],
15
+ ]
@@ -2,6 +2,6 @@
2
2
 
3
3
  import typing
4
4
 
5
- TemplatesCreateAgentsFromTemplateResponseAgentsItemEmbeddingConfigEmbeddingChunkSizeItem = typing.Union[
5
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSizeItem = typing.Union[
6
6
  float, typing.Optional[str]
7
7
  ]
@@ -0,0 +1,15 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+ from .templates_create_agents_response_agents_item_sources_item_embedding_config_embedding_endpoint_item import (
5
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointItem,
6
+ )
7
+
8
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpoint = typing.Union[
9
+ str,
10
+ typing.Optional[str],
11
+ typing.List[
12
+ typing.Optional[TemplatesCreateAgentsResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointItem]
13
+ ],
14
+ typing.Optional[typing.Any],
15
+ ]
@@ -2,6 +2,6 @@
2
2
 
3
3
  import typing
4
4
 
5
- TemplatesCreateAgentsFromTemplateResponseAgentsItemEmbeddingConfigAzureDeploymentItem = typing.Union[
5
+ TemplatesCreateAgentsResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointItem = typing.Union[
6
6
  str, typing.Optional[str]
7
7
  ]