dify icon indicating copy to clipboard operation
dify copied to clipboard

unable to fetch CoT agent runner log

Open sinomoe opened this issue 10 months ago • 1 comments

Self Checks

  • [X] This is only for bug report, if you would like to ask a quesion, please head to Discussions.
  • [X] I have searched for existing issues search for existing issues, including closed ones.
  • [X] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [X] Pleas do not modify this template :) and fill in all the required fields.

Dify version

0.6.5

Cloud or Self Hosted

Self Hosted (Source)

Steps to reproduce

image

I am using a locally provided Ollama model in agent mode, and this model does not have a model_features definition. As a result, dify will utilize the CotChatAgentRunner to execute the chat process, finnaly saving the "agent logs".

image image

I observed that the CotChatAgentRunner saved "agent logs" in a format that differs from how the AgentLogApi retrieves logs from the database. which might lead to the issue

image

✔️ Expected Behavior

show agent logs

❌ Actual Behavior

api error occured

sinomoe avatar May 02 '24 07:05 sinomoe

Hey there, @sinomoe! 🚀 I'm Dosu, your friendly bot sidekick here to help you squash bugs, answer your burning questions, and guide you on your way to becoming a stellar contributor. While we wait for a human maintainer to join us, know that I'm here, diving into your issue to get you the support you need. Hang tight, and I'll be back with more info shortly! 🤖✨

dosubot[bot] avatar May 02 '24 07:05 dosubot[bot]