feat: 优化输入框placeholder动态显示逻辑,支持基于知识库和网络搜索状态的个性化提示

This commit is contained in:
wizardchen
2025-12-22 12:11:09 +08:00
committed by lyingbug
parent 58ae0d8350
commit 1ac663fc3f
8 changed files with 146 additions and 14 deletions
+3 -1
View File
@@ -748,8 +748,10 @@ export default {
},
input: {
addModel: 'Add Model',
placeholder: 'Ask questions based on the knowledge base',
placeholder: 'Ask questions directly to the model',
placeholderWithContext: 'Enter your question, will answer based on selected knowledge bases/files above',
placeholderWebOnly: 'Enter your question, will answer with web search',
placeholderKbAndWeb: 'Enter your question, will answer based on knowledge base and web search',
agentMode: 'Agent Mode',
normalMode: 'Normal Mode',
normalModeDesc: 'Knowledge base RAG Q&A',