Merge branch 'fix/chore-fix' into dev/plugin-deploy

This commit is contained in:
Yeuoly 2024-11-29 16:49:18 +08:00
commit 48c9a25393
No known key found for this signature in database
GPG Key ID: A66E7E320FB19F61
1 changed files with 1 additions and 2 deletions

View File

@ -59,8 +59,7 @@ class CotAgentRunner(BaseAgentRunner, ABC):
# init instruction
inputs = inputs or {}
assert app_config.prompt_template.simple_prompt_template
instruction = app_config.prompt_template.simple_prompt_template
instruction = app_config.prompt_template.simple_prompt_template or ""
self._instruction = self._fill_in_inputs_from_external_data_tools(instruction, inputs)
iteration_step = 1