feat (rsc): multiple tool calls for streamUI #4193
Annotations
10 errors and 8 warnings
Test (18.x)
ai#test: command (/home/runner/work/ai/ai/packages/core) pnpm run test exited (1)
|
rsc/stream-ui/stream-ui.ui.test.tsx > rsc - streamUI() > should emit React Nodes with sync streamUI function:
packages/core/rsc/stream-ui/stream-ui.ui.test.tsx#L130
Error: Snapshot `rsc - streamUI() > should emit React Nodes with sync streamUI function 1` mismatched
- Expected
+ Received
@@ -2,13 +2,11 @@
"children": {},
"props": {
"s": {
"curr": undefined,
"next": {
- "curr": <div>
- Weather
- </div>,
+ "error": {},
},
"type": Symbol(ui.streamable.value),
},
},
"type": "InternalStreamableUIClient",
❯ rsc/stream-ui/stream-ui.ui.test.tsx:130:22
|
rsc/stream-ui/stream-ui.ui.test.tsx > rsc - streamUI() > should emit React Nodes with async streamUI function:
packages/core/rsc/stream-ui/stream-ui.ui.test.tsx#L150
Error: Snapshot `rsc - streamUI() > should emit React Nodes with async streamUI function 1` mismatched
- Expected
+ Received
@@ -2,13 +2,11 @@
"children": {},
"props": {
"s": {
"curr": undefined,
"next": {
- "curr": <div>
- Weather
- </div>,
+ "error": {},
},
"type": Symbol(ui.streamable.value),
},
},
"type": "InternalStreamableUIClient",
❯ rsc/stream-ui/stream-ui.ui.test.tsx:150:22
|
rsc/stream-ui/stream-ui.ui.test.tsx > rsc - streamUI() > should emit React Nodes with generator streamUI function:
packages/core/rsc/stream-ui/stream-ui.ui.test.tsx#L171
Error: Snapshot `rsc - streamUI() > should emit React Nodes with generator streamUI function 1` mismatched
- Expected
+ Received
@@ -2,18 +2,11 @@
"children": {},
"props": {
"s": {
"curr": undefined,
"next": {
- "curr": <div>
- Loading...
- </div>,
- "next": {
- "curr": <div>
- Weather
- </div>,
- },
+ "error": {},
},
"type": Symbol(ui.streamable.value),
},
},
"type": "InternalStreamableUIClient",
❯ rsc/stream-ui/stream-ui.ui.test.tsx:171:22
|
rsc/stream-ui/stream-ui.ui.test.tsx > rsc - streamUI() onFinish callback > should contain token usage:
packages/core/rsc/stream-ui/stream-ui.ui.test.tsx#L203
TypeError: Cannot read properties of undefined (reading 'usage')
❯ rsc/stream-ui/stream-ui.ui.test.tsx:203:35
|
rsc/stream-ui/stream-ui.ui.test.tsx > rsc - streamUI() onFinish callback > should contain finish reason:
packages/core/rsc/stream-ui/stream-ui.ui.test.tsx#L211
TypeError: Cannot read properties of undefined (reading 'finishReason')
❯ rsc/stream-ui/stream-ui.ui.test.tsx:211:31
|
rsc/stream-ui/stream-ui.ui.test.tsx > rsc - streamUI() onFinish callback > should contain final React node:
packages/core/rsc/stream-ui/stream-ui.ui.test.tsx#L215
TypeError: Cannot read properties of undefined (reading 'value')
❯ rsc/stream-ui/stream-ui.ui.test.tsx:215:19
|
Test (18.x)
Process completed with exit code 1.
|
Test (20.x)
The job was canceled because "_18_x" failed.
|
Test (20.x)
The operation was canceled.
|
Test (18.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/[email protected], actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Test (18.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: pnpm/[email protected], actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Test (18.x)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test (18.x)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test (18.x)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test (20.x)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test (20.x)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test (20.x)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|