File tree Expand file tree Collapse file tree
src/commands/agent/generate Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ type BotTemplateExt = {
3131 botDialogGroups ?: BotDialogGroup [ ] ;
3232 conversationGoals ?: ConversationDefinitionGoal [ ] ;
3333 conversationVariables ?: ConversationVariable [ ] ;
34- role ?: string ;
3534 } ;
3635} ;
3736
@@ -40,7 +39,7 @@ type BotExt = {
4039} ;
4140
4241type BotVersionExt = {
43- BotVersion : BotVersion & { role ?: string } ;
42+ BotVersion : BotVersion ;
4443} ;
4544
4645Messages . importMessagesDirectoryFromMetaUrl ( import . meta. url ) ;
@@ -132,7 +131,7 @@ const convertBotToBotTemplate = (
132131 botFilePath : string
133132) : BotTemplateExt => {
134133 const entryDialog = botVersionJson . BotVersion . entryDialog ;
135- const { conversationSystemDialogs, role } = botVersionJson . BotVersion ;
134+ const { conversationSystemDialogs } = botVersionJson . BotVersion ;
136135
137136 // We need to pull the botDialog from the BotVersion file that matches the entryDialog
138137 // This will be added to the BotTemplate
@@ -170,7 +169,6 @@ const convertBotToBotTemplate = (
170169 entryDialogJson ,
171170 ] ,
172171 conversationSystemDialogs,
173- role,
174172 entryDialog,
175173 mlDomain,
176174 ...bot . Bot ,
You can’t perform that action at this time.
0 commit comments