Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

chore: move project_id to project slug (#620)

Shubham Naikd496c82a64d1
diff --git a/letta/schemas/agent.py b/letta/schemas/agent.py
index 16b051f03..32cbcb781 100644
--- a/letta/schemas/agent.py
+++ b/letta/schemas/agent.py
@@ -129,7 +129,7 @@ class CreateAgent(BaseModel, validate_assignment=True): #
context_window_limit: Optional[int] = Field(None, description="The context window limit used by the agent.")
embedding_chunk_size: Optional[int] = Field(DEFAULT_EMBEDDING_CHUNK_SIZE, description="The embedding chunk size used by the agent.")
from_template: Optional[str] = Field(None, description="The template id used to configure the agent")
- project_id: Optional[str] = Field(None, description="The project id that the agent will be associated with.")
+ project: Optional[str] = Field(None, description="The project slug that the agent will be associated with.")
tool_exec_environment_variables: Optional[Dict[str, str]] = Field(
None, description="The environment variables for tool execution specific to this agent."
)