forked from All-Hands-AI/OpenHands
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[eval,fix]: metrics get carried across eval instances (All-Hands-AI#3072
) * fix: make max_budget_per_task optional in `run_agent_controller` * update arg for each run infer * fix: metrics logging carried along; reset llm metric with the agent; --------- Co-authored-by: Graham Neubig <neubig@gmail.com>
- Loading branch information
Showing
3 changed files
with
8 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -252,3 +252,6 @@ def __str__(self): | |
|
||
def __repr__(self): | ||
return str(self) | ||
|
||
def reset(self): | ||
self.metrics = Metrics() |