mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-15 11:02:36 +02:00
generalize write code with tools, simplify ml_engineer
This commit is contained in:
parent
3a312007c2
commit
e12ab25b7c
6 changed files with 221 additions and 162 deletions
|
|
@ -25,7 +25,7 @@ async def run_code_interpreter(
|
|||
"""
|
||||
|
||||
if role_class == "ci":
|
||||
role = CodeInterpreter(goal=requirement, auto_run=auto_run, use_tools=use_tools)
|
||||
role = CodeInterpreter(goal=requirement, auto_run=auto_run, use_tools=use_tools, make_udfs=make_udfs)
|
||||
else:
|
||||
role = MLEngineer(
|
||||
goal=requirement,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue