Skip to content

Commit 2a4730f

Browse files
committed
live-demo: turn on audio adapter on live demo and install latest agent version
1 parent d0fb584 commit 2a4730f

3 files changed

Lines changed: 11 additions & 11 deletions

File tree

live-demo/app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"author": "",
1717
"description": "",
1818
"dependencies": {
19-
"@adminforth/agent": "^1.43.6",
19+
"@adminforth/agent": "^1.43.8",
2020
"@adminforth/audio-adapter-openai": "^1.2.0",
2121
"@adminforth/audit-log": "^1.9.18",
2222
"@adminforth/auto-remove": "^1.0.8",

live-demo/app/pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

live-demo/app/resources/users.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ const usersResource: AdminForthResourceInput = {
5151
foreignResourceId: 'audit_logs',
5252
}),
5353
new AdminForthAgent({
54-
// audioAdapter: new OpenAIAudioAdapter({
55-
// apiKey: openAiApiKey,
56-
// defaultVoice: 'alloy',
57-
// defaultSpeed: 1.25,
58-
// }),
54+
audioAdapter: new OpenAIAudioAdapter({
55+
apiKey: openAiApiKey,
56+
defaultVoice: 'alloy',
57+
defaultSpeed: 1.25,
58+
}),
5959
placeholderMessages: async ({ httpExtra }: any) => getLocalizedPlaceholderMessages({
6060
completionAdapter: fastCompletionAdapter as any,
6161
httpExtra,

0 commit comments

Comments
 (0)