Skip to content

Commit a6b2500

Browse files
authoredApr 9, 2024
Enable stream data protocol and deprecate experimental_streamData: true flag. (#1192)
1 parent f42bbb5 commit a6b2500

File tree

57 files changed

+799
-1452
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+799
-1452
lines changed
 

‎.changeset/two-bats-itch.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'ai': patch
3+
---
4+
5+
Deprecated the `experimental_streamData: true` setting from AIStreamCallbacksAndOptions. You can delete occurrences in your code. The stream data protocol is now used by default.

‎docs/pages/docs/api-reference/providers/inkeep-stream.mdx

-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ export async function POST(req: Request) {
142142
}
143143
data.close();
144144
},
145-
experimental_streamData: true,
146145
});
147146

148147
return new StreamingTextResponse(stream, {}, data);

0 commit comments

Comments
 (0)