mirror of
https://github.com/langgenius/dify-plugin-daemon.git
synced 2026-07-25 13:35:32 -04:00
3918b377f2
- Removed redundant flag retrieval in the plugin initialization process, simplifying the code. - Updated permission handling to use a single `permissionRequirement` structure for better clarity and maintainability. - Enhanced YAML templates by adding quotes around dynamic values to ensure proper formatting and prevent potential parsing issues.
27 lines
546 B
YAML
27 lines
546 B
YAML
identity:
|
|
name: {{ .PluginName }}
|
|
author: {{ .Author }}
|
|
label:
|
|
en_US: "{{ .PluginName | SnakeToCamel }}"
|
|
description:
|
|
en_US: "{{ .PluginName | SnakeToCamel }}"
|
|
parameters:
|
|
- name: model
|
|
type: model-selector
|
|
scope: tool-call&llm
|
|
required: true
|
|
label:
|
|
en_US: Model
|
|
zh_Hans: 模型
|
|
pt_BR: Model
|
|
- name: tools
|
|
type: array[tools]
|
|
required: true
|
|
label:
|
|
en_US: Tools list
|
|
zh_Hans: 工具列表
|
|
pt_BR: Tools list
|
|
extra:
|
|
python:
|
|
source: strategies/{{ .PluginName }}.py
|