fix(GBMinService): comment out file writing to prevent overwriting bot manifest

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2025-04-17 16:21:02 -03:00
parent 7140f041c8
commit c872766664
2 changed files with 2 additions and 2 deletions

View file

@ -424,7 +424,7 @@ export class GBMinService {
const packageTeams = urlJoin(`work`, GBUtil.getGBAIPath(instance.botId), manifest);
if (!(await GBUtil.exists(packageTeams))) {
const data = await this.deployer.getBotManifest(instance);
await fs.writeFile(packageTeams, data);
//await fs.writeFile(packageTeams, data);
}
// Serves individual URL for each bot user interface.

View file

@ -2,7 +2,7 @@ TALK "What is the case number?"
HEAR cod
text = GET "case-" + cod + ".pdf"
IF text THEN
IF text THEN
text = "Based on this document, answer the person's questions:\n\n" + text
SET CONTEXT text