[PR #1218] [MERGED] # [update]: bugfix when handle missing LLM parameters to avoid default value errors #1466

Closed
opened 2026-02-22 17:58:48 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugins/pull/1218
Author: @dadastory
Created: 9/9/2025
Status: Merged
Merged: 9/10/2025
Merged by: @crazywoola

Base: mainHead: main


📝 Commits (3)

  • a1c5390 # fix: handle missing LLM parameters to avoid default value errors
  • 4a134a7 # fix: handle missing LLM parameters to avoid default value errors
  • 7332e18 # update version

📊 Changes

1 file changed (+0 additions, -0 deletions)

View changed files

📝 dadastory/lightrag/lightrag-0.0.2.difypkg (+0 -0)

📄 Description

bugfix: handle missing LLM parameters to avoid default value errors

Previously, when LLM parameters (e.g., temperature, top_p, etc.) were not
explicitly set, the code attempted to use invalid default values, leading
to runtime errors. This commit adds proper default handling and validation
to ensure safe parameter initialization.

Plugin Submission Form

1. Metadata

2. Submission Type

  • New plugin submission
  • Version update for existing plugin

3. Description

bugfix

4. Checklist

  • I have read and followed the Publish to Dify Marketplace guidelines
  • I have read and comply with the Plugin Developer Agreement
  • I confirm my plugin works properly on both Dify Community Edition and Cloud Version
  • I confirm my plugin has been thoroughly tested for completeness and functionality
  • My plugin brings new value to Dify

5. Documentation Checklist

Please confirm that your plugin README includes all necessary information:

  • Step-by-step setup instructions
  • Detailed usage instructions
  • All required APIs and credentials are clearly listed
  • Connection requirements and configuration details
  • Link to the repository for the plugin source code

6. Privacy Protection Information

This plugin does not collect, store, or share any personal data from users. All user inputs are processed in real-time and not stored on our servers.

Data Collection

This plugin does not collect, store, or share any personal data from users. All user inputs are processed in real-time and not stored on our servers.

Privacy Policy

  • I confirm that I have prepared and included a privacy policy in my plugin package based on the Plugin Privacy Protection Guidelines

🔄 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-plugins/pull/1218 **Author:** [@dadastory](https://github.com/dadastory) **Created:** 9/9/2025 **Status:** ✅ Merged **Merged:** 9/10/2025 **Merged by:** [@crazywoola](https://github.com/crazywoola) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (3) - [`a1c5390`](https://github.com/langgenius/dify-plugins/commit/a1c539034ec3fbed8e80c4facc293677724f1fca) # fix: handle missing LLM parameters to avoid default value errors - [`4a134a7`](https://github.com/langgenius/dify-plugins/commit/4a134a7fb69615b0cf5ea14ef8a322dcf689bef7) # fix: handle missing LLM parameters to avoid default value errors - [`7332e18`](https://github.com/langgenius/dify-plugins/commit/7332e18fd20413b0866e5868e8652448cf16af9d) # update version ### 📊 Changes **1 file changed** (+0 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `dadastory/lightrag/lightrag-0.0.2.difypkg` (+0 -0) </details> ### 📄 Description bugfix: handle missing LLM parameters to avoid default value errors Previously, when LLM parameters (e.g., temperature, top_p, etc.) were not explicitly set, the code attempted to use invalid default values, leading to runtime errors. This commit adds proper default handling and validation to ensure safe parameter initialization. # Plugin Submission Form ## 1. Metadata <!-- Please provide the following metadata of your plugin to make it easier for the reviewer to check the changes. - Plugin Author : The author of the plugin which is defined in your manifest.yaml - Plugin Name : The name of the plugin which is defined in your manifest.yaml - Repository URL: The URL of the repository where the source code of your plugin is hosted --> - **Plugin Author**: dadastory - **Plugin Name**: lightrag - **Repository URL**: https://github.com/dadastory/dify-plugin-lightrag ## 2. Submission Type - [ ] New plugin submission - [x] Version update for existing plugin ## 3. Description <!-- Please briefly describe the purpose of the new plugin or the updates made to the existing plugin --> bugfix ## 4. Checklist - [x] I have read and followed the Publish to Dify Marketplace guidelines - [x] I have read and comply with the Plugin Developer Agreement - [x] I confirm my plugin works properly on both Dify Community Edition and Cloud Version - [x] I confirm my plugin has been thoroughly tested for completeness and functionality - [x] My plugin brings new value to Dify ## 5. Documentation Checklist Please confirm that your plugin README includes all necessary information: - [x] Step-by-step setup instructions - [x] Detailed usage instructions - [x] All required APIs and credentials are clearly listed - [x] Connection requirements and configuration details - [x] Link to the repository for the plugin source code ## 6. Privacy Protection Information This plugin does not collect, store, or share any personal data from users. All user inputs are processed in real-time and not stored on our servers. ### Data Collection This plugin does not collect, store, or share any personal data from users. All user inputs are processed in real-time and not stored on our servers. ### Privacy Policy - [x] I confirm that I have prepared and included a privacy policy in my plugin package based on the Plugin Privacy Protection Guidelines --- <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-22 17:58:48 -05:00
yindo closed this issue 2026-02-22 17:58:48 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugins#1466