Compare commits

..

1 Commits

Author SHA1 Message Date
Nick Tindle
49971439b5 test: verify e2e tests on dev (no-op change) 2026-02-01 15:46:51 -06:00
2 changed files with 1 additions and 13 deletions

View File

@@ -4,7 +4,6 @@ import logging
from typing import Any
from backend.api.features.chat.model import ChatSession
from backend.api.features.library import db as library_db
from .agent_generator import (
AgentGeneratorNotConfiguredError,
@@ -121,18 +120,6 @@ class EditAgentTool(BaseTool):
current_agent = await get_agent_as_json(agent_id, user_id)
# If not found by graph_id, try resolving as library_agent_id
if current_agent is None and user_id:
try:
library_agent = await library_db.get_library_agent(agent_id, user_id)
logger.debug(
f"Resolved library_agent_id '{agent_id}' to graph_id "
f"'{library_agent.graph_id}'"
)
current_agent = await get_agent_as_json(library_agent.graph_id, user_id)
except Exception as e:
logger.debug(f"Could not resolve '{agent_id}' as library_agent_id: {e}")
if current_agent is None:
return ErrorResponse(
message=f"Could not find agent with ID '{agent_id}' in your library.",

View File

@@ -124,3 +124,4 @@ test("user can signup with existing email handling", async ({
console.error("❌ Duplicate email handling test failed:", error);
}
});