|
|
|
@ -63,7 +63,7 @@ class CotAgentRunner(BaseAgentRunner, ABC):
|
|
|
|
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
|
|
|
|
max_iteration_steps = max(app_config.agent.max_iteration if app_config.agent else 5, 5) + 1
|
|
|
|
max_iteration_steps = min(max(app_config.agent.max_iteration, 10), 99) + 1
|
|
|
|
|
|
|
|
|
|
|
|
# convert tools into ModelRuntime Tool format
|
|
|
|
# convert tools into ModelRuntime Tool format
|
|
|
|
tool_instances, prompt_messages_tools = self._init_prompt_tools()
|
|
|
|
tool_instances, prompt_messages_tools = self._init_prompt_tools()
|
|
|
|
|