mirror of
https://github.com/langgenius/dify-plugin-daemon.git
synced 2026-07-22 09:45:27 -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.
31 lines
758 B
YAML
31 lines
758 B
YAML
identity:
|
|
name: "{{ .PluginName }}"
|
|
author: "{{ .Author }}"
|
|
label:
|
|
en_US: "{{ .PluginName }}"
|
|
zh_Hans: "{{ .PluginName }}"
|
|
pt_BR: "{{ .PluginName }}"
|
|
description:
|
|
human:
|
|
en_US: "{{ .PluginDescription }}"
|
|
zh_Hans: "{{ .PluginDescription }}"
|
|
pt_BR: "{{ .PluginDescription }}"
|
|
llm: "{{ .PluginDescription }}"
|
|
parameters:
|
|
- name: query
|
|
type: string
|
|
required: true
|
|
label:
|
|
en_US: Query string
|
|
zh_Hans: 查询语句
|
|
pt_BR: Query string
|
|
human_description:
|
|
en_US: "{{ .PluginDescription }}"
|
|
zh_Hans: "{{ .PluginDescription }}"
|
|
pt_BR: "{{ .PluginDescription }}"
|
|
llm_description: "{{ .PluginDescription }}"
|
|
form: llm
|
|
extra:
|
|
python:
|
|
source: tools/{{ .PluginName }}.py
|