mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-11 15:15:18 +02:00
fix: set temperature=0.0 for WriteCodeByGenerate.
This commit is contained in:
parent
9d49caa8cc
commit
870ece45b2
1 changed files with 1 additions and 1 deletions
|
|
@ -128,7 +128,7 @@ class MLEngineer(Role):
|
|||
if not self.use_tools or self.plan.current_task.task_type == "":
|
||||
# code = "print('abc')"
|
||||
code = await WriteCodeByGenerate().run(
|
||||
context=context, plan=self.plan, task_guide=task_guide
|
||||
context=context, plan=self.plan, task_guide=task_guide, temperature=0.0
|
||||
)
|
||||
cause_by = WriteCodeByGenerate
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue