Skip to content

Commit ef7e61f

Browse files
fix: delete agentDSL/botSource from Bot
1 parent bb591e7 commit ef7e61f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/commands/agent/generate/template.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@ export type BotTemplateExt = {
3535
};
3636

3737
type BotExt = {
38-
Bot: Bot;
38+
Bot: Bot & {
39+
agentDSLEnabled?: boolean;
40+
botSource?: string;
41+
};
3942
};
4043

4144
type BotVersionExt = {
@@ -155,6 +158,8 @@ const convertBotToBotTemplate = (
155158
delete bot.Bot.botUser;
156159
delete bot.Bot.logPrivateConversationData;
157160
delete bot.Bot.sessionTimeout;
161+
delete bot.Bot.agentDSLEnabled;
162+
delete bot.Bot.botSource;
158163

159164
const botTemplate: BotTemplateExt = {
160165
'?xml': { '@_version': '1.0', '@_encoding': 'UTF-8' },

0 commit comments

Comments
 (0)