Fix minor bug caused by new logging feat in aguvis agent traj
This commit is contained in:
@@ -1077,7 +1077,10 @@ class PromptAgent:
|
|||||||
|
|
||||||
return actions
|
return actions
|
||||||
|
|
||||||
def reset(self):
|
def reset(self, _logger=None):
|
||||||
|
global logger
|
||||||
|
logger = _logger if _logger is not None else logging.getLogger("desktopenv.agent")
|
||||||
|
|
||||||
self.thoughts = []
|
self.thoughts = []
|
||||||
self.actions = []
|
self.actions = []
|
||||||
self.observations = []
|
self.observations = []
|
||||||
|
|||||||
Reference in New Issue
Block a user