| | from toolbox import CatchException, update_ui, gen_time_str, trimmed_format_exc, ProxyNetworkActivate |
| | from toolbox import report_exception, get_log_folder, update_ui_lastest_msg, Singleton |
| | from crazy_functions.agent_fns.pipe import PluginMultiprocessManager, PipeCom |
| | from crazy_functions.agent_fns.general import AutoGenGeneral |
| |
|
| |
|
| |
|
| | class AutoGenMath(AutoGenGeneral): |
| |
|
| | def define_agents(self): |
| | from autogen import AssistantAgent, UserProxyAgent |
| | return [ |
| | { |
| | "name": "assistant", |
| | "cls": AssistantAgent, |
| | }, |
| | { |
| | "name": "user_proxy", |
| | "cls": UserProxyAgent, |
| | "human_input_mode": "ALWAYS", |
| | "llm_config": False, |
| | }, |
| | ] |