重构: 巨函数拆分 + 清理历史标记注释 + custom_prompt/停止按钮/tunnel 改进
This commit is contained in:
@@ -137,6 +137,10 @@ export default {
|
||||
labelShowTokenUsage: 'Show token usage',
|
||||
descShowTokenUsage: 'Show token consumption of each reply in conversations',
|
||||
|
||||
labelCustomPrompt: 'Custom prompt',
|
||||
descCustomPrompt: 'Appended to the AI system prompt to customize AI behavior',
|
||||
placeholderCustomPrompt: 'e.g.: You specialize in Rust development questions...',
|
||||
|
||||
labelStreamingMd: 'Streaming Markdown rendering',
|
||||
descStreamingMd: 'Render code blocks/lists/headings during streaming (unclosed code blocks degrade to plain text to avoid flicker); when off, only plain text is shown during streaming and full formatting applies after generation completes',
|
||||
|
||||
|
||||
@@ -137,6 +137,10 @@ export default {
|
||||
labelShowTokenUsage: '显示 Token 用量',
|
||||
descShowTokenUsage: '在对话中展示每次回复的 token 消耗',
|
||||
|
||||
labelCustomPrompt: '自定义提示词',
|
||||
descCustomPrompt: '追加到 AI 系统提示词末尾,可自定义 AI 行为偏好',
|
||||
placeholderCustomPrompt: '例如:你擅长回答 Rust 开发问题...',
|
||||
|
||||
labelStreamingMd: '流式 Markdown 渲染',
|
||||
descStreamingMd: '流式生成过程中渲染代码块/列表/标题格式(未闭合代码块降级纯文本防闪烁);关闭后流式期间仅显纯文本,生成完成后才渲染完整格式',
|
||||
|
||||
|
||||
Reference in New Issue
Block a user