Skip to content

Commit e6e4dec

Browse files
authored
fix ask-user test snapshots (#319)
1 parent ce25e31 commit e6e4dec

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

test/snapshots/ask-user/should_handle_freeform_user_input_response.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ conversations:
1616
arguments: '{"question":"What is your favorite color?","allow_freeform":true}'
1717
- role: tool
1818
tool_call_id: toolcall_0
19-
content: "User response (freeform): This is my custom freeform answer that was not in the choices"
19+
content: "User responded: This is my custom freeform answer that was not in the choices"
2020
- role: assistant
21-
content: 'Your answer was: "This is my custom freeform answer that was not in the choices"'
21+
content: 'You answered: "This is my custom freeform answer that was not in the choices"'

test/snapshots/ask_user/handle_freeform_user_input_response.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ conversations:
1616
arguments: '{"question":"What is your favorite color?","allow_freeform":true}'
1717
- role: tool
1818
tool_call_id: toolcall_0
19-
content: "User response (freeform): This is my custom freeform answer that was not in the choices"
19+
content: "User responded: This is my custom freeform answer that was not in the choices"
2020
- role: assistant
2121
content: 'You answered: "This is my custom freeform answer that was not in the choices"'

test/snapshots/askuser/should_handle_freeform_user_input_response.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ conversations:
1313
type: function
1414
function:
1515
name: ask_user
16-
arguments: '{"question":"What is your favorite color?"}'
16+
arguments: '{"question":"What is your favorite color?","allow_freeform":true}'
1717
- role: tool
1818
tool_call_id: toolcall_0
19-
content: "User response (freeform): This is my custom freeform answer that was not in the choices"
19+
content: "User responded: This is my custom freeform answer that was not in the choices"
2020
- role: assistant
2121
content: 'You answered: "This is my custom freeform answer that was not in the choices"'

0 commit comments

Comments
 (0)