mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
OpenAI-API-compatible plugin adds models successfully but does not see them in the list #73
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 @fyt135 on GitHub (Mar 13, 2025).
Self Checks
Dify version
1.0.1
Plugin version
0.0.7
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
✔️ Error log
No response
@fyt135 commented on GitHub (Mar 13, 2025):
@fyt135 commented on GitHub (Mar 13, 2025):
It was deployed based on this project below
https://github.com/LuckLittleBoy/SenseVoice-OneApi
@caolicaoli commented on GitHub (Mar 13, 2025):
also error:
org.springframework.ai.retry.TransientAiException: 500 - {"code":-500,"message":"{"message":"{\"args\":{},\"error_type\":\"TypeError\",\"message\":\"dify_plugin.entities.model.llm.LLMModelConfig() got multiple values for keyword argument 'completion_params'\"}","error_type":"PluginDaemonInternalServerError","args":null}","data":null}
改一下代码就行了:
把
model_config=LLMModelConfig(
completion_params=llm.get("completion_params", {}), **llm
)
改成
model_config=LLMModelConfig(**llm)
@dosubot[bot] commented on GitHub (Aug 16, 2025):
Hi, @fyt135. 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!