mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-04-28 19:51:11 +00:00
v0.8.1 release
This commit is contained in:
parent
66dd4dab10
commit
c161529e90
44 changed files with 1004 additions and 552 deletions
|
|
@ -1,10 +1,10 @@
|
|||
from python.helpers.api import ApiHandler
|
||||
from flask import Request, Response
|
||||
from python.helpers.api import ApiHandler, Input, Output, Request, Response
|
||||
|
||||
|
||||
from python.helpers import persist_chat
|
||||
|
||||
class LoadChats(ApiHandler):
|
||||
async def process(self, input: dict, request: Request) -> dict | Response:
|
||||
async def process(self, input: Input, request: Request) -> Output:
|
||||
chats = input.get("chats", [])
|
||||
if not chats:
|
||||
raise Exception("No chats provided")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue