Files
LangBot/templates/metadata/pipeline/output.yaml
2025-05-14 16:44:48 +08:00

108 lines
2.9 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
name: output
label:
en_US: Output Processing
zh_Hans: 输出处理
stages:
- name: long-text-processing
label:
en_US: Long Text Processing
zh_Hans: 长文本处理
config:
- name: threshold
label:
en_US: Threshold
zh_Hans: 阈值
description:
en_US: The threshold of the long text
zh_Hans: 超过此长度的文本将被处理
type: integer
required: true
default: 1000
- name: strategy
label:
en_US: Strategy
zh_Hans: 策略
description:
en_US: The strategy of the long text
zh_Hans: 长文本的处理策略
type: select
required: true
default: forward
options:
- name: forward
label:
en_US: Forward Message Component
zh_Hans: 转换为转发消息组件(部分平台不支持)
- name: image
label:
en_US: Convert to Image
zh_Hans: 转换为图片
- name: font-path
label:
en_US: Font Path
zh_Hans: 字体路径
description:
en_US: The path of the font to be used when converting to image
zh_Hans: 选用转换为图片时,所使用的字体路径
type: string
required: false
default: ''
- name: force-delay
label:
en_US: Force Delay
zh_Hans: 强制延迟
description:
en_US: Force the output to be delayed for a while
zh_Hans: 强制延迟一段时间后再回复给用户
config:
- name: min
label:
en_US: Min Seconds
zh_Hans: 最小秒数
type: integer
required: true
default: 0
- name: max
label:
en_US: Max Seconds
zh_Hans: 最大秒数
type: integer
required: true
default: 0
- name: misc
label:
en_US: Misc
zh_Hans: 杂项
config:
- name: hide-exception
label:
en_US: Hide Exception
zh_Hans: 不输出异常信息给用户
type: boolean
required: true
default: true
- name: at-sender
label:
en_US: At Sender
zh_Hans: 在群聊回复中@发送者
type: boolean
required: true
default: true
- name: quote-origin
label:
en_US: Quote Origin Message
zh_Hans: 引用原消息
type: boolean
required: true
default: false
- name: track-function-calls
label:
en_US: Track Function Calls
zh_Hans: 跟踪函数调用
description:
en_US: If enabled, the function calls will be tracked and output to the user
zh_Hans: 启用后Agent 每次调用工具时都会输出一个提示给用户
type: boolean
required: true
default: false