[PR #1605] [MERGED] fix(feat/datasource): bump sdk version to support new ref format for output schema #1983

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

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-official-plugins/pull/1605
Author: @kurokobo
Created: 8/28/2025
Status: Merged
Merged: 8/28/2025
Merged by: @crazywoola

Base: feat/datasourceHead: ref


📝 Commits (1)

  • 60ec2ca fix(feat/datasource): bump sdk version to support new ref format for output schema

📊 Changes

6 files changed (+6 additions, -6 deletions)

View changed files

📝 tools/general_chunk/manifest.yaml (+1 -1)
📝 tools/general_chunk/requirements.txt (+1 -1)
📝 tools/parent_child_chunk/manifest.yaml (+1 -1)
📝 tools/parent_child_chunk/requirements.txt (+1 -1)
📝 tools/qa_chunk/manifest.yaml (+1 -1)
📝 tools/qa_chunk/requirements.txt (+1 -1)

📄 Description

Related Issues or Context

NOTE: This is intended for the feat/datasource branch, not for main.

New $ref: "https://..." format does not work with old SDK version.
This PR bumps SDK version for the plugin which has new ref format and uses old SDK version.

Follow-up for: https://github.com/langgenius/dify-official-plugins/commit/4a3f0478c8c224114e9f2937fd048bed2bacffb9

2025/08/28 13:44:59 run.go:135: [ERROR]plugin langgenius/general_chunker:0.0.2 exited with error: exit status 1

luginRegistration(config)

                        ^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/app/cwd/langgenius/general_chunker-0.0.2@8c2f309e9d67a472dad1e9d1e8d1de89249859551b60682f545c7c5ba6bb344a/.venv/lib/python3.12/site-packages/dify_plugin/core/plugin_registration.py", line 127, in __init__

    self._load_plugin_configuration()


  File "/app/cwd/langgenius/general_chunker-0.0.2@8c2f309e9d67a472dad1e9d1e8d1de89249859551b60682f545c7c5ba6bb344a/.venv/lib/python3.12/site-packages/dify_plugin/core/plugin_registration.py", line 174, in _load_plugin_configuration


    raise ValueError(f"Error loading plugin configuration: {e!s}") from e

ValueError: Error loading plugin configuration: 1 validation error for ToolProviderConfiguration

tools

  Value error, Error loading tool configuration: Unsupported reference format: [https://dify.ai/schemas/v1/general_structure.json⁠](https://dify.ai/schemas/v1/general_structure.json) [type=value_error, input_value=['tools/general.yaml'], input_type=list]

    For further information visit [https://errors.pydantic.dev/2.11/v/value_error⁠](https://errors.pydantic.dev/2.11/v/value_error)

🔄 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/1605 **Author:** [@kurokobo](https://github.com/kurokobo) **Created:** 8/28/2025 **Status:** ✅ Merged **Merged:** 8/28/2025 **Merged by:** [@crazywoola](https://github.com/crazywoola) **Base:** `feat/datasource` ← **Head:** `ref` --- ### 📝 Commits (1) - [`60ec2ca`](https://github.com/langgenius/dify-official-plugins/commit/60ec2cacc103dfc8767789084ee6b28b71ef0c68) fix(feat/datasource): bump sdk version to support new ref format for output schema ### 📊 Changes **6 files changed** (+6 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `tools/general_chunk/manifest.yaml` (+1 -1) 📝 `tools/general_chunk/requirements.txt` (+1 -1) 📝 `tools/parent_child_chunk/manifest.yaml` (+1 -1) 📝 `tools/parent_child_chunk/requirements.txt` (+1 -1) 📝 `tools/qa_chunk/manifest.yaml` (+1 -1) 📝 `tools/qa_chunk/requirements.txt` (+1 -1) </details> ### 📄 Description ## Related Issues or Context NOTE: This is intended for the ✨ **feat/datasource** branch, not for **main**. New `$ref: "https://..."` format does not work with old SDK version. This PR bumps SDK version for the plugin which has new ref format and uses old SDK version. Follow-up for: https://github.com/langgenius/dify-official-plugins/commit/4a3f0478c8c224114e9f2937fd048bed2bacffb9 ```bash 2025/08/28 13:44:59 run.go:135: [ERROR]plugin langgenius/general_chunker:0.0.2 exited with error: exit status 1 luginRegistration(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/cwd/langgenius/general_chunker-0.0.2@8c2f309e9d67a472dad1e9d1e8d1de89249859551b60682f545c7c5ba6bb344a/.venv/lib/python3.12/site-packages/dify_plugin/core/plugin_registration.py", line 127, in __init__ self._load_plugin_configuration() File "/app/cwd/langgenius/general_chunker-0.0.2@8c2f309e9d67a472dad1e9d1e8d1de89249859551b60682f545c7c5ba6bb344a/.venv/lib/python3.12/site-packages/dify_plugin/core/plugin_registration.py", line 174, in _load_plugin_configuration raise ValueError(f"Error loading plugin configuration: {e!s}") from e ValueError: Error loading plugin configuration: 1 validation error for ToolProviderConfiguration tools Value error, Error loading tool configuration: Unsupported reference format: [https://dify.ai/schemas/v1/general_structure.json⁠](https://dify.ai/schemas/v1/general_structure.json) [type=value_error, input_value=['tools/general.yaml'], input_type=list] For further information visit [https://errors.pydantic.dev/2.11/v/value_error⁠](https://errors.pydantic.dev/2.11/v/value_error) ``` --- <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 11:15:46 -05:00
yindo closed this issue 2026-02-16 11:15:47 -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#1983