mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
duplicate method in class GiteeAILargeLanguageModel in models/gitee_ai/models/llm/llm.py #238
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 @wangjianming on GitHub (Apr 29, 2025).
Self Checks
Dify version
1.3.1
Plugin version
NA
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
There are two definitions of validate_credentials in the same class. So the first is no used.
In the validate_credentials method, the line self.validate_credentials(model, credentials) calls the same method recursively without an end condition.
✔️ Error log
No response
@wangjianming commented on GitHub (Apr 29, 2025):
This issue is only caused by some extra, unused interfering code, but it doesn't affect the actual functionality. I accidentally added the bug label, and it seems I can't remove it now.