diff --git a/letta/server/rest_api/routers/v1/agents.py b/letta/server/rest_api/routers/v1/agents.py index 6a583c3a..20661ef9 100644 --- a/letta/server/rest_api/routers/v1/agents.py +++ b/letta/server/rest_api/routers/v1/agents.py @@ -465,7 +465,7 @@ async def send_message( @router.post( "/{agent_id}/messages/stream", response_model=None, - operation_id="create_agent_message", + operation_id="create_agent_message_stream", responses={ 200: { "description": "Successful response", diff --git a/letta/server/rest_api/routers/v1/blocks.py b/letta/server/rest_api/routers/v1/blocks.py index 798e7aa4..f58172d6 100644 --- a/letta/server/rest_api/routers/v1/blocks.py +++ b/letta/server/rest_api/routers/v1/blocks.py @@ -76,7 +76,7 @@ def get_block( raise HTTPException(status_code=404, detail="Block not found") -@router.patch("/{block_id}/attach", response_model=Block, operation_id="update_agent_memory_block") +@router.patch("/{block_id}/attach", response_model=Block, operation_id="link_agent_memory_block") def link_agent_memory_block( block_id: str, agent_id: str = Query(..., description="The unique identifier of the agent to attach the source to."), @@ -96,7 +96,7 @@ def link_agent_memory_block( return block -@router.patch("/{block_id}/detach", response_model=Memory, operation_id="update_agent_memory_block") +@router.patch("/{block_id}/detach", response_model=Memory, operation_id="unlink_agent_memory_block") def unlink_agent_memory_block( block_id: str, agent_id: str = Query(..., description="The unique identifier of the agent to attach the source to."),