mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-20 02:29:05 +08:00
fix: cot agent
This commit is contained in:
parent
6f2d5ff099
commit
89af726985
@ -59,8 +59,7 @@ class CotAgentRunner(BaseAgentRunner, ABC):
|
|||||||
|
|
||||||
# init instruction
|
# init instruction
|
||||||
inputs = inputs or {}
|
inputs = inputs or {}
|
||||||
assert app_config.prompt_template.simple_prompt_template
|
instruction = app_config.prompt_template.simple_prompt_template or ""
|
||||||
instruction = app_config.prompt_template.simple_prompt_template
|
|
||||||
self._instruction = self._fill_in_inputs_from_external_data_tools(instruction, inputs)
|
self._instruction = self._fill_in_inputs_from_external_data_tools(instruction, inputs)
|
||||||
|
|
||||||
iteration_step = 1
|
iteration_step = 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user