@@ -7,8 +7,8 @@ interface ChatConfig {
77 sqlbot_name : string
88 expand_thinking_block : boolean
99 limit_rows : boolean
10- hide_sql : boolean
11- hide_log : boolean
10+ show_sql : boolean
11+ show_log : boolean
1212}
1313
1414export const chatConfigStore = defineStore ( 'chatConfigStore' , {
@@ -17,8 +17,8 @@ export const chatConfigStore = defineStore('chatConfigStore', {
1717 sqlbot_name : 'SQLBot' ,
1818 expand_thinking_block : false ,
1919 limit_rows : true ,
20- hide_sql : false ,
21- hide_log : false ,
20+ show_sql : true ,
21+ show_log : true ,
2222 }
2323 } ,
2424 getters : {
@@ -28,11 +28,11 @@ export const chatConfigStore = defineStore('chatConfigStore', {
2828 getExpandThinkingBlock ( ) : boolean {
2929 return this . expand_thinking_block
3030 } ,
31- getHideSQL ( ) : boolean {
32- return this . hide_sql
31+ getShowSQL ( ) : boolean {
32+ return this . show_sql
3333 } ,
34- getHideLog ( ) : boolean {
35- return this . hide_log
34+ getShowLog ( ) : boolean {
35+ return this . show_log
3636 } ,
3737 getLimitRows ( ) : boolean {
3838 return this . limit_rows
@@ -46,11 +46,11 @@ export const chatConfigStore = defineStore('chatConfigStore', {
4646 if ( item . pkey === 'chat.expand_thinking_block' ) {
4747 this . expand_thinking_block = formatArg ( item . pval )
4848 }
49- if ( item . pkey === 'chat.hide_sql ' ) {
50- this . hide_sql = formatArg ( item . pval )
49+ if ( item . pkey === 'chat.show_sql ' ) {
50+ this . show_sql = formatArg ( item . pval )
5151 }
52- if ( item . pkey === 'chat.hide_log ' ) {
53- this . hide_log = formatArg ( item . pval )
52+ if ( item . pkey === 'chat.show_log ' ) {
53+ this . show_log = formatArg ( item . pval )
5454 }
5555 if ( item . pkey === 'chat.limit_rows' ) {
5656 this . limit_rows = formatArg ( item . pval )
0 commit comments