feat:支持以html预览prompt log

This commit is contained in:
SengokuCola
2026-04-04 15:27:57 +08:00
parent fd59724e5c
commit 4b5ba4579c
2 changed files with 437 additions and 1 deletions

View File

@@ -1042,6 +1042,15 @@ class DebugConfig(ConfigBase):
)
"""是否显示回复器推理"""
fold_maisaka_thinking: bool = Field(
default=True,
json_schema_extra={
"x-widget": "switch",
"x-icon": "minimize-2",
},
)
"""是否折叠 Maisaka 的 prompt 展示入口"""
show_jargon_prompt: bool = Field(
default=False,
json_schema_extra={