Skip to content

Commit f84feec

Browse files
committed
Fix prettier formatting in session.ts
1 parent 0aaf094 commit f84feec

4 files changed

Lines changed: 12 additions & 6 deletions

File tree

nodejs/src/session.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1057,7 +1057,10 @@ function isToolResultObject(value: unknown): value is ToolResultObject {
10571057
return false;
10581058
}
10591059

1060-
if (!("textResultForLlm" in value) || typeof (value as ToolResultObject).textResultForLlm !== "string") {
1060+
if (
1061+
!("textResultForLlm" in value) ||
1062+
typeof (value as ToolResultObject).textResultForLlm !== "string"
1063+
) {
10611064
return false;
10621065
}
10631066

test/snapshots/session_config/should_accept_blob_attachments.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ conversations:
55
- role: system
66
content: ${system}
77
- role: user
8-
content: Describe this image

test/snapshots/session_config/should_accept_message_attachments.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
models:
22
- claude-sonnet-4.5
33
conversations:
4+
- messages:
5+
- role: system
6+
content: ${system}
7+
- role: user
48
- messages:
59
- role: system
610
content: ${system}

test/snapshots/session_lifecycle/should_support_multiple_concurrent_sessions.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ conversations:
55
- role: system
66
content: ${system}
77
- role: user
8-
content: What is 3+3? Reply with just the number.
8+
content: What is 1+1? Reply with just the number.
99
- role: assistant
10-
content: "6"
10+
content: "2"
1111
- messages:
1212
- role: system
1313
content: ${system}
1414
- role: user
15-
content: What is 1+1? Reply with just the number.
15+
content: What is 3+3? Reply with just the number.
1616
- role: assistant
17-
content: "2"
17+
content: "6"

0 commit comments

Comments
 (0)