mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-22 01:55:27 -04:00
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 #149
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jasoncym on GitHub (Mar 29, 2025).
Self Checks
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
@dosubot[bot] commented on GitHub (Mar 29, 2025):
Hey @jasoncym! 👋 I'm here to help you with any bugs, questions, or contributions while you wait for a human maintainer. Let's squash those bugs together!
The issue you're experiencing with the
json_schemaoutput format in Gemini version 0.8, where the output includes the ```json identifier, seems to be a change from the previous version 0.5. Unfortunately, I couldn't find specific details about this change in the repository or documentation.To address this, you might consider using JSON Schema to customize and stabilize the JSON output format. By defining a JSON Schema structure, you can ensure that the output strictly adheres to the defined data structure, potentially avoiding unexpected changes like the inclusion of the ```json identifier. You can enable JSON Schema in the settings and switch the
response_formatcolumn tojson_schemaformat to control the output format [1][2].Regarding accessing new models like the 2.5pro, I couldn't find specific steps in the repository. It might be worth checking if there are any updates or configurations available in the platform settings that allow you to access the latest models.
To continue talking to Dosu, mention @dosu.
Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other
@ct-03 commented on GitHub (Apr 1, 2025):
I already enable json schema, then i encounter another problem:
Gemini plugin version 0.1.1
Selfhost system
@dosubot[bot] commented on GitHub (Aug 18, 2025):
Hi, @jasoncym. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.
Issue Summary:
What's Next:
Thanks for your understanding and contribution!