From fcf72d5fafbe3671ba94b92d566952909c567975 Mon Sep 17 00:00:00 2001 From: Rodrigo Rodriguez Date: Thu, 19 Sep 2024 20:50:05 -0300 Subject: [PATCH] fix (templates): ai-search OK. Fix themes. --- packages/core.gbapp/services/GBMinService.ts | 1 - templates/ai-search.gbai/ai-search.gbot/config.csv | 2 +- templates/talk-to-data.gbai/talk-to-data.gbot/config.csv | 5 +++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/core.gbapp/services/GBMinService.ts b/packages/core.gbapp/services/GBMinService.ts index dfde0b60..47b771ba 100644 --- a/packages/core.gbapp/services/GBMinService.ts +++ b/packages/core.gbapp/services/GBMinService.ts @@ -687,7 +687,6 @@ export class GBMinService { if (instance === null) { instance = await this.core.loadInstanceByActivationCode(botId); } - GBLogEx.info(instance.instanceId, `New user: ${req.body?.user?.id}.`); if (instance !== null) { // Gets the webchat token, speech token and theme. diff --git a/templates/ai-search.gbai/ai-search.gbot/config.csv b/templates/ai-search.gbai/ai-search.gbot/config.csv index 2ae13f67..6dd2dd8b 100644 --- a/templates/ai-search.gbai/ai-search.gbot/config.csv +++ b/templates/ai-search.gbai/ai-search.gbot/config.csv @@ -1,4 +1,4 @@ name,value Answer Mode,document-ref -Theme Color,blue +Theme Color,green Start Dialog, start \ No newline at end of file diff --git a/templates/talk-to-data.gbai/talk-to-data.gbot/config.csv b/templates/talk-to-data.gbai/talk-to-data.gbot/config.csv index b5f99f48..09d1d7a1 100644 --- a/templates/talk-to-data.gbai/talk-to-data.gbot/config.csv +++ b/templates/talk-to-data.gbai/talk-to-data.gbot/config.csv @@ -1,4 +1,5 @@ name,value -Answer Mode,sql +Answer Mode,chart llm File,northwind.db -llm Driver,sqlite \ No newline at end of file +llm Driver,sqlite +Theme Color,yellow \ No newline at end of file