Start in context approval state
This commit is contained in:
@@ -45,14 +45,14 @@ class WebAgent(BaseAgent):
|
||||
Initialize web agent with required components.
|
||||
"""
|
||||
super().__init__(action_schema, working_memory, system_metrics, llm, validator, parser)
|
||||
self.context = ""
|
||||
self.response = ""
|
||||
self._system_prompt = system_prompt
|
||||
self._current_state = WebAgentState.UPDATE
|
||||
self._current_state = WebAgentState.CONTEXT_APPROVAL
|
||||
self._validation_error: Optional[str] = None
|
||||
self._state_change_handlers: List[Callable[[WebAgentState], None]] = []
|
||||
self._response_change_handlers: List[Callable[[str], None]] = []
|
||||
self._command_result: Optional[CommandResult] = None
|
||||
self.context = self._compile_context()
|
||||
|
||||
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user