Native tools #4802
Annotations
10 errors and 4 warnings
|
common/src/util/__tests__/messages.test.ts#L212
[
- ObjectContaining {
+ {
"content": [
- ObjectContaining {
- "type": "text",
+ {
+ "content": [
+ {
+ "type": "json",
+ "value": {
+ "result": "success",
+ },
+ },
+ ],
+ "output": {
+ "type": "json",
+ "value": {
+ "result": "success",
+ },
+ },
+ "role": "tool",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
+ "type": "tool-result",
},
],
- "role": "user",
+ "role": "tool",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
},
]
- Expected - 4
+ Received + 23
at <anonymous> (/home/runner/work/***/***/common/src/util/__***s__/messages.***.ts:212:22)
|
|
common/src/util/__tests__/messages.test.ts#L812
Expected: "text"
Received: "tool-call"
at <anonymous> (/home/runner/work/***/***/common/src/util/__***s__/messages.***.ts:812:43)
|
|
common/src/util/__tests__/messages.test.ts#L275
[
- ObjectContaining {
- "role": "user",
+ {
+ "content": [
+ {
+ "content": [
+ {
+ "type": "json",
+ "value": {
+ "result1": "success",
+ },
+ },
+ {
+ "type": "json",
+ "value": {
+ "result2": "also success",
+ },
+ },
+ ],
+ "output": {
+ "type": "json",
+ "value": {
+ "result1": "success",
+ },
+ },
+ "role": "tool",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
+ "type": "tool-result",
+ },
+ ],
+ "role": "tool",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
+ },
+ {
+ "content": [
+ {
+ "content": [
+ {
+ "type": "json",
+ "value": {
+ "result1": "success",
+ },
+ },
+ {
+ "type": "json",
+ "value": {
+ "result2": "also success",
+ },
+ },
+ ],
+ "output": {
+ "type": "json",
+ "value": {
+ "result2": "also success",
+ },
+ },
+ "role": "tool",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
+ "type": "tool-result",
+ },
+ ],
+ "role": "tool",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
},
]
- Expected - 2
+ Received + 65
at <anonymous> (/home/runner/work/***/***/common/src/util/__***s__/messages.***.ts:275:22)
|
|
common/src/util/__tests__/messages.test.ts#L212
[
- ObjectContaining {
+ {
"content": [
- ObjectContaining {
- "type": "text",
+ {
+ "content": [
+ {
+ "type": "json",
+ "value": {
+ "result": "success",
+ },
+ },
+ ],
+ "output": {
+ "type": "json",
+ "value": {
+ "result": "success",
+ },
+ },
+ "role": "tool",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
+ "type": "tool-result",
},
],
- "role": "user",
+ "role": "tool",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
},
]
- Expected - 4
+ Received + 23
at <anonymous> (/home/runner/work/***/***/common/src/util/__***s__/messages.***.ts:212:22)
|
|
common/src/util/__tests__/messages.test.ts#L812
Expected: "text"
Received: "tool-call"
at <anonymous> (/home/runner/work/***/***/common/src/util/__***s__/messages.***.ts:812:43)
|
|
common/src/util/__tests__/messages.test.ts#L275
[
- ObjectContaining {
- "role": "user",
+ {
+ "content": [
+ {
+ "content": [
+ {
+ "type": "json",
+ "value": {
+ "result1": "success",
+ },
+ },
+ {
+ "type": "json",
+ "value": {
+ "result2": "also success",
+ },
+ },
+ ],
+ "output": {
+ "type": "json",
+ "value": {
+ "result1": "success",
+ },
+ },
+ "role": "tool",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
+ "type": "tool-result",
+ },
+ ],
+ "role": "tool",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
+ },
+ {
+ "content": [
+ {
+ "content": [
+ {
+ "type": "json",
+ "value": {
+ "result1": "success",
+ },
+ },
+ {
+ "type": "json",
+ "value": {
+ "result2": "also success",
+ },
+ },
+ ],
+ "output": {
+ "type": "json",
+ "value": {
+ "result2": "also success",
+ },
+ },
+ "role": "tool",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
+ "type": "tool-result",
+ },
+ ],
+ "role": "tool",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
},
]
- Expected - 2
+ Received + 65
at <anonymous> (/home/runner/work/***/***/common/src/util/__***s__/messages.***.ts:275:22)
|
|
common/src/util/__tests__/messages.test.ts#L212
[
- ObjectContaining {
+ {
"content": [
- ObjectContaining {
- "type": "text",
+ {
+ "content": [
+ {
+ "type": "json",
+ "value": {
+ "result": "success",
+ },
+ },
+ ],
+ "output": {
+ "type": "json",
+ "value": {
+ "result": "success",
+ },
+ },
+ "role": "tool",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
+ "type": "tool-result",
},
],
- "role": "user",
+ "role": "tool",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
},
]
- Expected - 4
+ Received + 23
at <anonymous> (/home/runner/work/***/***/common/src/util/__***s__/messages.***.ts:212:22)
|
|
common/src/util/__tests__/messages.test.ts#L812
Expected: "text"
Received: "tool-call"
at <anonymous> (/home/runner/work/***/***/common/src/util/__***s__/messages.***.ts:812:43)
|
|
common/src/util/__tests__/messages.test.ts#L275
[
- ObjectContaining {
- "role": "user",
+ {
+ "content": [
+ {
+ "content": [
+ {
+ "type": "json",
+ "value": {
+ "result1": "success",
+ },
+ },
+ {
+ "type": "json",
+ "value": {
+ "result2": "also success",
+ },
+ },
+ ],
+ "output": {
+ "type": "json",
+ "value": {
+ "result1": "success",
+ },
+ },
+ "role": "tool",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
+ "type": "tool-result",
+ },
+ ],
+ "role": "tool",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
+ },
+ {
+ "content": [
+ {
+ "content": [
+ {
+ "type": "json",
+ "value": {
+ "result1": "success",
+ },
+ },
+ {
+ "type": "json",
+ "value": {
+ "result2": "also success",
+ },
+ },
+ ],
+ "output": {
+ "type": "json",
+ "value": {
+ "result2": "also success",
+ },
+ },
+ "role": "tool",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
+ "type": "tool-result",
+ },
+ ],
+ "role": "tool",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
},
]
- Expected - 2
+ Received + 65
at <anonymous> (/home/runner/work/***/***/common/src/util/__***s__/messages.***.ts:275:22)
|
|
common/src/util/__tests__/messages.test.ts#L212
[
- ObjectContaining {
+ {
"content": [
- ObjectContaining {
- "type": "text",
+ {
+ "content": [
+ {
+ "type": "json",
+ "value": {
+ "result": "success",
+ },
+ },
+ ],
+ "output": {
+ "type": "json",
+ "value": {
+ "result": "success",
+ },
+ },
+ "role": "tool",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
+ "type": "tool-result",
},
],
- "role": "user",
+ "role": "tool",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
},
]
- Expected - 4
+ Received + 23
at <anonymous> (/home/runner/work/***/***/common/src/util/__***s__/messages.***.ts:212:22)
|
|
|
|
|
|
|
|
|
The logs for this run have expired and are no longer available.
Loading