mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-09 19:42:44 +00:00
BIG PYTHON REFACTOR
Python scripts moved out of python/ folder to root to be unified with plugins + frontend extension around api calls
This commit is contained in:
parent
f94b7d742c
commit
d02dda3667
326 changed files with 1096 additions and 862 deletions
0
extensions/python/monologue_end/.gitkeep
Normal file
0
extensions/python/monologue_end/.gitkeep
Normal file
12
extensions/python/monologue_end/_90_waiting_for_input_msg.py
Normal file
12
extensions/python/monologue_end/_90_waiting_for_input_msg.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
from helpers.extension import Extension
|
||||
from agent import LoopData
|
||||
|
||||
class WaitingForInputMsg(Extension):
|
||||
|
||||
async def execute(self, loop_data: LoopData = LoopData(), **kwargs):
|
||||
if not self.agent:
|
||||
return
|
||||
|
||||
# show temp info message
|
||||
if self.agent.number == 0:
|
||||
self.agent.context.log.set_initial_progress()
|
||||
Loading…
Add table
Add a link
Reference in a new issue