dify icon indicating copy to clipboard operation
dify copied to clipboard

Gemini version 0.8 plug-in, output json_schema format, all have the ```json logo, and the previous version 0.5 did not have this problem

Open jasoncym opened this issue 1 year ago • 1 comments

Self Checks

  • [x] This is only for bug report, if you would like to ask a question, 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] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • [x] Please do not modify this template :) and fill in all the required fields.

Dify version

1.1.3

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Gemini version 0.8 plug-in, output json_schema format, all have the ```json logo, and the previous version 0.5 did not have this problem

Now only if you restore to version 0.5, you can use it normally. This problem is quite large and directly affects the workflow that requires json output.

✔️ Expected Behavior

I hope this kind of json output should not change at will. It is best to stabilize it. There are also updated models. Can they be pulled in real time? This time I originally wanted a new 2.5pro model, but unfortunately I haven't seen it yet.

❌ Actual Behavior

json_schema has been set, and when output, there is still a ```json identifier

jasoncym avatar Mar 29 '25 15:03 jasoncym