mirror of
https://github.com/langgenius/dify-plugin-sdks.git
synced 2026-08-25 12:29:32 -04:00
fix: update GitHub trigger plugin configuration
- Removed the MAX_REQUEST_TIMEOUT parameter from the Plugin initialization for default behavior. - Added a new section in the GitHub provider YAML file to specify the source of the Python implementation. These changes simplify the plugin setup and enhance the configuration clarity for the GitHub trigger integration.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from dify_plugin import DifyPluginEnv, Plugin
|
||||
|
||||
plugin = Plugin(DifyPluginEnv(MAX_REQUEST_TIMEOUT=120))
|
||||
plugin = Plugin(DifyPluginEnv())
|
||||
|
||||
if __name__ == "__main__":
|
||||
plugin.run()
|
||||
|
||||
@@ -86,6 +86,9 @@ subscription_constructor: # OPTIONAL
|
||||
zh_Hans: "Access Token"
|
||||
en_US: "Access Token"
|
||||
ja_JP: "アクセストークン"
|
||||
extra:
|
||||
python:
|
||||
source: provider/github.py
|
||||
|
||||
triggers:
|
||||
# Core Events (Consolidated)
|
||||
|
||||
Reference in New Issue
Block a user