Skip to content

Commit 0f966af

Browse files
committed
fix: update dependencies for @adminforth/agent and @adminforth/audio-adapter-openai; add defaultVoice and defaultSpeed to AdminForthAgent
1 parent ad3778e commit 0f966af

3 files changed

Lines changed: 12 additions & 10 deletions

File tree

live-demo/app/package-lock.json

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

live-demo/app/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
"author": "",
1717
"description": "",
1818
"dependencies": {
19-
"@adminforth/agent": "^1.38.0",
20-
"@adminforth/audio-adapter-openai": "^1.0.1",
19+
"@adminforth/agent": "^1.39.1",
20+
"@adminforth/audio-adapter-openai": "^1.2.0",
2121
"@adminforth/audit-log": "^1.9.18",
2222
"@adminforth/background-jobs": "^1.11.4",
2323
"@adminforth/bulk-ai-flow": "^1.24.3",

live-demo/app/resources/users.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ export default {
5353
new AdminForthAgent({
5454
audioAdapter: new OpenAIAudioAdapter({
5555
apiKey: openAiApiKey,
56+
defaultVoice: 'alloy',
57+
defaultSpeed: 1.5,
5658
}),
5759
placeholderMessages: async ({ httpExtra }: any) => getLocalizedPlaceholderMessages({
5860
completionAdapter: fastCompletionAdapter as any,

0 commit comments

Comments
 (0)