code_based_extension代码扩展无法正常使用 #2590

Closed
opened 2026-02-21 17:47:39 -05:00 by yindo · 0 comments
Owner

Originally created by @yousole on GitHub (Apr 24, 2024).

Self Checks

  • This is only for bug report, if you would like to ask a quesion, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • Pleas do not modify this template :) and fill in all the required fields.

Dify version

0.6.4

Cloud or Self Hosted

Self Hosted (Source)

Steps to reproduce

参考官方文档https://docs.dify.ai/v/zh-hans/guides/application-design/extension/code_based_extension/external_data_tool

✔️ Expected Behavior

代码扩展正常使用

Actual Behavior

后台报错。
调试发现代码api/core/extension/extensible.py中的ef scan_extensions(cls):函数中的position = None,若改成position = 1则正常使用

Originally created by @yousole on GitHub (Apr 24, 2024). ### Self Checks - [X] This is only for bug report, if you would like to ask a quesion, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] Pleas do not modify this template :) and fill in all the required fields. ### Dify version 0.6.4 ### Cloud or Self Hosted Self Hosted (Source) ### Steps to reproduce 参考官方文档https://docs.dify.ai/v/zh-hans/guides/application-design/extension/code_based_extension/external_data_tool ### ✔️ Expected Behavior 代码扩展正常使用 ### ❌ Actual Behavior 后台报错。 调试发现代码api/core/extension/extensible.py中的ef scan_extensions(cls):函数中的position = None,若改成position = 1则正常使用
yindo closed this issue 2026-02-21 17:47:39 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#2590