MCPcopy Create free account
hub / github.com/THUDM/AutoWebGLM / action_processor

Method action_processor

webarena/browser_env/processors.py:883–890  ·  view source on GitHub ↗

Return the main processor that is associated with the action space

(self)

Source from the content-addressed store, hash-verified

881
882 @property
883 def action_processor(self) -> ObservationProcessor:
884 """Return the main processor that is associated with the action space"""
885 if self.main_observation_type == "text":
886 return self.text_processor
887 elif self.main_observation_type == "image":
888 return self.image_processor
889 else:
890 raise ValueError("Invalid main observation type")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected