We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rolenet/McpAgentRobot'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
brain_agent.cpython-312.pyc•13.2 KiB
�
ʛ�g�: � �z � d Z ddlZddlZddlmZmZ ddlZddlmZ ddl m
Z
mZmZ ddl
mZmZ da G d� de� Zy) u
大脑控制中心智能体
� N)�Dict�Any)� BaseAgent)�TextMessage�ImageMessage�AudioMessage)�OLLAMA_BASE_URL�MODEL_CONFIGc �t � � e Zd Zdededef� fd�Zdeeef fd�Zdeeef fd�Z deeef fd�Z
d � Z� xZS )
�
BrainAgent�agent_id�host�portc � �� t �| � |d||� | at j t
�� | _ t | _ | j d d | _ g | _
| j d j dd� | _ | j j d� | j j d | j d d � �� | j j d
| j d d � d| j � �� | j j d| j d
d � �� | j d| j � | j d| j"