chore: update uv.lock and ran linting

This commit is contained in:
Anish Sarkar 2026-02-14 19:09:45 +05:30
parent 3ec30d94ce
commit 2755c0d7c0
6 changed files with 3270 additions and 3251 deletions

View file

@ -275,9 +275,7 @@ def create_generate_report_tool(
# so no DB connection is held during the long LLM call.
async with async_session_maker() as read_session:
if parent_report_id:
parent_report = await read_session.get(
Report, parent_report_id
)
parent_report = await read_session.get(Report, parent_report_id)
if parent_report:
report_group_id = parent_report.report_group_id
parent_report_content = parent_report.content
@ -291,9 +289,7 @@ def create_generate_report_tool(
"creating standalone report"
)
llm = await get_document_summary_llm(
read_session, search_space_id
)
llm = await get_document_summary_llm(read_session, search_space_id)
# read_session closed — connection returned to pool
if not llm: