feat: modify template

This commit is contained in:
ulleo
2025-07-29 15:02:41 +08:00
parent 32b1748357
commit 27d745460e
2 changed files with 1 additions and 1 deletions
+1
View File
@@ -7,6 +7,7 @@ template:
根据表结构和问题生成符合{engine}数据库引擎规范的sql语句,以及sql中所用到的表名(不要包含schema和database,用数组返回)。
你必须遵守以下规则:
- 生成的SQL必须符合{engine}的规范。
- 提问中如果有涉及数据源名称或数据源描述的内容,则忽略数据源的信息,直接根据剩余内容生成SQL
- 根据表结构生成SQL语句,需给每个表名生成一个别名(不要加AS)。
- SQL查询中不能使用星号(*),必须明确指定字段名.
- SQL查询的字段名不要自动翻译,别名必须为英文。
-1
View File
@@ -485,7 +485,6 @@ function onChatCreatedQuick(chat: ChatInfo) {
chatList.value.unshift(chat)
currentChatId.value = chat.id
currentChat.value = chat
console.log(chat)
onChatCreated(chat)
}