mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-08-10 17:05:57 +00:00
merge MCP clients
This commit is contained in:
commit
69c3ac310b
17 changed files with 1425 additions and 34 deletions
|
|
@ -85,4 +85,4 @@ class Message(ApiHandler):
|
|||
id=message_id,
|
||||
)
|
||||
|
||||
return context.communicate(UserMessage(message, attachment_paths)), context
|
||||
return context.communicate(UserMessage(message, attachment_paths)), context
|
||||
|
|
|
|||
|
|
@ -3,9 +3,11 @@ from flask import Request, Response
|
|||
|
||||
from python.helpers import settings
|
||||
|
||||
from typing import Any
|
||||
|
||||
|
||||
class SetSettings(ApiHandler):
|
||||
async def process(self, input: dict, request: Request) -> dict | Response:
|
||||
async def process(self, input: dict[Any, Any], request: Request) -> dict[Any, Any] | Response:
|
||||
set = settings.convert_in(input)
|
||||
set = settings.set_settings(set)
|
||||
return {"settings": set}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue