Closed wugren closed 7 months ago
Supports defining agents using python code The implementation process is as follows:
Derive a class named Agent from CustomAIAgent, such as
class Agent(CustomAIAgent): def __init__(self): super().__init__("test_agent", "gpt-4-1106-preview", 4096, 4096) async def _process_msg(self, msg: AgentMsg, workspace=None) -> AgentMsg: return msg.create_resp_msg("hello world!")
Supports defining agents using python code The implementation process is as follows:
Derive a class named Agent from CustomAIAgent, such as