letta-nightly 0.6.2.dev20241210030252__tar.gz → 0.6.2.dev20241210104242__tar.gz
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-nightly might be problematic. Click here for more details.
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/PKG-INFO +1 -1
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/client/client.py +1 -1
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/orm/sqlalchemy_base.py +37 -10
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/rest_api/routers/v1/agents.py +1 -1
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/server.py +7 -57
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/services/message_manager.py +3 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/services/tool_execution_sandbox.py +1 -1
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/pyproject.toml +1 -1
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/LICENSE +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/README.md +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/__init__.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/__main__.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/agent.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/agent_store/chroma.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/agent_store/db.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/agent_store/milvus.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/agent_store/qdrant.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/agent_store/storage.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/benchmark/benchmark.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/benchmark/constants.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/chat_only_agent.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/cli/cli.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/cli/cli_config.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/cli/cli_load.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/client/__init__.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/client/streaming.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/client/utils.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/config.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/constants.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/credentials.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/data_sources/connectors.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/data_sources/connectors_helper.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/embeddings.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/errors.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/functions/__init__.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/functions/function_sets/base.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/functions/function_sets/extras.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/functions/functions.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/functions/helpers.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/functions/schema_generator.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/helpers/__init__.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/helpers/tool_rule_solver.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/humans/__init__.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/humans/examples/basic.txt +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/humans/examples/cs_phd.txt +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/interface.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/llm_api/__init__.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/llm_api/anthropic.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/llm_api/azure_openai.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/llm_api/azure_openai_constants.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/llm_api/cohere.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/llm_api/google_ai.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/llm_api/helpers.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/llm_api/llm_api_tools.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/llm_api/mistral.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/llm_api/openai.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/local_llm/README.md +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/local_llm/__init__.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/local_llm/chat_completion_proxy.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/local_llm/constants.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/local_llm/function_parser.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/local_llm/grammars/__init__.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/local_llm/grammars/gbnf_grammar_generator.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/local_llm/grammars/json.gbnf +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/local_llm/grammars/json_func_calls_with_inner_thoughts.gbnf +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/local_llm/json_parser.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/local_llm/koboldcpp/api.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/local_llm/koboldcpp/settings.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/local_llm/llamacpp/api.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/local_llm/llamacpp/settings.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/local_llm/llm_chat_completion_wrappers/__init__.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/local_llm/llm_chat_completion_wrappers/airoboros.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/local_llm/llm_chat_completion_wrappers/chatml.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/local_llm/llm_chat_completion_wrappers/configurable_wrapper.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/local_llm/llm_chat_completion_wrappers/dolphin.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/local_llm/llm_chat_completion_wrappers/llama3.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/local_llm/llm_chat_completion_wrappers/simple_summary_wrapper.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/local_llm/llm_chat_completion_wrappers/wrapper_base.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/local_llm/llm_chat_completion_wrappers/zephyr.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/local_llm/lmstudio/api.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/local_llm/lmstudio/settings.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/local_llm/ollama/api.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/local_llm/ollama/settings.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/local_llm/settings/__init__.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/local_llm/settings/deterministic_mirostat.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/local_llm/settings/settings.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/local_llm/settings/simple.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/local_llm/utils.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/local_llm/vllm/api.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/local_llm/webui/api.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/local_llm/webui/legacy_api.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/local_llm/webui/legacy_settings.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/local_llm/webui/settings.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/log.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/main.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/memory.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/metadata.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/o1_agent.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/offline_memory_agent.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/openai_backcompat/__init__.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/openai_backcompat/openai_object.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/orm/__all__.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/orm/__init__.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/orm/agents_tags.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/orm/base.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/orm/block.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/orm/blocks_agents.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/orm/enums.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/orm/errors.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/orm/file.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/orm/job.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/orm/message.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/orm/mixins.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/orm/organization.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/orm/sandbox_config.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/orm/source.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/orm/tool.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/orm/tools_agents.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/orm/user.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/personas/__init__.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/personas/examples/anna_pa.txt +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/personas/examples/google_search_persona.txt +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/personas/examples/memgpt_doc.txt +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/personas/examples/memgpt_starter.txt +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/personas/examples/o1_persona.txt +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/personas/examples/offline_memory_persona.txt +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/personas/examples/sam.txt +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/personas/examples/sam_pov.txt +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/personas/examples/sam_simple_pov_gpt35.txt +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/personas/examples/sqldb/test.db +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/prompts/__init__.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/prompts/gpt_summarize.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/prompts/gpt_system.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/prompts/system/memgpt_base.txt +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/prompts/system/memgpt_chat.txt +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/prompts/system/memgpt_chat_compressed.txt +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/prompts/system/memgpt_chat_fstring.txt +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/prompts/system/memgpt_convo_only.txt +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/prompts/system/memgpt_doc.txt +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/prompts/system/memgpt_gpt35_extralong.txt +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/prompts/system/memgpt_intuitive_knowledge.txt +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/prompts/system/memgpt_modified_chat.txt +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/prompts/system/memgpt_modified_o1.txt +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/prompts/system/memgpt_offline_memory.txt +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/prompts/system/memgpt_offline_memory_chat.txt +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/providers.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/pytest.ini +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/schemas/agent.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/schemas/agents_tags.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/schemas/api_key.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/schemas/block.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/schemas/blocks_agents.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/schemas/embedding_config.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/schemas/enums.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/schemas/file.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/schemas/health.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/schemas/job.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/schemas/letta_base.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/schemas/letta_message.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/schemas/letta_request.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/schemas/letta_response.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/schemas/llm_config.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/schemas/memory.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/schemas/message.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/schemas/openai/chat_completion_request.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/schemas/openai/chat_completion_response.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/schemas/openai/chat_completions.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/schemas/openai/embedding_response.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/schemas/openai/openai.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/schemas/organization.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/schemas/passage.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/schemas/sandbox_config.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/schemas/source.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/schemas/tool.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/schemas/tool_rule.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/schemas/tools_agents.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/schemas/usage.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/schemas/user.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/__init__.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/constants.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/generate_openapi_schema.sh +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/rest_api/__init__.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/rest_api/app.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/rest_api/auth/__init__.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/rest_api/auth/index.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/rest_api/auth_token.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/rest_api/interface.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/rest_api/routers/__init__.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/rest_api/routers/openai/__init__.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/rest_api/routers/openai/assistants/__init__.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/rest_api/routers/openai/assistants/assistants.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/rest_api/routers/openai/assistants/schemas.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/rest_api/routers/openai/assistants/threads.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/rest_api/routers/openai/chat_completions/__init__.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/rest_api/routers/openai/chat_completions/chat_completions.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/rest_api/routers/v1/__init__.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/rest_api/routers/v1/blocks.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/rest_api/routers/v1/health.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/rest_api/routers/v1/jobs.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/rest_api/routers/v1/llms.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/rest_api/routers/v1/organizations.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/rest_api/routers/v1/sandbox_configs.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/rest_api/routers/v1/sources.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/rest_api/routers/v1/tools.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/rest_api/routers/v1/users.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/rest_api/static_files.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/rest_api/utils.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/startup.sh +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/static_files/assets/index-43ab4d62.css +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/static_files/assets/index-4848e3d7.js +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/static_files/favicon.ico +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/static_files/index.html +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/static_files/memgpt_logo_transparent.png +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/utils.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/ws_api/__init__.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/ws_api/example_client.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/ws_api/interface.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/ws_api/protocol.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/server/ws_api/server.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/services/__init__.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/services/agents_tags_manager.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/services/block_manager.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/services/blocks_agents_manager.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/services/job_manager.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/services/organization_manager.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/services/per_agent_lock_manager.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/services/sandbox_config_manager.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/services/source_manager.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/services/tool_manager.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/services/tool_sandbox_env/.gitkeep +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/services/tools_agents_manager.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/services/user_manager.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/settings.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/streaming_interface.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/streaming_utils.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/system.py +0 -0
- {letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/utils.py +0 -0
|
@@ -2,7 +2,7 @@ from datetime import datetime
|
|
|
2
2
|
from enum import Enum
|
|
3
3
|
from typing import TYPE_CHECKING, List, Literal, Optional, Type
|
|
4
4
|
|
|
5
|
-
from sqlalchemy import String, func, select
|
|
5
|
+
from sqlalchemy import String, desc, func, or_, select
|
|
6
6
|
from sqlalchemy.exc import DBAPIError
|
|
7
7
|
from sqlalchemy.orm import Mapped, Session, mapped_column
|
|
8
8
|
|
|
@@ -60,14 +60,25 @@ class SqlalchemyBase(CommonSqlalchemyMetaMixins, Base):
|
|
|
60
60
|
end_date: Optional[datetime] = None,
|
|
61
61
|
limit: Optional[int] = 50,
|
|
62
62
|
query_text: Optional[str] = None,
|
|
63
|
+
ascending: bool = True,
|
|
63
64
|
**kwargs,
|
|
64
65
|
) -> List[Type["SqlalchemyBase"]]:
|
|
65
|
-
"""
|
|
66
|
+
"""
|
|
67
|
+
List records with cursor-based pagination, ordering by created_at.
|
|
68
|
+
Cursor is an ID, but pagination is based on the cursor object's created_at value.
|
|
69
|
+
"""
|
|
66
70
|
if start_date and end_date and start_date > end_date:
|
|
67
71
|
raise ValueError("start_date must be earlier than or equal to end_date")
|
|
68
72
|
|
|
69
73
|
logger.debug(f"Listing {cls.__name__} with kwarg filters {kwargs}")
|
|
70
74
|
with db_session as session:
|
|
75
|
+
# If cursor provided, get the reference object
|
|
76
|
+
cursor_obj = None
|
|
77
|
+
if cursor:
|
|
78
|
+
cursor_obj = session.get(cls, cursor)
|
|
79
|
+
if not cursor_obj:
|
|
80
|
+
raise NoResultFound(f"No {cls.__name__} found with id {cursor}")
|
|
81
|
+
|
|
71
82
|
query = select(cls)
|
|
72
83
|
|
|
73
84
|
# Apply filtering logic
|
|
@@ -80,22 +91,38 @@ class SqlalchemyBase(CommonSqlalchemyMetaMixins, Base):
|
|
|
80
91
|
|
|
81
92
|
# Date range filtering
|
|
82
93
|
if start_date:
|
|
83
|
-
query = query.filter(cls.created_at
|
|
94
|
+
query = query.filter(cls.created_at > start_date)
|
|
84
95
|
if end_date:
|
|
85
|
-
query = query.filter(cls.created_at
|
|
86
|
-
|
|
87
|
-
# Cursor-based pagination
|
|
88
|
-
|
|
89
|
-
|
|
96
|
+
query = query.filter(cls.created_at < end_date)
|
|
97
|
+
|
|
98
|
+
# Cursor-based pagination using created_at
|
|
99
|
+
# TODO: There is a really nasty race condition issue here with Sqlite
|
|
100
|
+
# TODO: If they have the same created_at timestamp, this query does NOT match for whatever reason
|
|
101
|
+
if cursor_obj:
|
|
102
|
+
if ascending:
|
|
103
|
+
query = query.where(cls.created_at >= cursor_obj.created_at).where(
|
|
104
|
+
or_(cls.created_at > cursor_obj.created_at, cls.id > cursor_obj.id)
|
|
105
|
+
)
|
|
106
|
+
else:
|
|
107
|
+
query = query.where(cls.created_at <= cursor_obj.created_at).where(
|
|
108
|
+
or_(cls.created_at < cursor_obj.created_at, cls.id < cursor_obj.id)
|
|
109
|
+
)
|
|
90
110
|
|
|
91
111
|
# Apply text search
|
|
92
112
|
if query_text:
|
|
93
113
|
query = query.filter(func.lower(cls.text).contains(func.lower(query_text)))
|
|
94
114
|
|
|
95
|
-
# Handle
|
|
115
|
+
# Handle soft deletes
|
|
96
116
|
if hasattr(cls, "is_deleted"):
|
|
97
117
|
query = query.where(cls.is_deleted == False)
|
|
98
|
-
|
|
118
|
+
|
|
119
|
+
# Apply ordering by created_at
|
|
120
|
+
if ascending:
|
|
121
|
+
query = query.order_by(cls.created_at, cls.id)
|
|
122
|
+
else:
|
|
123
|
+
query = query.order_by(desc(cls.created_at), desc(cls.id))
|
|
124
|
+
|
|
125
|
+
query = query.limit(limit)
|
|
99
126
|
|
|
100
127
|
return list(session.execute(query).scalars())
|
|
101
128
|
|
|
@@ -101,11 +101,6 @@ class Server(object):
|
|
|
101
101
|
"""List all available agents to a user"""
|
|
102
102
|
raise NotImplementedError
|
|
103
103
|
|
|
104
|
-
@abstractmethod
|
|
105
|
-
def get_agent_messages(self, user_id: str, agent_id: str, start: int, count: int) -> list:
|
|
106
|
-
"""Paginated query of in-context messages in agent message queue"""
|
|
107
|
-
raise NotImplementedError
|
|
108
|
-
|
|
109
104
|
@abstractmethod
|
|
110
105
|
def get_agent_memory(self, user_id: str, agent_id: str) -> dict:
|
|
111
106
|
"""Return the memory of an agent (core memory + non-core statistics)"""
|
|
@@ -1173,55 +1168,6 @@ class SyncServer(Server):
|
|
|
1173
1168
|
message = agent.message_manager.get_message_by_id(id=message_id, actor=self.default_user)
|
|
1174
1169
|
return message
|
|
1175
1170
|
|
|
1176
|
-
def get_agent_messages(
|
|
1177
|
-
self,
|
|
1178
|
-
agent_id: str,
|
|
1179
|
-
start: int,
|
|
1180
|
-
count: int,
|
|
1181
|
-
) -> Union[List[Message], List[LettaMessage]]:
|
|
1182
|
-
"""Paginated query of all messages in agent message queue"""
|
|
1183
|
-
# Get the agent object (loaded in memory)
|
|
1184
|
-
letta_agent = self.load_agent(agent_id=agent_id)
|
|
1185
|
-
|
|
1186
|
-
if start < 0 or count < 0:
|
|
1187
|
-
raise ValueError("Start and count values should be non-negative")
|
|
1188
|
-
|
|
1189
|
-
if start + count < len(letta_agent._messages): # messages can be returned from whats in memory
|
|
1190
|
-
# Reverse the list to make it in reverse chronological order
|
|
1191
|
-
reversed_messages = letta_agent._messages[::-1]
|
|
1192
|
-
# Check if start is within the range of the list
|
|
1193
|
-
if start >= len(reversed_messages):
|
|
1194
|
-
raise IndexError("Start index is out of range")
|
|
1195
|
-
|
|
1196
|
-
# Calculate the end index, ensuring it does not exceed the list length
|
|
1197
|
-
end_index = min(start + count, len(reversed_messages))
|
|
1198
|
-
|
|
1199
|
-
# Slice the list for pagination
|
|
1200
|
-
messages = reversed_messages[start:end_index]
|
|
1201
|
-
|
|
1202
|
-
else:
|
|
1203
|
-
# need to access persistence manager for additional messages
|
|
1204
|
-
|
|
1205
|
-
# get messages using message manager
|
|
1206
|
-
page = letta_agent.message_manager.list_user_messages_for_agent(
|
|
1207
|
-
agent_id=agent_id,
|
|
1208
|
-
actor=self.default_user,
|
|
1209
|
-
cursor=start,
|
|
1210
|
-
limit=count,
|
|
1211
|
-
)
|
|
1212
|
-
|
|
1213
|
-
messages = page
|
|
1214
|
-
assert all(isinstance(m, Message) for m in messages)
|
|
1215
|
-
|
|
1216
|
-
## Convert to json
|
|
1217
|
-
## Add a tag indicating in-context or not
|
|
1218
|
-
# json_messages = [record.to_json() for record in messages]
|
|
1219
|
-
# in_context_message_ids = [str(m.id) for m in letta_agent._messages]
|
|
1220
|
-
# for d in json_messages:
|
|
1221
|
-
# d["in_context"] = True if str(d["id"]) in in_context_message_ids else False
|
|
1222
|
-
|
|
1223
|
-
return messages
|
|
1224
|
-
|
|
1225
1171
|
def get_agent_archival(self, user_id: str, agent_id: str, start: int, count: int) -> List[Passage]:
|
|
1226
1172
|
"""Paginated query of all messages in agent archival memory"""
|
|
1227
1173
|
if self.user_manager.get_user_by_id(user_id=user_id) is None:
|
|
@@ -1303,7 +1249,8 @@ class SyncServer(Server):
|
|
|
1303
1249
|
self,
|
|
1304
1250
|
user_id: str,
|
|
1305
1251
|
agent_id: str,
|
|
1306
|
-
|
|
1252
|
+
after: Optional[str] = None,
|
|
1253
|
+
before: Optional[str] = None,
|
|
1307
1254
|
limit: Optional[int] = 100,
|
|
1308
1255
|
reverse: Optional[bool] = False,
|
|
1309
1256
|
return_message_object: bool = True,
|
|
@@ -1320,12 +1267,15 @@ class SyncServer(Server):
|
|
|
1320
1267
|
letta_agent = self.load_agent(agent_id=agent_id)
|
|
1321
1268
|
|
|
1322
1269
|
# iterate over records
|
|
1323
|
-
|
|
1270
|
+
start_date = self.message_manager.get_message_by_id(after, actor=actor).created_at if after else None
|
|
1271
|
+
end_date = self.message_manager.get_message_by_id(before, actor=actor).created_at if before else None
|
|
1324
1272
|
records = letta_agent.message_manager.list_messages_for_agent(
|
|
1325
1273
|
agent_id=agent_id,
|
|
1326
1274
|
actor=actor,
|
|
1327
|
-
|
|
1275
|
+
start_date=start_date,
|
|
1276
|
+
end_date=end_date,
|
|
1328
1277
|
limit=limit,
|
|
1278
|
+
ascending=not reverse,
|
|
1329
1279
|
)
|
|
1330
1280
|
|
|
1331
1281
|
assert all(isinstance(m, Message) for m in records)
|
|
@@ -119,6 +119,7 @@ class MessageManager:
|
|
|
119
119
|
limit: Optional[int] = 50,
|
|
120
120
|
filters: Optional[Dict] = None,
|
|
121
121
|
query_text: Optional[str] = None,
|
|
122
|
+
ascending: bool = True,
|
|
122
123
|
) -> List[PydanticMessage]:
|
|
123
124
|
"""List user messages with flexible filtering and pagination options.
|
|
124
125
|
|
|
@@ -159,6 +160,7 @@ class MessageManager:
|
|
|
159
160
|
limit: Optional[int] = 50,
|
|
160
161
|
filters: Optional[Dict] = None,
|
|
161
162
|
query_text: Optional[str] = None,
|
|
163
|
+
ascending: bool = True,
|
|
162
164
|
) -> List[PydanticMessage]:
|
|
163
165
|
"""List messages with flexible filtering and pagination options.
|
|
164
166
|
|
|
@@ -188,6 +190,7 @@ class MessageManager:
|
|
|
188
190
|
end_date=end_date,
|
|
189
191
|
limit=limit,
|
|
190
192
|
query_text=query_text,
|
|
193
|
+
ascending=ascending,
|
|
191
194
|
**message_filters,
|
|
192
195
|
)
|
|
193
196
|
|
|
@@ -459,7 +459,7 @@ class ToolExecutionSandbox:
|
|
|
459
459
|
Generate the code string to call the function.
|
|
460
460
|
|
|
461
461
|
Args:
|
|
462
|
-
inject_agent_state (bool): Whether to inject the
|
|
462
|
+
inject_agent_state (bool): Whether to inject the axgent's state as an input into the tool
|
|
463
463
|
|
|
464
464
|
Returns:
|
|
465
465
|
str: Generated code string for calling the tool
|
|
File without changes
|
|
File without changes
|
{letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/__init__.py
RENAMED
|
File without changes
|
{letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/__main__.py
RENAMED
|
File without changes
|
{letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/agent.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/cli/cli.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/config.py
RENAMED
|
File without changes
|
{letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/constants.py
RENAMED
|
File without changes
|
{letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/credentials.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/embeddings.py
RENAMED
|
File without changes
|
{letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/errors.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/interface.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/log.py
RENAMED
|
File without changes
|
{letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/main.py
RENAMED
|
File without changes
|
{letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/memory.py
RENAMED
|
File without changes
|
{letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/metadata.py
RENAMED
|
File without changes
|
{letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/o1_agent.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/orm/__all__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/orm/base.py
RENAMED
|
File without changes
|
{letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/orm/block.py
RENAMED
|
File without changes
|
|
File without changes
|
{letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/orm/enums.py
RENAMED
|
File without changes
|
{letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/orm/errors.py
RENAMED
|
File without changes
|
{letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/orm/file.py
RENAMED
|
File without changes
|
{letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/orm/job.py
RENAMED
|
File without changes
|
{letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/orm/message.py
RENAMED
|
File without changes
|
{letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/orm/mixins.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/orm/source.py
RENAMED
|
File without changes
|
{letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/orm/tool.py
RENAMED
|
File without changes
|
|
File without changes
|
{letta_nightly-0.6.2.dev20241210030252 → letta_nightly-0.6.2.dev20241210104242}/letta/orm/user.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|