fix anthropic llm stats (#2313)

This commit is contained in:
Shuchang Zheng
2025-05-08 14:30:00 -07:00
committed by GitHub
parent 6338a404a4
commit 1fbaf711b1
2 changed files with 62 additions and 25 deletions

View File

@@ -1430,6 +1430,7 @@ class ForgeAgent:
if not llm_caller.message_history:
llm_response = await llm_caller.call(
prompt=task.navigation_goal,
step=step,
screenshots=scraped_page.screenshots,
use_message_history=True,
tools=tools,
@@ -1440,6 +1441,7 @@ class ForgeAgent:
)
else:
llm_response = await llm_caller.call(
step=step,
screenshots=scraped_page.screenshots,
use_message_history=True,
tools=tools,