Skip to content

Commit 6dd52c1

Browse files
committed
fix: use emojis in ascii flow diagram to work around api extractor warnings
Warning: src/hooks/useAgent.ts:31:18 - (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag Warning: src/hooks/useAgent.ts:31:31 - (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag Warning: src/hooks/useAgent.ts:34:18 - (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag Warning: src/hooks/useAgent.ts:34:34 - (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag Warning: src/hooks/useAgent.ts:37:18 - (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag Warning: src/hooks/useAgent.ts:37:44 - (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag Warning: src/hooks/useAgent.ts:40:20 - (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag Warning: src/hooks/useAgent.ts:40:34 - (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag Warning: src/hooks/useAgent.ts:40:50 - (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
1 parent ea42c88 commit 6dd52c1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/react/src/hooks/useAgent.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,16 @@ type AgentSdkStates = 'initializing' | 'idle' | 'listening' | 'thinking' | 'spea
2828
* State representing the current status of the agent, whether it is ready for speach, etc
2929
*
3030
* For most agents (which have the preconnect audio buffer feature enabled), this is the lifecycle:
31-
* connecting -> listening -> initializing/listening/thinking/speaking
31+
* connecting ➡️ listening ➡️ initializing/listening/thinking/speaking
3232
*
3333
* For agents without the preconnect audio feature enabled:
34-
* connecting -> initializing -> idle/listening/thinking/speaking
34+
* connecting ➡️ initializing ➡️ idle/listening/thinking/speaking
3535
*
3636
* If an agent fails to connect:
37-
* connecting -> listening/initializing -> failed
37+
* connecting ➡️ listening/initializing ➡️ failed
3838
*
3939
* Legacy useVoiceAssistant hook:
40-
* disconnected -> connecting -> initializing -> listening/thinking/speaking
40+
* disconnected ➡️ connecting ➡️ initializing ➡️ listening/thinking/speaking
4141
*
4242
* @public
4343
* */

0 commit comments

Comments
 (0)