Improve LLM call metadata (#10004)

Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
Xingyao Wang
2025-07-30 19:02:49 -04:00
committed by GitHub
parent c2fc84e6ea
commit c2e860fe92
6 changed files with 35 additions and 5 deletions

View File

@@ -657,6 +657,7 @@ class AgentController:
# Take a snapshot of the current metrics before starting the delegate
state = State(
session_id=self.id.removesuffix('-delegate'),
user_id=self.user_id,
inputs=action.inputs or {},
iteration_flag=self.state.iteration_flag,
budget_flag=self.state.budget_flag,