fix: resolve issue with cot_agent_runner not analyzing user-uploaded images correctly (#5360)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
This commit is contained in:
parent
4e3d76a1d1
commit
369a395ee9
2 changed files with 23 additions and 9 deletions
|
|
@ -61,8 +61,6 @@ class CotAgentRunner(BaseAgentRunner, ABC):
|
|||
# convert tools into ModelRuntime Tool format
|
||||
tool_instances, self._prompt_messages_tools = self._init_prompt_tools()
|
||||
|
||||
prompt_messages = self._organize_prompt_messages()
|
||||
|
||||
function_call_state = True
|
||||
llm_usage = {
|
||||
'usage': None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue