Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: make ChatSQL response terse (#8116)

Tianzhou (天舟)1693c287e2a2
diff --git a/frontend/src/plugins/ai/components/ChatPanel.vue b/frontend/src/plugins/ai/components/ChatPanel.vue
index 1688bcf586..aeb829a138 100644
--- a/frontend/src/plugins/ai/components/ChatPanel.vue
+++ b/frontend/src/plugins/ai/components/ChatPanel.vue
@@ -73,6 +73,8 @@ const requestAI = async (query: string) => {
const engine = context.engine.value;
const databaseMetadata = context.databaseMetadata.value;
const prompts: string[] = [];
+ prompts.push(`### You are a db and SQL expert.`);
+ prompts.push(`### Your responses should be informative and terse.`);
if (engine) {
if (databaseMetadata) {
prompts.push(