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, Input, Output, Request, Response
|
||||
|
||||
from python.helpers import tokens
|
||||
from python.helpers.api import ApiHandler
|
||||
from flask import Request, Response
|
||||
|
||||
|
||||
class GetCtxWindow(ApiHandler):
|
||||
async def process(self, input: dict, request: Request) -> dict | Response:
|
||||
async def process(self, input: Input, request: Request) -> Output:
|
||||
ctxid = input.get("context", [])
|
||||
context = self.get_context(ctxid)
|
||||
agent = context.streaming_agent or context.agent0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue