refactor(backend): Update references from document summary LLM to agent LLM across multiple files

This commit is contained in:
Anish Sarkar 2026-06-04 01:50:44 +05:30
parent ddfe60c2f0
commit e4d7b01b09
9 changed files with 10 additions and 12 deletions

View file

@ -546,7 +546,7 @@ def create_generate_report_tool(
Factory function to create the generate_report tool with injected dependencies.
The tool generates a Markdown report inline using the search space's
document summary LLM, saves it to the database, and returns immediately.
agent LLM, saves it to the database, and returns immediately.
Uses short-lived database sessions for each DB operation so no connection
is held during the long LLM API call.

View file

@ -565,7 +565,7 @@ def create_generate_report_tool(
Factory function to create the generate_report tool with injected dependencies.
The tool generates a Markdown report inline using the search space's
document summary LLM, saves it to the database, and returns immediately.
agent LLM, saves it to the database, and returns immediately.
Uses short-lived database sessions for each DB operation so no connection
is held during the long LLM API call.

View file

@ -31,12 +31,10 @@ async def create_podcast_transcript(
search_space_id = configuration.search_space_id
user_prompt = configuration.user_prompt
# Get search space's document summary LLM
# Use the search space's agent LLM for podcast transcript generation.
llm = await get_agent_llm(state.db_session, search_space_id)
if not llm:
error_message = (
f"No document summary LLM configured for search space {search_space_id}"
)
error_message = f"No agent LLM configured for search space {search_space_id}"
print(error_message)
raise RuntimeError(error_message)