ai-protocol-adapters 1.0.0-alpha.14 → 1.0.0-alpha.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +0 -6
- package/dist/index.mjs +0 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4061,9 +4061,6 @@ var StreamingProtocolAdapter = class {
|
|
|
4061
4061
|
if (!content || content === "") return;
|
|
4062
4062
|
if (state.thinkingBlockStarted && !state.contentBlockStarted) {
|
|
4063
4063
|
sseLines.push(
|
|
4064
|
-
"event: content_block_delta",
|
|
4065
|
-
'data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"</thinking>\\n\\n"}}',
|
|
4066
|
-
"",
|
|
4067
4064
|
"event: content_block_stop",
|
|
4068
4065
|
'data: {"type":"content_block_stop","index":0}',
|
|
4069
4066
|
"",
|
|
@@ -4303,9 +4300,6 @@ var StreamingProtocolAdapter = class {
|
|
|
4303
4300
|
);
|
|
4304
4301
|
} else if (state.thinkingBlockStarted) {
|
|
4305
4302
|
sseLines.push(
|
|
4306
|
-
"event: content_block_delta",
|
|
4307
|
-
'data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"</thinking>"}}',
|
|
4308
|
-
"",
|
|
4309
4303
|
"event: content_block_stop",
|
|
4310
4304
|
'data: {"type":"content_block_stop","index":0}',
|
|
4311
4305
|
""
|
package/dist/index.mjs
CHANGED
|
@@ -3954,9 +3954,6 @@ var StreamingProtocolAdapter = class {
|
|
|
3954
3954
|
if (!content || content === "") return;
|
|
3955
3955
|
if (state.thinkingBlockStarted && !state.contentBlockStarted) {
|
|
3956
3956
|
sseLines.push(
|
|
3957
|
-
"event: content_block_delta",
|
|
3958
|
-
'data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"</thinking>\\n\\n"}}',
|
|
3959
|
-
"",
|
|
3960
3957
|
"event: content_block_stop",
|
|
3961
3958
|
'data: {"type":"content_block_stop","index":0}',
|
|
3962
3959
|
"",
|
|
@@ -4196,9 +4193,6 @@ var StreamingProtocolAdapter = class {
|
|
|
4196
4193
|
);
|
|
4197
4194
|
} else if (state.thinkingBlockStarted) {
|
|
4198
4195
|
sseLines.push(
|
|
4199
|
-
"event: content_block_delta",
|
|
4200
|
-
'data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"</thinking>"}}',
|
|
4201
|
-
"",
|
|
4202
4196
|
"event: content_block_stop",
|
|
4203
4197
|
'data: {"type":"content_block_stop","index":0}',
|
|
4204
4198
|
""
|
package/package.json
CHANGED