* typo: Fix typos and rename functions across multiple files This commit addresses several minor issues: - Corrected spelling of function names (e.g., `update_ui_lastest_msg` to `update_ui_latest_msg`) - Fixed typos in comments and variable names - Corrected capitalization in some strings (e.g., "ArXiv" instead of "Arixv") - Renamed some variables for consistency - Corrected some console-related parameter names (e.g., `console_slience` to `console_silence`) The changes span multiple files across the project, including request LLM bridges, crazy functions, and utility modules. * fix: f-string expression part cannot include a backslash (#2139) * raise error when the uploaded tar contain hard/soft link (#2136) * minor bug fix * fine tune reasoning css * upgrade internet gpt plugin * Update README.md * fix GHSA-gqp5-wm97-qxcv * typo fix * update readme --------- Co-authored-by: binary-husky <96192199+binary-husky@users.noreply.github.com> Co-authored-by: binary-husky <qingxu.fu@outlook.com>
23 lines
975 B
Python
23 lines
975 B
Python
from toolbox import CatchException, update_ui, gen_time_str, trimmed_format_exc, ProxyNetworkActivate
|
|
from toolbox import report_exception, get_log_folder, update_ui_latest_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", # name of the agent.
|
|
"cls": AssistantAgent, # class of the agent.
|
|
},
|
|
{
|
|
"name": "user_proxy", # name of the agent.
|
|
"cls": UserProxyAgent, # class of the agent.
|
|
"human_input_mode": "ALWAYS", # always ask for human input.
|
|
"llm_config": False, # disables llm-based auto reply.
|
|
},
|
|
] |