letta-nightly 0.4.1.dev20241012104008__tar.gz → 0.4.1.dev20241013104006__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.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/PKG-INFO +1 -1
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/local_llm/chat_completion_proxy.py +1 -3
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/providers.py +22 -1
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/server.py +29 -6
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/pyproject.toml +1 -1
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/LICENSE +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/README.md +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/__init__.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/__main__.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/agent.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/agent_store/chroma.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/agent_store/db.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/agent_store/lancedb.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/agent_store/milvus.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/agent_store/qdrant.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/agent_store/storage.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/base.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/benchmark/benchmark.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/benchmark/constants.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/cli/cli.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/cli/cli_config.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/cli/cli_load.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/client/__init__.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/client/admin.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/client/client.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/client/streaming.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/client/utils.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/config.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/constants.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/credentials.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/data_sources/connectors.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/embeddings.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/errors.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/functions/__init__.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/functions/function_sets/base.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/functions/function_sets/extras.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/functions/functions.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/functions/helpers.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/functions/schema_generator.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/humans/__init__.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/humans/examples/basic.txt +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/humans/examples/cs_phd.txt +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/interface.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/llm_api/__init__.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/llm_api/anthropic.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/llm_api/azure_openai.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/llm_api/azure_openai_constants.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/llm_api/cohere.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/llm_api/google_ai.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/llm_api/helpers.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/llm_api/llm_api_tools.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/llm_api/openai.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/local_llm/README.md +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/local_llm/__init__.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/local_llm/constants.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/local_llm/function_parser.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/local_llm/grammars/__init__.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/local_llm/grammars/gbnf_grammar_generator.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/local_llm/grammars/json.gbnf +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/local_llm/grammars/json_func_calls_with_inner_thoughts.gbnf +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/local_llm/json_parser.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/local_llm/koboldcpp/api.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/local_llm/koboldcpp/settings.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/local_llm/llamacpp/api.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/local_llm/llamacpp/settings.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/local_llm/llm_chat_completion_wrappers/__init__.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/local_llm/llm_chat_completion_wrappers/airoboros.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/local_llm/llm_chat_completion_wrappers/chatml.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/local_llm/llm_chat_completion_wrappers/configurable_wrapper.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/local_llm/llm_chat_completion_wrappers/dolphin.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/local_llm/llm_chat_completion_wrappers/llama3.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/local_llm/llm_chat_completion_wrappers/simple_summary_wrapper.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/local_llm/llm_chat_completion_wrappers/wrapper_base.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/local_llm/llm_chat_completion_wrappers/zephyr.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/local_llm/lmstudio/api.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/local_llm/lmstudio/settings.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/local_llm/ollama/api.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/local_llm/ollama/settings.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/local_llm/settings/__init__.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/local_llm/settings/deterministic_mirostat.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/local_llm/settings/settings.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/local_llm/settings/simple.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/local_llm/utils.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/local_llm/vllm/api.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/local_llm/webui/api.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/local_llm/webui/legacy_api.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/local_llm/webui/legacy_settings.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/local_llm/webui/settings.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/log.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/main.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/memory.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/metadata.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/openai_backcompat/__init__.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/openai_backcompat/openai_object.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/persistence_manager.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/personas/__init__.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/personas/examples/anna_pa.txt +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/personas/examples/google_search_persona.txt +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/personas/examples/memgpt_doc.txt +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/personas/examples/memgpt_starter.txt +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/personas/examples/sam.txt +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/personas/examples/sam_pov.txt +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/personas/examples/sam_simple_pov_gpt35.txt +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/personas/examples/sqldb/test.db +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/prompts/__init__.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/prompts/gpt_summarize.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/prompts/gpt_system.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/prompts/system/memgpt_base.txt +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/prompts/system/memgpt_chat.txt +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/prompts/system/memgpt_chat_compressed.txt +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/prompts/system/memgpt_chat_fstring.txt +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/prompts/system/memgpt_doc.txt +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/prompts/system/memgpt_gpt35_extralong.txt +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/prompts/system/memgpt_intuitive_knowledge.txt +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/prompts/system/memgpt_modified_chat.txt +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/pytest.ini +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/schemas/agent.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/schemas/api_key.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/schemas/block.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/schemas/document.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/schemas/embedding_config.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/schemas/enums.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/schemas/health.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/schemas/job.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/schemas/letta_base.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/schemas/letta_message.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/schemas/letta_request.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/schemas/letta_response.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/schemas/llm_config.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/schemas/memory.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/schemas/message.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/schemas/openai/chat_completion_request.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/schemas/openai/chat_completion_response.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/schemas/openai/chat_completions.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/schemas/openai/embedding_response.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/schemas/openai/openai.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/schemas/organization.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/schemas/passage.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/schemas/source.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/schemas/tool.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/schemas/usage.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/schemas/user.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/__init__.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/constants.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/rest_api/__init__.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/rest_api/admin/__init__.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/rest_api/admin/agents.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/rest_api/admin/tools.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/rest_api/admin/users.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/rest_api/app.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/rest_api/auth/__init__.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/rest_api/auth/index.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/rest_api/auth_token.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/rest_api/interface.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/rest_api/routers/__init__.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/rest_api/routers/openai/__init__.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/rest_api/routers/openai/assistants/__init__.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/rest_api/routers/openai/assistants/assistants.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/rest_api/routers/openai/assistants/schemas.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/rest_api/routers/openai/assistants/threads.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/rest_api/routers/openai/chat_completions/__init__.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/rest_api/routers/openai/chat_completions/chat_completions.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/rest_api/routers/v1/__init__.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/rest_api/routers/v1/agents.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/rest_api/routers/v1/blocks.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/rest_api/routers/v1/health.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/rest_api/routers/v1/jobs.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/rest_api/routers/v1/llms.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/rest_api/routers/v1/organizations.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/rest_api/routers/v1/sources.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/rest_api/routers/v1/tools.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/rest_api/routers/v1/users.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/rest_api/static_files.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/rest_api/utils.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/startup.sh +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/static_files/assets/index-3ab03d5b.css +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/static_files/assets/index-9a9c449b.js +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/static_files/favicon.ico +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/static_files/index.html +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/static_files/memgpt_logo_transparent.png +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/utils.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/ws_api/__init__.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/ws_api/example_client.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/ws_api/interface.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/ws_api/protocol.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/server/ws_api/server.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/settings.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/streaming_interface.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/system.py +0 -0
- {letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/utils.py +0 -0
|
@@ -85,9 +85,7 @@ def get_chat_completion(
|
|
|
85
85
|
elif wrapper is None:
|
|
86
86
|
# Warn the user that we're using the fallback
|
|
87
87
|
if not has_shown_warning:
|
|
88
|
-
print(
|
|
89
|
-
f"{CLI_WARNING_PREFIX}no wrapper specified for local LLM, using the default wrapper (you can remove this warning by specifying the wrapper with --model-wrapper)"
|
|
90
|
-
)
|
|
88
|
+
print(f"{CLI_WARNING_PREFIX}no prompt formatter specified for local LLM, using the default formatter")
|
|
91
89
|
has_shown_warning = True
|
|
92
90
|
|
|
93
91
|
llm_wrapper = DEFAULT_WRAPPER()
|
{letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/providers.py
RENAMED
|
@@ -140,9 +140,17 @@ class AnthropicProvider(Provider):
|
|
|
140
140
|
|
|
141
141
|
|
|
142
142
|
class OllamaProvider(OpenAIProvider):
|
|
143
|
+
"""Ollama provider that uses the native /api/generate endpoint
|
|
144
|
+
|
|
145
|
+
See: https://github.com/ollama/ollama/blob/main/docs/api.md#generate-a-completion
|
|
146
|
+
"""
|
|
147
|
+
|
|
143
148
|
name: str = "ollama"
|
|
144
149
|
base_url: str = Field(..., description="Base URL for the Ollama API.")
|
|
145
150
|
api_key: Optional[str] = Field(None, description="API key for the Ollama API (default: `None`).")
|
|
151
|
+
default_prompt_formatter: str = Field(
|
|
152
|
+
..., description="Default prompt formatter (aka model wrapper) to use on a /completions style API."
|
|
153
|
+
)
|
|
146
154
|
|
|
147
155
|
def list_llm_models(self) -> List[LLMConfig]:
|
|
148
156
|
# https://github.com/ollama/ollama/blob/main/docs/api.md#list-local-models
|
|
@@ -156,11 +164,15 @@ class OllamaProvider(OpenAIProvider):
|
|
|
156
164
|
configs = []
|
|
157
165
|
for model in response_json["models"]:
|
|
158
166
|
context_window = self.get_model_context_window(model["name"])
|
|
167
|
+
if context_window is None:
|
|
168
|
+
print(f"Ollama model {model['name']} has no context window")
|
|
169
|
+
continue
|
|
159
170
|
configs.append(
|
|
160
171
|
LLMConfig(
|
|
161
172
|
model=model["name"],
|
|
162
173
|
model_endpoint_type="ollama",
|
|
163
174
|
model_endpoint=self.base_url,
|
|
175
|
+
model_wrapper=self.default_prompt_formatter,
|
|
164
176
|
context_window=context_window,
|
|
165
177
|
)
|
|
166
178
|
)
|
|
@@ -192,6 +204,10 @@ class OllamaProvider(OpenAIProvider):
|
|
|
192
204
|
# ]
|
|
193
205
|
# max_position_embeddings
|
|
194
206
|
# parse model cards: nous, dolphon, llama
|
|
207
|
+
if "model_info" not in response_json:
|
|
208
|
+
if "error" in response_json:
|
|
209
|
+
print(f"Ollama fetch model info error for {model_name}: {response_json['error']}")
|
|
210
|
+
return None
|
|
195
211
|
for key, value in response_json["model_info"].items():
|
|
196
212
|
if "context_length" in key:
|
|
197
213
|
return value
|
|
@@ -202,6 +218,10 @@ class OllamaProvider(OpenAIProvider):
|
|
|
202
218
|
|
|
203
219
|
response = requests.post(f"{self.base_url}/api/show", json={"name": model_name, "verbose": True})
|
|
204
220
|
response_json = response.json()
|
|
221
|
+
if "model_info" not in response_json:
|
|
222
|
+
if "error" in response_json:
|
|
223
|
+
print(f"Ollama fetch model info error for {model_name}: {response_json['error']}")
|
|
224
|
+
return None
|
|
205
225
|
for key, value in response_json["model_info"].items():
|
|
206
226
|
if "embedding_length" in key:
|
|
207
227
|
return value
|
|
@@ -220,6 +240,7 @@ class OllamaProvider(OpenAIProvider):
|
|
|
220
240
|
for model in response_json["models"]:
|
|
221
241
|
embedding_dim = self.get_model_embedding_dim(model["name"])
|
|
222
242
|
if not embedding_dim:
|
|
243
|
+
print(f"Ollama model {model['name']} has no embedding dimension")
|
|
223
244
|
continue
|
|
224
245
|
configs.append(
|
|
225
246
|
EmbeddingConfig(
|
|
@@ -420,7 +441,7 @@ class VLLMCompletionsProvider(Provider):
|
|
|
420
441
|
# NOTE: vLLM only serves one model at a time (so could configure that through env variables)
|
|
421
442
|
name: str = "vllm"
|
|
422
443
|
base_url: str = Field(..., description="Base URL for the vLLM API.")
|
|
423
|
-
default_prompt_formatter: str = Field(..., description="Default prompt formatter (aka model wrapper)to use on vLLM /completions API.")
|
|
444
|
+
default_prompt_formatter: str = Field(..., description="Default prompt formatter (aka model wrapper) to use on vLLM /completions API.")
|
|
424
445
|
|
|
425
446
|
def list_llm_models(self) -> List[LLMConfig]:
|
|
426
447
|
# not supported with vLLM
|
|
@@ -200,7 +200,7 @@ class SyncServer(Server):
|
|
|
200
200
|
def __init__(
|
|
201
201
|
self,
|
|
202
202
|
chaining: bool = True,
|
|
203
|
-
max_chaining_steps: bool = None,
|
|
203
|
+
max_chaining_steps: Optional[bool] = None,
|
|
204
204
|
default_interface_factory: Callable[[], AgentInterface] = lambda: CLIInterface(),
|
|
205
205
|
# default_interface: AgentInterface = CLIInterface(),
|
|
206
206
|
# default_persistence_manager_cls: PersistenceManager = LocalStateManager,
|
|
@@ -241,13 +241,32 @@ class SyncServer(Server):
|
|
|
241
241
|
# collect providers (always has Letta as a default)
|
|
242
242
|
self._enabled_providers: List[Provider] = [LettaProvider()]
|
|
243
243
|
if model_settings.openai_api_key:
|
|
244
|
-
self._enabled_providers.append(
|
|
244
|
+
self._enabled_providers.append(
|
|
245
|
+
OpenAIProvider(
|
|
246
|
+
api_key=model_settings.openai_api_key,
|
|
247
|
+
base_url=model_settings.openai_api_base,
|
|
248
|
+
)
|
|
249
|
+
)
|
|
245
250
|
if model_settings.anthropic_api_key:
|
|
246
|
-
self._enabled_providers.append(
|
|
251
|
+
self._enabled_providers.append(
|
|
252
|
+
AnthropicProvider(
|
|
253
|
+
api_key=model_settings.anthropic_api_key,
|
|
254
|
+
)
|
|
255
|
+
)
|
|
247
256
|
if model_settings.ollama_base_url:
|
|
248
|
-
self._enabled_providers.append(
|
|
257
|
+
self._enabled_providers.append(
|
|
258
|
+
OllamaProvider(
|
|
259
|
+
base_url=model_settings.ollama_base_url,
|
|
260
|
+
api_key=None,
|
|
261
|
+
default_prompt_formatter=model_settings.default_prompt_formatter,
|
|
262
|
+
)
|
|
263
|
+
)
|
|
249
264
|
if model_settings.gemini_api_key:
|
|
250
|
-
self._enabled_providers.append(
|
|
265
|
+
self._enabled_providers.append(
|
|
266
|
+
GoogleAIProvider(
|
|
267
|
+
api_key=model_settings.gemini_api_key,
|
|
268
|
+
)
|
|
269
|
+
)
|
|
251
270
|
if model_settings.azure_api_key and model_settings.azure_base_url:
|
|
252
271
|
assert model_settings.azure_api_version, "AZURE_API_VERSION is required"
|
|
253
272
|
self._enabled_providers.append(
|
|
@@ -268,7 +287,11 @@ class SyncServer(Server):
|
|
|
268
287
|
# NOTE: to use the /chat/completions endpoint, you need to specify extra flags on vLLM startup
|
|
269
288
|
# see: https://docs.vllm.ai/en/latest/getting_started/examples/openai_chat_completion_client_with_tools.html
|
|
270
289
|
# e.g. "... --enable-auto-tool-choice --tool-call-parser hermes"
|
|
271
|
-
self._enabled_providers.append(
|
|
290
|
+
self._enabled_providers.append(
|
|
291
|
+
VLLMChatCompletionsProvider(
|
|
292
|
+
base_url=model_settings.vllm_api_base,
|
|
293
|
+
)
|
|
294
|
+
)
|
|
272
295
|
|
|
273
296
|
def save_agents(self):
|
|
274
297
|
"""Saves all the agents that are in the in-memory object store"""
|
|
File without changes
|
|
File without changes
|
{letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/__init__.py
RENAMED
|
File without changes
|
{letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/__main__.py
RENAMED
|
File without changes
|
{letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/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
|
{letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/base.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/cli/cli.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
|
{letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/config.py
RENAMED
|
File without changes
|
{letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/constants.py
RENAMED
|
File without changes
|
{letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/credentials.py
RENAMED
|
File without changes
|
|
File without changes
|
{letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/embeddings.py
RENAMED
|
File without changes
|
{letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/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
|
{letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/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
|
{letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/log.py
RENAMED
|
File without changes
|
{letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/main.py
RENAMED
|
File without changes
|
{letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/memory.py
RENAMED
|
File without changes
|
{letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/metadata.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
|
{letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/pytest.ini
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
|
{letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/schemas/job.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
|
|
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.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/settings.py
RENAMED
|
File without changes
|
|
File without changes
|
{letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/system.py
RENAMED
|
File without changes
|
{letta_nightly-0.4.1.dev20241012104008 → letta_nightly-0.4.1.dev20241013104006}/letta/utils.py
RENAMED
|
File without changes
|