Skip to content
This repository was archived by the owner on Jun 30, 2022. It is now read-only.

Commit e981e1d

Browse files
Batta32darrenj
authored andcommitted
[Virtual Assistant Template][TypeScript] Update template behavior (#1337)
* Update dialogs * Update responses * Update locales * Move template manager resources into templateManager folder * Remove unnecessary files * Update references for template manager resources * Update README * Adapt behavior to the new structure of template assistant * Update of the middleware usage * Fix TSLint errors
1 parent 9a4ff27 commit e981e1d

File tree

1 file changed

+1
-0
lines changed
  • templates/Virtual-Assistant-Template/typescript/generator-botbuilder-assistant/generators/app/templates/customAssistant/src/adapters

1 file changed

+1
-0
lines changed

templates/Virtual-Assistant-Template/typescript/generator-botbuilder-assistant/generators/app/templates/customAssistant/src/adapters/defaultAdapter.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ export class DefaultAdapter extends BotFrameworkAdapter {
8989
this.use(new ShowTypingMiddleware());
9090
this.use(new SetLocaleMiddleware(settings.defaultLocale || 'en-us'));
9191
this.use(new EventDebuggerMiddleware());
92+
// Use the AutoSaveStateMiddleware middleware to automatically read and write conversation and user state.
9293
this.use(new AutoSaveStateMiddleware(this.conversationState, this.userState));
9394
}
9495
}

0 commit comments

Comments
 (0)