Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/utils/endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,6 @@ async def get_agent(
tool_parser=None if no_tools else GraniteToolParser.get_parser(model_id),
enable_session_persistence=True, # type: ignore[call-arg]
)
await agent.initialize() # type: ignore[attr-defined]

if existing_agent_id and conversation_id:
logger.debug("Existing conversation ID: %s", conversation_id)
Expand Down Expand Up @@ -412,7 +411,6 @@ async def get_temp_agent(
# type: ignore[call-arg] # Temporary agent doesn't need persistence
# enable_session_persistence=False,
)
await agent.initialize() # type: ignore[attr-defined]

# Generate new IDs for the temporary agent
# conversation_id = agent.agent_id
Expand Down
Loading