We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b546239 commit 0962f46Copy full SHA for 0962f46
example/convex/streaming.ts
@@ -10,7 +10,7 @@ export const streamingComponent = new PersistentTextStreaming(
10
components.persistentTextStreaming
11
);
12
13
-export const getAssistantResponse = query({
+export const getStreamBody = query({
14
args: {
15
streamId: StreamIdValidator,
16
},
example/src/components/message-item.tsx
@@ -93,7 +93,7 @@ function ServerMessage({
93
}
94
95
const { text, status } = useStream(
96
- api.streaming.getAssistantResponse,
+ api.streaming.getStreamBody,
97
new URL(`${convexSiteUrl}/chat-stream`),
98
driven,
99
message.streamId as StreamId
0 commit comments