Skip to content

Commit a249f52

Browse files
authored
Fix agent snippet (#171)
1 parent 38640c3 commit a249f52

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/tutorials/agents.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ If you are using the server SDKs, then creating an agent and defining its behavi
125125

126126
const fishjamClient = new FishjamClient({ fishjamId, managementToken });
127127

128-
const agent = await fishjamClient.createAgent(
128+
const { agent } = await fishjamClient.createAgent(
129129
roomId,
130130
{},
131131
console.error,

versioned_docs/version-0.21.0/tutorials/agents.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ If you are using the server SDKs, then creating an agent and defining its behavi
125125

126126
const fishjamClient = new FishjamClient({ fishjamId, managementToken });
127127

128-
const agent = await fishjamClient.createAgent(
128+
const { agent } = await fishjamClient.createAgent(
129129
roomId,
130130
{},
131131
console.error,

0 commit comments

Comments
 (0)