mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-11 15:15:18 +02:00
restore task_type value.
This commit is contained in:
parent
8afac012b4
commit
19b0120c15
1 changed files with 1 additions and 1 deletions
|
|
@ -178,7 +178,7 @@ class WriteCodeWithTools(BaseWriteAnalysisCode):
|
|||
column_info: str = "",
|
||||
**kwargs,
|
||||
) -> Tuple[List[Message], str]:
|
||||
task_type = plan.current_task.task_type or 'udf'
|
||||
task_type = plan.current_task.task_type
|
||||
available_tools = self.available_tools.get(task_type, {})
|
||||
special_prompt = ML_SPECIFIC_PROMPT.get(task_type, "")
|
||||
code_steps = plan.current_task.code_steps
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue