OpenAI compatible API JSON format error #1281

Closed
opened 2026-02-21 17:31:45 -05:00 by yindo · 0 comments
Owner

Originally created by @sideef5ect on GitHub (Mar 9, 2024).

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • Pleas do not modify this template :) and fill in all the required fields.

Dify version

0.5.8

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

  1. add groq api https://api.groq.com/openai/v1
    image
  2. send message to model

✔️ Expected Behavior

Should work without problem.

Actual Behavior

image ****
Originally created by @sideef5ect on GitHub (Mar 9, 2024). ### Self Checks - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] Pleas do not modify this template :) and fill in all the required fields. ### Dify version 0.5.8 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce 1. add groq api `https://api.groq.com/openai/v1` <img width="650" alt="image" src="https://github.com/langgenius/dify/assets/33738071/3d22b71f-1c92-4689-9e70-c3a1b4076b4c"> 2. send message to model ### ✔️ Expected Behavior Should work without problem. ### ❌ Actual Behavior <img width="1022" alt="image" src="https://github.com/langgenius/dify/assets/33738071/d947d5d6-7a43-442f-8d0b-a4677ecdd9c4"> ****
yindo added the 🐞 bug label 2026-02-21 17:31:45 -05:00
yindo closed this issue 2026-02-21 17:31:45 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#1281