mirror of
https://github.com/OpenHands/OpenHands.git
synced 2026-03-22 13:47:19 +08:00
Improve LLM call metadata (#10004)
Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user