mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-06 08:01:31 +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
|
|
@ -1,11 +0,0 @@
|
|||
from agent import AgentContext
|
||||
from python.helpers.defer import DeferredTask
|
||||
from python.api.message import Message
|
||||
|
||||
|
||||
class MessageAsync(Message):
|
||||
async def respond(self, task: DeferredTask, context: AgentContext):
|
||||
return {
|
||||
"message": "Message received.",
|
||||
"context": context.id,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue