mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 21:19:12 +00:00
Decouple environment from operator agent to improve modularity
Decouple applying action on Environment from next action decision by OperatorAgent - Create an abstract Environment class with a `step' method and a standardized set of supported actions for each concrete Environment - Wrap playwright page into a concrete Environment class - Create abstract OperatorAgent class with an abstract `act' method - Wrap Openai computer Operator into concrete OperatorAgent class - Wrap Claude computer Operator into a concrete OperatorAgent class Handle interaction between Agent's action
This commit is contained in: