[PR #450] [CLOSED] fix:LLMModelConfig() got multiple values for keyword argument 'comple… #1375

Closed
opened 2026-02-16 10:22:46 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-official-plugins/pull/450
Author: @yjc980121
Created: 3/13/2025
Status: Closed

Base: mainHead: fix-oaicompat_dify_model_006


📝 Commits (1)

  • fbd1b1f fix:LLMModelConfig() got multiple values for keyword argument 'completion_params'

📊 Changes

3 files changed (+7 additions, -8 deletions)

View changed files

📝 extensions/oaicompat_dify_model/endpoints/llm.py (+6 -7)
📝 extensions/oaicompat_dify_model/manifest.yaml (+1 -1)
📝 tools/llama_parse/test_file/hello.pdf (+0 -0)

📄 Description

now,the request,error message

{
"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
}

fix it


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify-official-plugins/pull/450 **Author:** [@yjc980121](https://github.com/yjc980121) **Created:** 3/13/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix-oaicompat_dify_model_006` --- ### 📝 Commits (1) - [`fbd1b1f`](https://github.com/langgenius/dify-official-plugins/commit/fbd1b1fb51f5c44b43457f90bd20f90d18993bfc) fix:LLMModelConfig() got multiple values for keyword argument 'completion_params' ### 📊 Changes **3 files changed** (+7 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `extensions/oaicompat_dify_model/endpoints/llm.py` (+6 -7) 📝 `extensions/oaicompat_dify_model/manifest.yaml` (+1 -1) 📝 `tools/llama_parse/test_file/hello.pdf` (+0 -0) </details> ### 📄 Description now,the request,error message { "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 } fix it --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 10:22:46 -05:00
yindo closed this issue 2026-02-16 10:22:46 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#1375