Spaces:
Sleeping
Sleeping
ColdAshSage commited on
Allow RSS-grounded sessions to complete after tool calls
Browse files164 unmodified lines16516616716816917017130 unmodified lines202203204205206207208209164 unmodified linessystem_prompt=system_prompt,user_prompt=user_prompt,market_snapshot=snapshot_dict,max_turns=1,json_mode=True,)if agent_result.parsed_json is None:30 unmodified linesfor tc in agent_result.tool_callsif tc.get("name") == "scrape_url")fallback_used = agent_result.fallback_usedwarning = agent_result.warningduration_ms = agent_result.duration_msas_of = datetime.now(timezone.utc)164 unmodified lines16516616716816917017130 unmodified lines202203204205206207208209164 unmodified linessystem_prompt=system_prompt,user_prompt=user_prompt,market_snapshot=snapshot_dict,max_turns=3,json_mode=True,)if agent_result.parsed_json is None:30 unmodified linesfor tc in agent_result.tool_callsif tc.get("name") == "scrape_url")fallback_used = fallback_used or agent_result.fallback_usedwarning = warning or agent_result.warningduration_ms = agent_result.duration_msas_of = datetime.now(timezone.utc)
app/digests/generator.py+3-3