Skip to content

Commit 37d6638

Browse files
Copilotstephentoub
andauthored
Restore accidentally modified snapshot file
Agent-Logs-Url: https://github.com/github/copilot-sdk/sessions/35a08e5f-ea8a-4494-9e24-084aad8ec639 Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
1 parent 793eb03 commit 37d6638

1 file changed

Lines changed: 55 additions & 0 deletions

File tree

test/snapshots/session_config/vision_disabled_then_enabled_via_setmodel.yaml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,58 @@ conversations:
6363
function:
6464
name: view
6565
arguments: '{"path":"${workdir}/test.png"}'
66+
- messages:
67+
- role: system
68+
content: ${system}
69+
- role: user
70+
content: Use the view tool to look at the file test.png and describe what you see
71+
- role: assistant
72+
tool_calls:
73+
- id: toolcall_0
74+
type: function
75+
function:
76+
name: report_intent
77+
arguments: '{"intent":"Viewing image file"}'
78+
- id: toolcall_1
79+
type: function
80+
function:
81+
name: view
82+
arguments: '{"path":"${workdir}/test.png"}'
83+
- role: tool
84+
tool_call_id: toolcall_0
85+
content: Intent logged
86+
- role: tool
87+
tool_call_id: toolcall_1
88+
content: Viewed image file successfully.
89+
- role: assistant
90+
content: The image shows a **GitHub Copilot logo** - a hexagonal icon with an orange/coral colored background containing
91+
a stylized white design that represents the Copilot brand mark. The logo has the characteristic GitHub Copilot
92+
appearance with its geometric hexagon shape and minimal design aesthetic.
93+
- role: user
94+
content: Use the view tool to look at the file test.png and describe what you see
95+
- role: assistant
96+
tool_calls:
97+
- id: toolcall_2
98+
type: function
99+
function:
100+
name: report_intent
101+
arguments: '{"intent":"Viewing image file"}'
102+
- id: toolcall_3
103+
type: function
104+
function:
105+
name: view
106+
arguments: '{"path":"${workdir}/test.png"}'
107+
- role: tool
108+
tool_call_id: toolcall_2
109+
content: Intent logged
110+
- role: tool
111+
tool_call_id: toolcall_3
112+
content: Viewed image file successfully.
113+
- role: user
114+
content: |-
115+
Image file at path ${workdir}/test.png
116+
[image]
117+
- role: assistant
118+
content: The image appears to be a **very small, mostly blank white or off-white rectangular image**. There doesn't seem
119+
to be any visible content, text, or graphics - just a plain light-colored background. It looks like either an
120+
empty/blank image file or a very minimalistic placeholder image.

0 commit comments

Comments
 (0)