Skip to content

Commit

Permalink
resolve commit
Browse files Browse the repository at this point in the history
  • Loading branch information
manthanguptaa committed Sep 19, 2024
1 parent 40f7265 commit 31b9a38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions phi/playground/playground.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def get_agent_sessions(body: GetAgentSessionsRequest):
break

if agent is None:
return JSONResponse(status_code=404, content=f"couldn't find agent with id {body.agent_id}")
return JSONResponse(status_code=404, content="Agent not found.")

if agent.storage is None:
return JSONResponse(status_code=404, content="Agent does not have storage enabled.")
Expand All @@ -181,7 +181,7 @@ def get_agent_session(session_id: str, body: GetAgentSessionsRequest):
break

if agent is None:
return JSONResponse(status_code=404, content=f"couldn't find agent with id {body.agent_id}")
return JSONResponse(status_code=404, content="Agent not found.")

agent.session_id = session_id
agent.read_from_storage()
Expand Down

0 comments on commit 31b9a38

Please sign in to comment.