letta-client 0.1.25__py3-none-any.whl → 0.1.27__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of letta-client might be problematic. Click here for more details.
- letta_client/__init__.py +326 -10
- letta_client/agents/__init__.py +324 -11
- letta_client/agents/client.py +31 -17
- letta_client/agents/templates/__init__.py +2 -2
- letta_client/agents/templates/client.py +19 -24
- letta_client/agents/templates/types/__init__.py +2 -1
- letta_client/agents/templates/types/templates_create_response.py +22 -0
- letta_client/agents/types/__init__.py +548 -10
- letta_client/agents/types/agents_search_request_search_item.py +2 -6
- letta_client/agents/types/{agents_search_request_search_item_two.py → agents_search_request_search_item_field.py} +1 -1
- letta_client/agents/types/agents_search_request_search_item_one_operator.py +1 -1
- letta_client/agents/types/{agents_search_request_search_item_direction.py → agents_search_response.py} +6 -6
- letta_client/agents/types/agents_search_response_agents_item.py +63 -0
- letta_client/agents/types/agents_search_response_agents_item_agent_type.py +7 -0
- letta_client/agents/types/agents_search_response_agents_item_base_template_id.py +11 -0
- letta_client/agents/types/agents_search_response_agents_item_base_template_id_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_created_at.py +11 -0
- letta_client/agents/types/agents_search_response_agents_item_created_at_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_created_by_id.py +11 -0
- letta_client/agents/types/agents_search_response_agents_item_created_by_id_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_description.py +11 -0
- letta_client/agents/types/agents_search_response_agents_item_description_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_embedding_config.py +48 -0
- letta_client/agents/types/agents_search_response_agents_item_embedding_config_azure_deployment.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_embedding_config_azure_deployment_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_embedding_config_azure_endpoint.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_embedding_config_azure_endpoint_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_embedding_config_azure_version.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_embedding_config_azure_version_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_embedding_config_embedding_chunk_size.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_embedding_config_embedding_chunk_size_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_embedding_config_embedding_endpoint.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_embedding_config_embedding_endpoint_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_embedding_config_embedding_endpoint_type.py +27 -0
- letta_client/agents/types/agents_search_response_agents_item_embedding_config_handle.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_embedding_config_handle_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_last_updated_by_id.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_last_updated_by_id_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_llm_config.py +46 -0
- letta_client/agents/types/agents_search_response_agents_item_llm_config_handle.py +11 -0
- letta_client/agents/types/agents_search_response_agents_item_llm_config_handle_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_llm_config_max_tokens.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_llm_config_max_tokens_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_llm_config_model_endpoint.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_llm_config_model_endpoint_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_llm_config_model_endpoint_type.py +27 -0
- letta_client/agents/types/agents_search_response_agents_item_llm_config_model_wrapper.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_llm_config_model_wrapper_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_llm_config_put_inner_thoughts_in_kwargs.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_llm_config_put_inner_thoughts_in_kwargs_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_llm_config_temperature.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_memory.py +24 -0
- letta_client/agents/types/agents_search_response_agents_item_memory_blocks_item.py +57 -0
- letta_client/agents/types/agents_search_response_agents_item_memory_blocks_item_created_by_id.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_memory_blocks_item_created_by_id_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_memory_blocks_item_description.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_memory_blocks_item_description_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_memory_blocks_item_id.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_memory_blocks_item_is_template.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_memory_blocks_item_label.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_memory_blocks_item_label_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_memory_blocks_item_last_updated_by_id.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_memory_blocks_item_last_updated_by_id_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_memory_blocks_item_limit.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_memory_blocks_item_metadata.py +12 -0
- letta_client/agents/types/agents_search_response_agents_item_memory_blocks_item_metadata_item.py +7 -0
- letta_client/agents/types/agents_search_response_agents_item_memory_blocks_item_name.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_memory_blocks_item_name_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_memory_blocks_item_organization_id.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_memory_blocks_item_organization_id_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_memory_prompt_template.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_message_ids.py +11 -0
- letta_client/agents/types/agents_search_response_agents_item_message_ids_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_metadata.py +10 -0
- letta_client/agents/types/agents_search_response_agents_item_metadata_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_organization_id.py +11 -0
- letta_client/agents/types/agents_search_response_agents_item_organization_id_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_project_id.py +11 -0
- letta_client/agents/types/agents_search_response_agents_item_project_id_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item.py +51 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_created_at.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_created_at_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_created_by_id.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_created_by_id_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_description.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_description_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_embedding_config.py +52 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_embedding_config_azure_deployment.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_embedding_config_azure_deployment_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_embedding_config_azure_endpoint.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_embedding_config_azure_endpoint_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_embedding_config_azure_version.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_embedding_config_azure_version_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_embedding_config_embedding_chunk_size.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_embedding_config_embedding_chunk_size_item.py +7 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_embedding_config_embedding_endpoint.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_embedding_config_embedding_endpoint_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_embedding_config_embedding_endpoint_type.py +27 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_embedding_config_handle.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_embedding_config_handle_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_id.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_last_updated_by_id.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_last_updated_by_id_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_metadata.py +12 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_metadata_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_organization_id.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_organization_id_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_updated_at.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_sources_item_updated_at_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_template_id.py +11 -0
- letta_client/agents/types/agents_search_response_agents_item_template_id_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_exec_environment_variables.py +10 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_exec_environment_variables_item.py +53 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_exec_environment_variables_item_created_at.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_exec_environment_variables_item_created_at_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_exec_environment_variables_item_created_by_id.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_exec_environment_variables_item_created_by_id_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_exec_environment_variables_item_description.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_exec_environment_variables_item_description_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_exec_environment_variables_item_id.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_exec_environment_variables_item_last_updated_by_id.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_exec_environment_variables_item_last_updated_by_id_item.py +7 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_exec_environment_variables_item_organization_id.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_exec_environment_variables_item_organization_id_item.py +7 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_exec_environment_variables_item_updated_at.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_exec_environment_variables_item_updated_at_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules.py +11 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item.py +8 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_child_output_mapping.py +34 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_child_output_mapping_default_child.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_child_output_mapping_default_child_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_child_output_mapping_require_output_mapping.py +7 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_child_output_mapping_type.py +7 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_children.py +24 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_children_type.py +7 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_item.py +22 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_item_child_output_mapping.py +34 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_item_child_output_mapping_default_child.py +13 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_item_child_output_mapping_default_child_item.py +7 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_item_child_output_mapping_require_output_mapping.py +7 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_item_child_output_mapping_type.py +7 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_item_children.py +24 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_item_children_type.py +7 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_item_one.py +23 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_item_one_type.py +7 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_item_two.py +23 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_item_two_type.py +7 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_one.py +23 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_one_type.py +7 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_two.py +23 -0
- letta_client/agents/types/agents_search_response_agents_item_tool_rules_item_two_type.py +7 -0
- letta_client/agents/types/agents_search_response_agents_item_tools_item.py +47 -0
- letta_client/agents/types/agents_search_response_agents_item_tools_item_created_by_id.py +10 -0
- letta_client/agents/types/agents_search_response_agents_item_tools_item_created_by_id_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_tools_item_description.py +10 -0
- letta_client/agents/types/agents_search_response_agents_item_tools_item_description_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_tools_item_json_schema.py +12 -0
- letta_client/agents/types/agents_search_response_agents_item_tools_item_json_schema_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_tools_item_last_updated_by_id.py +10 -0
- letta_client/agents/types/agents_search_response_agents_item_tools_item_last_updated_by_id_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_tools_item_name.py +8 -0
- letta_client/agents/types/agents_search_response_agents_item_tools_item_name_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_tools_item_organization_id.py +10 -0
- letta_client/agents/types/agents_search_response_agents_item_tools_item_organization_id_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_tools_item_source_code.py +10 -0
- letta_client/agents/types/agents_search_response_agents_item_tools_item_source_code_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_tools_item_source_type.py +10 -0
- letta_client/agents/types/agents_search_response_agents_item_tools_item_source_type_item.py +5 -0
- letta_client/agents/types/agents_search_response_agents_item_tools_item_tool_type.py +10 -0
- letta_client/agents/types/agents_search_response_agents_item_updated_at.py +11 -0
- letta_client/agents/types/agents_search_response_agents_item_updated_at_item.py +5 -0
- letta_client/core/client_wrapper.py +1 -1
- letta_client/templates/__init__.py +4 -0
- letta_client/templates/client.py +10 -0
- letta_client/templates/types/__init__.py +8 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config.py +4 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_max_tokens.py +13 -0
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_max_tokens_item.py +5 -0
- letta_client/types/llm_config.py +6 -0
- letta_client/types/step.py +5 -0
- {letta_client-0.1.25.dist-info → letta_client-0.1.27.dist-info}/METADATA +1 -1
- {letta_client-0.1.25.dist-info → letta_client-0.1.27.dist-info}/RECORD +183 -24
- letta_client/agents/types/agents_search_request_combinator.py +0 -5
- letta_client/agents/types/agents_search_request_search_item_direction_direction.py +0 -5
- letta_client/agents/types/agents_search_request_search_item_direction_value.py +0 -5
- {letta_client-0.1.25.dist-info → letta_client-0.1.27.dist-info}/WHEEL +0 -0
letta_client/agents/__init__.py
CHANGED
|
@@ -1,37 +1,350 @@
|
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
|
|
3
3
|
from .types import (
|
|
4
|
-
AgentsSearchRequestCombinator,
|
|
5
4
|
AgentsSearchRequestSearchItem,
|
|
6
|
-
|
|
7
|
-
AgentsSearchRequestSearchItemDirectionDirection,
|
|
8
|
-
AgentsSearchRequestSearchItemDirectionValue,
|
|
5
|
+
AgentsSearchRequestSearchItemField,
|
|
9
6
|
AgentsSearchRequestSearchItemOne,
|
|
10
7
|
AgentsSearchRequestSearchItemOneOperator,
|
|
11
|
-
AgentsSearchRequestSearchItemTwo,
|
|
12
8
|
AgentsSearchRequestSearchItemZero,
|
|
9
|
+
AgentsSearchResponse,
|
|
10
|
+
AgentsSearchResponseAgentsItem,
|
|
11
|
+
AgentsSearchResponseAgentsItemAgentType,
|
|
12
|
+
AgentsSearchResponseAgentsItemBaseTemplateId,
|
|
13
|
+
AgentsSearchResponseAgentsItemBaseTemplateIdItem,
|
|
14
|
+
AgentsSearchResponseAgentsItemCreatedAt,
|
|
15
|
+
AgentsSearchResponseAgentsItemCreatedAtItem,
|
|
16
|
+
AgentsSearchResponseAgentsItemCreatedById,
|
|
17
|
+
AgentsSearchResponseAgentsItemCreatedByIdItem,
|
|
18
|
+
AgentsSearchResponseAgentsItemDescription,
|
|
19
|
+
AgentsSearchResponseAgentsItemDescriptionItem,
|
|
20
|
+
AgentsSearchResponseAgentsItemEmbeddingConfig,
|
|
21
|
+
AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeployment,
|
|
22
|
+
AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeploymentItem,
|
|
23
|
+
AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpoint,
|
|
24
|
+
AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpointItem,
|
|
25
|
+
AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersion,
|
|
26
|
+
AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersionItem,
|
|
27
|
+
AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSize,
|
|
28
|
+
AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSizeItem,
|
|
29
|
+
AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpoint,
|
|
30
|
+
AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointItem,
|
|
31
|
+
AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType,
|
|
32
|
+
AgentsSearchResponseAgentsItemEmbeddingConfigHandle,
|
|
33
|
+
AgentsSearchResponseAgentsItemEmbeddingConfigHandleItem,
|
|
34
|
+
AgentsSearchResponseAgentsItemLastUpdatedById,
|
|
35
|
+
AgentsSearchResponseAgentsItemLastUpdatedByIdItem,
|
|
36
|
+
AgentsSearchResponseAgentsItemLlmConfig,
|
|
37
|
+
AgentsSearchResponseAgentsItemLlmConfigHandle,
|
|
38
|
+
AgentsSearchResponseAgentsItemLlmConfigHandleItem,
|
|
39
|
+
AgentsSearchResponseAgentsItemLlmConfigMaxTokens,
|
|
40
|
+
AgentsSearchResponseAgentsItemLlmConfigMaxTokensItem,
|
|
41
|
+
AgentsSearchResponseAgentsItemLlmConfigModelEndpoint,
|
|
42
|
+
AgentsSearchResponseAgentsItemLlmConfigModelEndpointItem,
|
|
43
|
+
AgentsSearchResponseAgentsItemLlmConfigModelEndpointType,
|
|
44
|
+
AgentsSearchResponseAgentsItemLlmConfigModelWrapper,
|
|
45
|
+
AgentsSearchResponseAgentsItemLlmConfigModelWrapperItem,
|
|
46
|
+
AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargs,
|
|
47
|
+
AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargsItem,
|
|
48
|
+
AgentsSearchResponseAgentsItemLlmConfigTemperature,
|
|
49
|
+
AgentsSearchResponseAgentsItemMemory,
|
|
50
|
+
AgentsSearchResponseAgentsItemMemoryBlocksItem,
|
|
51
|
+
AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedById,
|
|
52
|
+
AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedByIdItem,
|
|
53
|
+
AgentsSearchResponseAgentsItemMemoryBlocksItemDescription,
|
|
54
|
+
AgentsSearchResponseAgentsItemMemoryBlocksItemDescriptionItem,
|
|
55
|
+
AgentsSearchResponseAgentsItemMemoryBlocksItemId,
|
|
56
|
+
AgentsSearchResponseAgentsItemMemoryBlocksItemIsTemplate,
|
|
57
|
+
AgentsSearchResponseAgentsItemMemoryBlocksItemLabel,
|
|
58
|
+
AgentsSearchResponseAgentsItemMemoryBlocksItemLabelItem,
|
|
59
|
+
AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedById,
|
|
60
|
+
AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedByIdItem,
|
|
61
|
+
AgentsSearchResponseAgentsItemMemoryBlocksItemLimit,
|
|
62
|
+
AgentsSearchResponseAgentsItemMemoryBlocksItemMetadata,
|
|
63
|
+
AgentsSearchResponseAgentsItemMemoryBlocksItemMetadataItem,
|
|
64
|
+
AgentsSearchResponseAgentsItemMemoryBlocksItemName,
|
|
65
|
+
AgentsSearchResponseAgentsItemMemoryBlocksItemNameItem,
|
|
66
|
+
AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationId,
|
|
67
|
+
AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationIdItem,
|
|
68
|
+
AgentsSearchResponseAgentsItemMemoryPromptTemplate,
|
|
69
|
+
AgentsSearchResponseAgentsItemMessageIds,
|
|
70
|
+
AgentsSearchResponseAgentsItemMessageIdsItem,
|
|
71
|
+
AgentsSearchResponseAgentsItemMetadata,
|
|
72
|
+
AgentsSearchResponseAgentsItemMetadataItem,
|
|
73
|
+
AgentsSearchResponseAgentsItemOrganizationId,
|
|
74
|
+
AgentsSearchResponseAgentsItemOrganizationIdItem,
|
|
75
|
+
AgentsSearchResponseAgentsItemProjectId,
|
|
76
|
+
AgentsSearchResponseAgentsItemProjectIdItem,
|
|
77
|
+
AgentsSearchResponseAgentsItemSourcesItem,
|
|
78
|
+
AgentsSearchResponseAgentsItemSourcesItemCreatedAt,
|
|
79
|
+
AgentsSearchResponseAgentsItemSourcesItemCreatedAtItem,
|
|
80
|
+
AgentsSearchResponseAgentsItemSourcesItemCreatedById,
|
|
81
|
+
AgentsSearchResponseAgentsItemSourcesItemCreatedByIdItem,
|
|
82
|
+
AgentsSearchResponseAgentsItemSourcesItemDescription,
|
|
83
|
+
AgentsSearchResponseAgentsItemSourcesItemDescriptionItem,
|
|
84
|
+
AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfig,
|
|
85
|
+
AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeployment,
|
|
86
|
+
AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeploymentItem,
|
|
87
|
+
AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpoint,
|
|
88
|
+
AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpointItem,
|
|
89
|
+
AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersion,
|
|
90
|
+
AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersionItem,
|
|
91
|
+
AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSize,
|
|
92
|
+
AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSizeItem,
|
|
93
|
+
AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpoint,
|
|
94
|
+
AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointItem,
|
|
95
|
+
AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType,
|
|
96
|
+
AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandle,
|
|
97
|
+
AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandleItem,
|
|
98
|
+
AgentsSearchResponseAgentsItemSourcesItemId,
|
|
99
|
+
AgentsSearchResponseAgentsItemSourcesItemLastUpdatedById,
|
|
100
|
+
AgentsSearchResponseAgentsItemSourcesItemLastUpdatedByIdItem,
|
|
101
|
+
AgentsSearchResponseAgentsItemSourcesItemMetadata,
|
|
102
|
+
AgentsSearchResponseAgentsItemSourcesItemMetadataItem,
|
|
103
|
+
AgentsSearchResponseAgentsItemSourcesItemOrganizationId,
|
|
104
|
+
AgentsSearchResponseAgentsItemSourcesItemOrganizationIdItem,
|
|
105
|
+
AgentsSearchResponseAgentsItemSourcesItemUpdatedAt,
|
|
106
|
+
AgentsSearchResponseAgentsItemSourcesItemUpdatedAtItem,
|
|
107
|
+
AgentsSearchResponseAgentsItemTemplateId,
|
|
108
|
+
AgentsSearchResponseAgentsItemTemplateIdItem,
|
|
109
|
+
AgentsSearchResponseAgentsItemToolExecEnvironmentVariables,
|
|
110
|
+
AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItem,
|
|
111
|
+
AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAt,
|
|
112
|
+
AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAtItem,
|
|
113
|
+
AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedById,
|
|
114
|
+
AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedByIdItem,
|
|
115
|
+
AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescription,
|
|
116
|
+
AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescriptionItem,
|
|
117
|
+
AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemId,
|
|
118
|
+
AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedById,
|
|
119
|
+
AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedByIdItem,
|
|
120
|
+
AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationId,
|
|
121
|
+
AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationIdItem,
|
|
122
|
+
AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAt,
|
|
123
|
+
AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAtItem,
|
|
124
|
+
AgentsSearchResponseAgentsItemToolRules,
|
|
125
|
+
AgentsSearchResponseAgentsItemToolRulesItem,
|
|
126
|
+
AgentsSearchResponseAgentsItemToolRulesItemChildOutputMapping,
|
|
127
|
+
AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChild,
|
|
128
|
+
AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChildItem,
|
|
129
|
+
AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingRequireOutputMapping,
|
|
130
|
+
AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingType,
|
|
131
|
+
AgentsSearchResponseAgentsItemToolRulesItemChildren,
|
|
132
|
+
AgentsSearchResponseAgentsItemToolRulesItemChildrenType,
|
|
133
|
+
AgentsSearchResponseAgentsItemToolRulesItemItem,
|
|
134
|
+
AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMapping,
|
|
135
|
+
AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChild,
|
|
136
|
+
AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChildItem,
|
|
137
|
+
AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingRequireOutputMapping,
|
|
138
|
+
AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingType,
|
|
139
|
+
AgentsSearchResponseAgentsItemToolRulesItemItemChildren,
|
|
140
|
+
AgentsSearchResponseAgentsItemToolRulesItemItemChildrenType,
|
|
141
|
+
AgentsSearchResponseAgentsItemToolRulesItemItemOne,
|
|
142
|
+
AgentsSearchResponseAgentsItemToolRulesItemItemOneType,
|
|
143
|
+
AgentsSearchResponseAgentsItemToolRulesItemItemTwo,
|
|
144
|
+
AgentsSearchResponseAgentsItemToolRulesItemItemTwoType,
|
|
145
|
+
AgentsSearchResponseAgentsItemToolRulesItemOne,
|
|
146
|
+
AgentsSearchResponseAgentsItemToolRulesItemOneType,
|
|
147
|
+
AgentsSearchResponseAgentsItemToolRulesItemTwo,
|
|
148
|
+
AgentsSearchResponseAgentsItemToolRulesItemTwoType,
|
|
149
|
+
AgentsSearchResponseAgentsItemToolsItem,
|
|
150
|
+
AgentsSearchResponseAgentsItemToolsItemCreatedById,
|
|
151
|
+
AgentsSearchResponseAgentsItemToolsItemCreatedByIdItem,
|
|
152
|
+
AgentsSearchResponseAgentsItemToolsItemDescription,
|
|
153
|
+
AgentsSearchResponseAgentsItemToolsItemDescriptionItem,
|
|
154
|
+
AgentsSearchResponseAgentsItemToolsItemJsonSchema,
|
|
155
|
+
AgentsSearchResponseAgentsItemToolsItemJsonSchemaItem,
|
|
156
|
+
AgentsSearchResponseAgentsItemToolsItemLastUpdatedById,
|
|
157
|
+
AgentsSearchResponseAgentsItemToolsItemLastUpdatedByIdItem,
|
|
158
|
+
AgentsSearchResponseAgentsItemToolsItemName,
|
|
159
|
+
AgentsSearchResponseAgentsItemToolsItemNameItem,
|
|
160
|
+
AgentsSearchResponseAgentsItemToolsItemOrganizationId,
|
|
161
|
+
AgentsSearchResponseAgentsItemToolsItemOrganizationIdItem,
|
|
162
|
+
AgentsSearchResponseAgentsItemToolsItemSourceCode,
|
|
163
|
+
AgentsSearchResponseAgentsItemToolsItemSourceCodeItem,
|
|
164
|
+
AgentsSearchResponseAgentsItemToolsItemSourceType,
|
|
165
|
+
AgentsSearchResponseAgentsItemToolsItemSourceTypeItem,
|
|
166
|
+
AgentsSearchResponseAgentsItemToolsItemToolType,
|
|
167
|
+
AgentsSearchResponseAgentsItemUpdatedAt,
|
|
168
|
+
AgentsSearchResponseAgentsItemUpdatedAtItem,
|
|
13
169
|
CreateAgentRequestToolRulesItem,
|
|
14
170
|
UpdateAgentToolRulesItem,
|
|
15
171
|
)
|
|
16
172
|
from . import archival_memory, context, core_memory, memory_variables, messages, sources, templates, tools
|
|
17
173
|
from .memory_variables import MemoryVariablesListResponse
|
|
18
174
|
from .messages import LettaStreamingResponse, MessageUpdateContent
|
|
19
|
-
from .templates import TemplatesMigrateResponse
|
|
175
|
+
from .templates import TemplatesCreateResponse, TemplatesMigrateResponse
|
|
20
176
|
|
|
21
177
|
__all__ = [
|
|
22
|
-
"AgentsSearchRequestCombinator",
|
|
23
178
|
"AgentsSearchRequestSearchItem",
|
|
24
|
-
"
|
|
25
|
-
"AgentsSearchRequestSearchItemDirectionDirection",
|
|
26
|
-
"AgentsSearchRequestSearchItemDirectionValue",
|
|
179
|
+
"AgentsSearchRequestSearchItemField",
|
|
27
180
|
"AgentsSearchRequestSearchItemOne",
|
|
28
181
|
"AgentsSearchRequestSearchItemOneOperator",
|
|
29
|
-
"AgentsSearchRequestSearchItemTwo",
|
|
30
182
|
"AgentsSearchRequestSearchItemZero",
|
|
183
|
+
"AgentsSearchResponse",
|
|
184
|
+
"AgentsSearchResponseAgentsItem",
|
|
185
|
+
"AgentsSearchResponseAgentsItemAgentType",
|
|
186
|
+
"AgentsSearchResponseAgentsItemBaseTemplateId",
|
|
187
|
+
"AgentsSearchResponseAgentsItemBaseTemplateIdItem",
|
|
188
|
+
"AgentsSearchResponseAgentsItemCreatedAt",
|
|
189
|
+
"AgentsSearchResponseAgentsItemCreatedAtItem",
|
|
190
|
+
"AgentsSearchResponseAgentsItemCreatedById",
|
|
191
|
+
"AgentsSearchResponseAgentsItemCreatedByIdItem",
|
|
192
|
+
"AgentsSearchResponseAgentsItemDescription",
|
|
193
|
+
"AgentsSearchResponseAgentsItemDescriptionItem",
|
|
194
|
+
"AgentsSearchResponseAgentsItemEmbeddingConfig",
|
|
195
|
+
"AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeployment",
|
|
196
|
+
"AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeploymentItem",
|
|
197
|
+
"AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpoint",
|
|
198
|
+
"AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpointItem",
|
|
199
|
+
"AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersion",
|
|
200
|
+
"AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersionItem",
|
|
201
|
+
"AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSize",
|
|
202
|
+
"AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSizeItem",
|
|
203
|
+
"AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpoint",
|
|
204
|
+
"AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointItem",
|
|
205
|
+
"AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType",
|
|
206
|
+
"AgentsSearchResponseAgentsItemEmbeddingConfigHandle",
|
|
207
|
+
"AgentsSearchResponseAgentsItemEmbeddingConfigHandleItem",
|
|
208
|
+
"AgentsSearchResponseAgentsItemLastUpdatedById",
|
|
209
|
+
"AgentsSearchResponseAgentsItemLastUpdatedByIdItem",
|
|
210
|
+
"AgentsSearchResponseAgentsItemLlmConfig",
|
|
211
|
+
"AgentsSearchResponseAgentsItemLlmConfigHandle",
|
|
212
|
+
"AgentsSearchResponseAgentsItemLlmConfigHandleItem",
|
|
213
|
+
"AgentsSearchResponseAgentsItemLlmConfigMaxTokens",
|
|
214
|
+
"AgentsSearchResponseAgentsItemLlmConfigMaxTokensItem",
|
|
215
|
+
"AgentsSearchResponseAgentsItemLlmConfigModelEndpoint",
|
|
216
|
+
"AgentsSearchResponseAgentsItemLlmConfigModelEndpointItem",
|
|
217
|
+
"AgentsSearchResponseAgentsItemLlmConfigModelEndpointType",
|
|
218
|
+
"AgentsSearchResponseAgentsItemLlmConfigModelWrapper",
|
|
219
|
+
"AgentsSearchResponseAgentsItemLlmConfigModelWrapperItem",
|
|
220
|
+
"AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargs",
|
|
221
|
+
"AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargsItem",
|
|
222
|
+
"AgentsSearchResponseAgentsItemLlmConfigTemperature",
|
|
223
|
+
"AgentsSearchResponseAgentsItemMemory",
|
|
224
|
+
"AgentsSearchResponseAgentsItemMemoryBlocksItem",
|
|
225
|
+
"AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedById",
|
|
226
|
+
"AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedByIdItem",
|
|
227
|
+
"AgentsSearchResponseAgentsItemMemoryBlocksItemDescription",
|
|
228
|
+
"AgentsSearchResponseAgentsItemMemoryBlocksItemDescriptionItem",
|
|
229
|
+
"AgentsSearchResponseAgentsItemMemoryBlocksItemId",
|
|
230
|
+
"AgentsSearchResponseAgentsItemMemoryBlocksItemIsTemplate",
|
|
231
|
+
"AgentsSearchResponseAgentsItemMemoryBlocksItemLabel",
|
|
232
|
+
"AgentsSearchResponseAgentsItemMemoryBlocksItemLabelItem",
|
|
233
|
+
"AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedById",
|
|
234
|
+
"AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedByIdItem",
|
|
235
|
+
"AgentsSearchResponseAgentsItemMemoryBlocksItemLimit",
|
|
236
|
+
"AgentsSearchResponseAgentsItemMemoryBlocksItemMetadata",
|
|
237
|
+
"AgentsSearchResponseAgentsItemMemoryBlocksItemMetadataItem",
|
|
238
|
+
"AgentsSearchResponseAgentsItemMemoryBlocksItemName",
|
|
239
|
+
"AgentsSearchResponseAgentsItemMemoryBlocksItemNameItem",
|
|
240
|
+
"AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationId",
|
|
241
|
+
"AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationIdItem",
|
|
242
|
+
"AgentsSearchResponseAgentsItemMemoryPromptTemplate",
|
|
243
|
+
"AgentsSearchResponseAgentsItemMessageIds",
|
|
244
|
+
"AgentsSearchResponseAgentsItemMessageIdsItem",
|
|
245
|
+
"AgentsSearchResponseAgentsItemMetadata",
|
|
246
|
+
"AgentsSearchResponseAgentsItemMetadataItem",
|
|
247
|
+
"AgentsSearchResponseAgentsItemOrganizationId",
|
|
248
|
+
"AgentsSearchResponseAgentsItemOrganizationIdItem",
|
|
249
|
+
"AgentsSearchResponseAgentsItemProjectId",
|
|
250
|
+
"AgentsSearchResponseAgentsItemProjectIdItem",
|
|
251
|
+
"AgentsSearchResponseAgentsItemSourcesItem",
|
|
252
|
+
"AgentsSearchResponseAgentsItemSourcesItemCreatedAt",
|
|
253
|
+
"AgentsSearchResponseAgentsItemSourcesItemCreatedAtItem",
|
|
254
|
+
"AgentsSearchResponseAgentsItemSourcesItemCreatedById",
|
|
255
|
+
"AgentsSearchResponseAgentsItemSourcesItemCreatedByIdItem",
|
|
256
|
+
"AgentsSearchResponseAgentsItemSourcesItemDescription",
|
|
257
|
+
"AgentsSearchResponseAgentsItemSourcesItemDescriptionItem",
|
|
258
|
+
"AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfig",
|
|
259
|
+
"AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeployment",
|
|
260
|
+
"AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeploymentItem",
|
|
261
|
+
"AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpoint",
|
|
262
|
+
"AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpointItem",
|
|
263
|
+
"AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersion",
|
|
264
|
+
"AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersionItem",
|
|
265
|
+
"AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSize",
|
|
266
|
+
"AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSizeItem",
|
|
267
|
+
"AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpoint",
|
|
268
|
+
"AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointItem",
|
|
269
|
+
"AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType",
|
|
270
|
+
"AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandle",
|
|
271
|
+
"AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandleItem",
|
|
272
|
+
"AgentsSearchResponseAgentsItemSourcesItemId",
|
|
273
|
+
"AgentsSearchResponseAgentsItemSourcesItemLastUpdatedById",
|
|
274
|
+
"AgentsSearchResponseAgentsItemSourcesItemLastUpdatedByIdItem",
|
|
275
|
+
"AgentsSearchResponseAgentsItemSourcesItemMetadata",
|
|
276
|
+
"AgentsSearchResponseAgentsItemSourcesItemMetadataItem",
|
|
277
|
+
"AgentsSearchResponseAgentsItemSourcesItemOrganizationId",
|
|
278
|
+
"AgentsSearchResponseAgentsItemSourcesItemOrganizationIdItem",
|
|
279
|
+
"AgentsSearchResponseAgentsItemSourcesItemUpdatedAt",
|
|
280
|
+
"AgentsSearchResponseAgentsItemSourcesItemUpdatedAtItem",
|
|
281
|
+
"AgentsSearchResponseAgentsItemTemplateId",
|
|
282
|
+
"AgentsSearchResponseAgentsItemTemplateIdItem",
|
|
283
|
+
"AgentsSearchResponseAgentsItemToolExecEnvironmentVariables",
|
|
284
|
+
"AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItem",
|
|
285
|
+
"AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAt",
|
|
286
|
+
"AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAtItem",
|
|
287
|
+
"AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedById",
|
|
288
|
+
"AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedByIdItem",
|
|
289
|
+
"AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescription",
|
|
290
|
+
"AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescriptionItem",
|
|
291
|
+
"AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemId",
|
|
292
|
+
"AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedById",
|
|
293
|
+
"AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedByIdItem",
|
|
294
|
+
"AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationId",
|
|
295
|
+
"AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationIdItem",
|
|
296
|
+
"AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAt",
|
|
297
|
+
"AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAtItem",
|
|
298
|
+
"AgentsSearchResponseAgentsItemToolRules",
|
|
299
|
+
"AgentsSearchResponseAgentsItemToolRulesItem",
|
|
300
|
+
"AgentsSearchResponseAgentsItemToolRulesItemChildOutputMapping",
|
|
301
|
+
"AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChild",
|
|
302
|
+
"AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChildItem",
|
|
303
|
+
"AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingRequireOutputMapping",
|
|
304
|
+
"AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingType",
|
|
305
|
+
"AgentsSearchResponseAgentsItemToolRulesItemChildren",
|
|
306
|
+
"AgentsSearchResponseAgentsItemToolRulesItemChildrenType",
|
|
307
|
+
"AgentsSearchResponseAgentsItemToolRulesItemItem",
|
|
308
|
+
"AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMapping",
|
|
309
|
+
"AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChild",
|
|
310
|
+
"AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChildItem",
|
|
311
|
+
"AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingRequireOutputMapping",
|
|
312
|
+
"AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingType",
|
|
313
|
+
"AgentsSearchResponseAgentsItemToolRulesItemItemChildren",
|
|
314
|
+
"AgentsSearchResponseAgentsItemToolRulesItemItemChildrenType",
|
|
315
|
+
"AgentsSearchResponseAgentsItemToolRulesItemItemOne",
|
|
316
|
+
"AgentsSearchResponseAgentsItemToolRulesItemItemOneType",
|
|
317
|
+
"AgentsSearchResponseAgentsItemToolRulesItemItemTwo",
|
|
318
|
+
"AgentsSearchResponseAgentsItemToolRulesItemItemTwoType",
|
|
319
|
+
"AgentsSearchResponseAgentsItemToolRulesItemOne",
|
|
320
|
+
"AgentsSearchResponseAgentsItemToolRulesItemOneType",
|
|
321
|
+
"AgentsSearchResponseAgentsItemToolRulesItemTwo",
|
|
322
|
+
"AgentsSearchResponseAgentsItemToolRulesItemTwoType",
|
|
323
|
+
"AgentsSearchResponseAgentsItemToolsItem",
|
|
324
|
+
"AgentsSearchResponseAgentsItemToolsItemCreatedById",
|
|
325
|
+
"AgentsSearchResponseAgentsItemToolsItemCreatedByIdItem",
|
|
326
|
+
"AgentsSearchResponseAgentsItemToolsItemDescription",
|
|
327
|
+
"AgentsSearchResponseAgentsItemToolsItemDescriptionItem",
|
|
328
|
+
"AgentsSearchResponseAgentsItemToolsItemJsonSchema",
|
|
329
|
+
"AgentsSearchResponseAgentsItemToolsItemJsonSchemaItem",
|
|
330
|
+
"AgentsSearchResponseAgentsItemToolsItemLastUpdatedById",
|
|
331
|
+
"AgentsSearchResponseAgentsItemToolsItemLastUpdatedByIdItem",
|
|
332
|
+
"AgentsSearchResponseAgentsItemToolsItemName",
|
|
333
|
+
"AgentsSearchResponseAgentsItemToolsItemNameItem",
|
|
334
|
+
"AgentsSearchResponseAgentsItemToolsItemOrganizationId",
|
|
335
|
+
"AgentsSearchResponseAgentsItemToolsItemOrganizationIdItem",
|
|
336
|
+
"AgentsSearchResponseAgentsItemToolsItemSourceCode",
|
|
337
|
+
"AgentsSearchResponseAgentsItemToolsItemSourceCodeItem",
|
|
338
|
+
"AgentsSearchResponseAgentsItemToolsItemSourceType",
|
|
339
|
+
"AgentsSearchResponseAgentsItemToolsItemSourceTypeItem",
|
|
340
|
+
"AgentsSearchResponseAgentsItemToolsItemToolType",
|
|
341
|
+
"AgentsSearchResponseAgentsItemUpdatedAt",
|
|
342
|
+
"AgentsSearchResponseAgentsItemUpdatedAtItem",
|
|
31
343
|
"CreateAgentRequestToolRulesItem",
|
|
32
344
|
"LettaStreamingResponse",
|
|
33
345
|
"MemoryVariablesListResponse",
|
|
34
346
|
"MessageUpdateContent",
|
|
347
|
+
"TemplatesCreateResponse",
|
|
35
348
|
"TemplatesMigrateResponse",
|
|
36
349
|
"UpdateAgentToolRulesItem",
|
|
37
350
|
"archival_memory",
|
letta_client/agents/client.py
CHANGED
|
@@ -27,7 +27,7 @@ from ..core.serialization import convert_and_respect_annotation_metadata
|
|
|
27
27
|
from ..core.jsonable_encoder import jsonable_encoder
|
|
28
28
|
from .types.update_agent_tool_rules_item import UpdateAgentToolRulesItem
|
|
29
29
|
from .types.agents_search_request_search_item import AgentsSearchRequestSearchItem
|
|
30
|
-
from .types.
|
|
30
|
+
from .types.agents_search_response import AgentsSearchResponse
|
|
31
31
|
from ..core.client_wrapper import AsyncClientWrapper
|
|
32
32
|
from .context.client import AsyncContextClient
|
|
33
33
|
from .tools.client import AsyncToolsClient
|
|
@@ -720,11 +720,11 @@ class AgentsClient:
|
|
|
720
720
|
*,
|
|
721
721
|
search: typing.Optional[typing.Sequence[AgentsSearchRequestSearchItem]] = OMIT,
|
|
722
722
|
project_id: typing.Optional[str] = OMIT,
|
|
723
|
-
combinator: typing.Optional[
|
|
723
|
+
combinator: typing.Optional[typing.Literal["AND"]] = OMIT,
|
|
724
724
|
limit: typing.Optional[float] = OMIT,
|
|
725
|
-
|
|
725
|
+
after: typing.Optional[str] = OMIT,
|
|
726
726
|
request_options: typing.Optional[RequestOptions] = None,
|
|
727
|
-
) ->
|
|
727
|
+
) -> AgentsSearchResponse:
|
|
728
728
|
"""
|
|
729
729
|
<Note>This endpoint is only available on Letta Cloud.</Note>
|
|
730
730
|
|
|
@@ -736,18 +736,19 @@ class AgentsClient:
|
|
|
736
736
|
|
|
737
737
|
project_id : typing.Optional[str]
|
|
738
738
|
|
|
739
|
-
combinator : typing.Optional[
|
|
739
|
+
combinator : typing.Optional[typing.Literal["AND"]]
|
|
740
740
|
|
|
741
741
|
limit : typing.Optional[float]
|
|
742
742
|
|
|
743
|
-
|
|
743
|
+
after : typing.Optional[str]
|
|
744
744
|
|
|
745
745
|
request_options : typing.Optional[RequestOptions]
|
|
746
746
|
Request-specific configuration.
|
|
747
747
|
|
|
748
748
|
Returns
|
|
749
749
|
-------
|
|
750
|
-
|
|
750
|
+
AgentsSearchResponse
|
|
751
|
+
200
|
|
751
752
|
|
|
752
753
|
Examples
|
|
753
754
|
--------
|
|
@@ -768,7 +769,7 @@ class AgentsClient:
|
|
|
768
769
|
"project_id": project_id,
|
|
769
770
|
"combinator": combinator,
|
|
770
771
|
"limit": limit,
|
|
771
|
-
"
|
|
772
|
+
"after": after,
|
|
772
773
|
},
|
|
773
774
|
headers={
|
|
774
775
|
"content-type": "application/json",
|
|
@@ -778,7 +779,13 @@ class AgentsClient:
|
|
|
778
779
|
)
|
|
779
780
|
try:
|
|
780
781
|
if 200 <= _response.status_code < 300:
|
|
781
|
-
return
|
|
782
|
+
return typing.cast(
|
|
783
|
+
AgentsSearchResponse,
|
|
784
|
+
construct_type(
|
|
785
|
+
type_=AgentsSearchResponse, # type: ignore
|
|
786
|
+
object_=_response.json(),
|
|
787
|
+
),
|
|
788
|
+
)
|
|
782
789
|
_response_json = _response.json()
|
|
783
790
|
except JSONDecodeError:
|
|
784
791
|
raise ApiError(status_code=_response.status_code, body=_response.text)
|
|
@@ -1511,11 +1518,11 @@ class AsyncAgentsClient:
|
|
|
1511
1518
|
*,
|
|
1512
1519
|
search: typing.Optional[typing.Sequence[AgentsSearchRequestSearchItem]] = OMIT,
|
|
1513
1520
|
project_id: typing.Optional[str] = OMIT,
|
|
1514
|
-
combinator: typing.Optional[
|
|
1521
|
+
combinator: typing.Optional[typing.Literal["AND"]] = OMIT,
|
|
1515
1522
|
limit: typing.Optional[float] = OMIT,
|
|
1516
|
-
|
|
1523
|
+
after: typing.Optional[str] = OMIT,
|
|
1517
1524
|
request_options: typing.Optional[RequestOptions] = None,
|
|
1518
|
-
) ->
|
|
1525
|
+
) -> AgentsSearchResponse:
|
|
1519
1526
|
"""
|
|
1520
1527
|
<Note>This endpoint is only available on Letta Cloud.</Note>
|
|
1521
1528
|
|
|
@@ -1527,18 +1534,19 @@ class AsyncAgentsClient:
|
|
|
1527
1534
|
|
|
1528
1535
|
project_id : typing.Optional[str]
|
|
1529
1536
|
|
|
1530
|
-
combinator : typing.Optional[
|
|
1537
|
+
combinator : typing.Optional[typing.Literal["AND"]]
|
|
1531
1538
|
|
|
1532
1539
|
limit : typing.Optional[float]
|
|
1533
1540
|
|
|
1534
|
-
|
|
1541
|
+
after : typing.Optional[str]
|
|
1535
1542
|
|
|
1536
1543
|
request_options : typing.Optional[RequestOptions]
|
|
1537
1544
|
Request-specific configuration.
|
|
1538
1545
|
|
|
1539
1546
|
Returns
|
|
1540
1547
|
-------
|
|
1541
|
-
|
|
1548
|
+
AgentsSearchResponse
|
|
1549
|
+
200
|
|
1542
1550
|
|
|
1543
1551
|
Examples
|
|
1544
1552
|
--------
|
|
@@ -1567,7 +1575,7 @@ class AsyncAgentsClient:
|
|
|
1567
1575
|
"project_id": project_id,
|
|
1568
1576
|
"combinator": combinator,
|
|
1569
1577
|
"limit": limit,
|
|
1570
|
-
"
|
|
1578
|
+
"after": after,
|
|
1571
1579
|
},
|
|
1572
1580
|
headers={
|
|
1573
1581
|
"content-type": "application/json",
|
|
@@ -1577,7 +1585,13 @@ class AsyncAgentsClient:
|
|
|
1577
1585
|
)
|
|
1578
1586
|
try:
|
|
1579
1587
|
if 200 <= _response.status_code < 300:
|
|
1580
|
-
return
|
|
1588
|
+
return typing.cast(
|
|
1589
|
+
AgentsSearchResponse,
|
|
1590
|
+
construct_type(
|
|
1591
|
+
type_=AgentsSearchResponse, # type: ignore
|
|
1592
|
+
object_=_response.json(),
|
|
1593
|
+
),
|
|
1594
|
+
)
|
|
1581
1595
|
_response_json = _response.json()
|
|
1582
1596
|
except JSONDecodeError:
|
|
1583
1597
|
raise ApiError(status_code=_response.status_code, body=_response.text)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
|
|
3
|
-
from .types import TemplatesMigrateResponse
|
|
3
|
+
from .types import TemplatesCreateResponse, TemplatesMigrateResponse
|
|
4
4
|
|
|
5
|
-
__all__ = ["TemplatesMigrateResponse"]
|
|
5
|
+
__all__ = ["TemplatesCreateResponse", "TemplatesMigrateResponse"]
|
|
@@ -12,6 +12,7 @@ from ...core.api_error import ApiError
|
|
|
12
12
|
from .types.templates_migrate_response import TemplatesMigrateResponse
|
|
13
13
|
from ...errors.conflict_error import ConflictError
|
|
14
14
|
from ...types.conflict_error_body import ConflictErrorBody
|
|
15
|
+
from .types.templates_create_response import TemplatesCreateResponse
|
|
15
16
|
from ...core.client_wrapper import AsyncClientWrapper
|
|
16
17
|
|
|
17
18
|
# this is used as the default value for optional parameters
|
|
@@ -215,7 +216,7 @@ class TemplatesClient:
|
|
|
215
216
|
*,
|
|
216
217
|
project: typing.Optional[str] = OMIT,
|
|
217
218
|
request_options: typing.Optional[RequestOptions] = None,
|
|
218
|
-
) ->
|
|
219
|
+
) -> TemplatesCreateResponse:
|
|
219
220
|
"""
|
|
220
221
|
<Note>This endpoint is only available on Letta Cloud.</Note>
|
|
221
222
|
|
|
@@ -232,7 +233,8 @@ class TemplatesClient:
|
|
|
232
233
|
|
|
233
234
|
Returns
|
|
234
235
|
-------
|
|
235
|
-
|
|
236
|
+
TemplatesCreateResponse
|
|
237
|
+
201
|
|
236
238
|
|
|
237
239
|
Examples
|
|
238
240
|
--------
|
|
@@ -259,16 +261,12 @@ class TemplatesClient:
|
|
|
259
261
|
)
|
|
260
262
|
try:
|
|
261
263
|
if 200 <= _response.status_code < 300:
|
|
262
|
-
return
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
type_=typing.Optional[typing.Any], # type: ignore
|
|
269
|
-
object_=_response.json(),
|
|
270
|
-
),
|
|
271
|
-
)
|
|
264
|
+
return typing.cast(
|
|
265
|
+
TemplatesCreateResponse,
|
|
266
|
+
construct_type(
|
|
267
|
+
type_=TemplatesCreateResponse, # type: ignore
|
|
268
|
+
object_=_response.json(),
|
|
269
|
+
),
|
|
272
270
|
)
|
|
273
271
|
if _response.status_code == 500:
|
|
274
272
|
raise InternalServerError(
|
|
@@ -499,7 +497,7 @@ class AsyncTemplatesClient:
|
|
|
499
497
|
*,
|
|
500
498
|
project: typing.Optional[str] = OMIT,
|
|
501
499
|
request_options: typing.Optional[RequestOptions] = None,
|
|
502
|
-
) ->
|
|
500
|
+
) -> TemplatesCreateResponse:
|
|
503
501
|
"""
|
|
504
502
|
<Note>This endpoint is only available on Letta Cloud.</Note>
|
|
505
503
|
|
|
@@ -516,7 +514,8 @@ class AsyncTemplatesClient:
|
|
|
516
514
|
|
|
517
515
|
Returns
|
|
518
516
|
-------
|
|
519
|
-
|
|
517
|
+
TemplatesCreateResponse
|
|
518
|
+
201
|
|
520
519
|
|
|
521
520
|
Examples
|
|
522
521
|
--------
|
|
@@ -551,16 +550,12 @@ class AsyncTemplatesClient:
|
|
|
551
550
|
)
|
|
552
551
|
try:
|
|
553
552
|
if 200 <= _response.status_code < 300:
|
|
554
|
-
return
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
type_=typing.Optional[typing.Any], # type: ignore
|
|
561
|
-
object_=_response.json(),
|
|
562
|
-
),
|
|
563
|
-
)
|
|
553
|
+
return typing.cast(
|
|
554
|
+
TemplatesCreateResponse,
|
|
555
|
+
construct_type(
|
|
556
|
+
type_=TemplatesCreateResponse, # type: ignore
|
|
557
|
+
object_=_response.json(),
|
|
558
|
+
),
|
|
564
559
|
)
|
|
565
560
|
if _response.status_code == 500:
|
|
566
561
|
raise InternalServerError(
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
|
|
3
|
+
from .templates_create_response import TemplatesCreateResponse
|
|
3
4
|
from .templates_migrate_response import TemplatesMigrateResponse
|
|
4
5
|
|
|
5
|
-
__all__ = ["TemplatesMigrateResponse"]
|
|
6
|
+
__all__ = ["TemplatesCreateResponse", "TemplatesMigrateResponse"]
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
from ....core.unchecked_base_model import UncheckedBaseModel
|
|
4
|
+
import typing_extensions
|
|
5
|
+
from ....core.serialization import FieldMetadata
|
|
6
|
+
from ....core.pydantic_utilities import IS_PYDANTIC_V2
|
|
7
|
+
import typing
|
|
8
|
+
import pydantic
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class TemplatesCreateResponse(UncheckedBaseModel):
|
|
12
|
+
template_name: typing_extensions.Annotated[str, FieldMetadata(alias="templateName")]
|
|
13
|
+
template_id: typing_extensions.Annotated[str, FieldMetadata(alias="templateId")]
|
|
14
|
+
|
|
15
|
+
if IS_PYDANTIC_V2:
|
|
16
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
17
|
+
else:
|
|
18
|
+
|
|
19
|
+
class Config:
|
|
20
|
+
frozen = True
|
|
21
|
+
smart_union = True
|
|
22
|
+
extra = pydantic.Extra.allow
|