diff --git a/docs/chat.md b/docs/chat.md index e79e329bb..4d1417293 100644 --- a/docs/chat.md +++ b/docs/chat.md @@ -132,7 +132,7 @@ const changeUserName = ai.defineTool( await ai.currentSession().updateState({ userName: input.newUserName, }); - return 'changed username to ${input.newUserName}'; + return `changed username to ${input.newUserName}`; } ); ```