mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
Why doesn't the openai_api_compatible API use the OpenAI SDK for invocation? #170
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 @bluepeople1 on GitHub (Apr 3, 2025).
Self Checks
Dify version
v1.1.3
Plugin version
0.0.11
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
mplementing an OpenAI-compatible API yourself can lead to inconsistencies with the official implementation, causing issues during invocation. For example, in streaming, the official OpenAI API automatically splits streams based on \n\n, \r\n\r\n, and \r\r, whereas your own implementation fails to achieve full compatibility with the official behavior.
✔️ Error log
No response
@Hisir0909 commented on GitHub (Apr 7, 2025):
Excellent question, I've been wanting to ask that myself for a long time.
非常好的问题,我也早想问了
@dosubot[bot] commented on GitHub (Aug 16, 2025):
Hi, @bluepeople1. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.
Issue Summary:
Next Steps:
Thank you for your understanding and contribution!