Skip to content

Commit 37894f3

Browse files
committed
fix: adjust comment language
1 parent f68bd79 commit 37894f3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/react/src/hooks/useAgent.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ type AgentStateAvailable = AgentInstanceCommon & {
6767
/** Is the agent ready for user interaction? */
6868
isAvailable: true;
6969

70-
/** Is the audio preconnect buffer currently available? */
70+
/** Is the audio preconnect buffer currently active and recording? */
7171
isPreConnectBufferEnabled: false;
7272

7373
cameraTrack: TrackReference | null;
@@ -81,7 +81,7 @@ type AgentStateAvailableListening = AgentInstanceCommon & {
8181
/** Is the agent ready for user interaction? */
8282
isAvailable: true;
8383

84-
/** Is the audio preconnect buffer currently available? */
84+
/** Is the audio preconnect buffer currently active and recording? */
8585
isPreConnectBufferEnabled: boolean;
8686

8787
cameraTrack: TrackReference | null;
@@ -95,7 +95,7 @@ type AgentStateUnAvailable = AgentInstanceCommon & {
9595
/** Is the agent ready for user interaction? */
9696
isAvailable: false;
9797

98-
/** Is the audio preconnect buffer currently available? */
98+
/** Is the audio preconnect buffer currently active and recording? */
9999
isPreConnectBufferEnabled: false;
100100

101101
cameraTrack: TrackReference | null;
@@ -109,7 +109,7 @@ type AgentStateConnecting = AgentInstanceCommon & {
109109
/** Is the agent ready for user interaction? */
110110
isAvailable: false;
111111

112-
/** Is the audio preconnect buffer currently available? */
112+
/** Is the audio preconnect buffer currently active and recording? */
113113
isPreConnectBufferEnabled: false;
114114

115115
cameraTrack: null;
@@ -123,7 +123,7 @@ type AgentStateFailed = AgentInstanceCommon & {
123123
/** Is the agent ready for user interaction? */
124124
isAvailable: false;
125125

126-
/** Is the audio preconnect buffer currently available? */
126+
/** Is the audio preconnect buffer currently active and recording? */
127127
isPreConnectBufferEnabled: false;
128128

129129
cameraTrack: null;

0 commit comments

Comments
 (0)