@@ -6,16 +6,16 @@ conversations:
66 content : ${system}
77 - role : user
88 content : Use the sql tool to create a table called "items" with columns id (TEXT PRIMARY KEY) and name (TEXT). Then
9- insert a row with id "a1" and name "Widget". Then select all rows from items and tell me what you find.
9+ insert a row with id "a1" and name "Widget".
1010 - role : assistant
11- content : I'll create the table, insert the row, and then query it for you .
11+ content : I'll create the table and insert the row using the SQL tool .
1212 - role : assistant
1313 tool_calls :
1414 - id : toolcall_0
1515 type : function
1616 function :
1717 name : report_intent
18- arguments : ' {"intent":"Creating and populating database table"}'
18+ arguments : ' {"intent":"Creating database table"}'
1919 - role : assistant
2020 tool_calls :
2121 - id : toolcall_1
@@ -30,27 +30,20 @@ conversations:
3030 function :
3131 name : sql
3232 arguments : " {\" description\" :\" Insert Widget row\" ,\" query\" :\" INSERT INTO items (id, name) VALUES ('a1', 'Widget')\" }"
33- - role : assistant
34- tool_calls :
35- - id : toolcall_3
36- type : function
37- function :
38- name : sql
39- arguments : ' {"description":"Select all from items","query":"SELECT * FROM items"}'
4033 - messages :
4134 - role : system
4235 content : ${system}
4336 - role : user
4437 content : Use the sql tool to create a table called "items" with columns id (TEXT PRIMARY KEY) and name (TEXT). Then
45- insert a row with id "a1" and name "Widget". Then select all rows from items and tell me what you find.
38+ insert a row with id "a1" and name "Widget".
4639 - role : assistant
47- content : I'll create the table, insert the row, and then query it for you .
40+ content : I'll create the table and insert the row using the SQL tool .
4841 tool_calls :
4942 - id : toolcall_0
5043 type : function
5144 function :
5245 name : report_intent
53- arguments : ' {"intent":"Creating and populating database table"}'
46+ arguments : ' {"intent":"Creating database table"}'
5447 - id : toolcall_1
5548 type : function
5649 function :
@@ -61,11 +54,6 @@ conversations:
6154 function :
6255 name : sql
6356 arguments : " {\" description\" :\" Insert Widget row\" ,\" query\" :\" INSERT INTO items (id, name) VALUES ('a1', 'Widget')\" }"
64- - id : toolcall_3
65- type : function
66- function :
67- name : sql
68- arguments : ' {"description":"Select all from items","query":"SELECT * FROM items"}'
6957 - role : tool
7058 tool_call_id : toolcall_0
7159 content : Intent logged
@@ -75,22 +63,6 @@ conversations:
7563 - role : tool
7664 tool_call_id : toolcall_2
7765 content : " 1 row(s) inserted. Last inserted row ID: 1."
78- - role : tool
79- tool_call_id : toolcall_3
80- content : |-
81- 1 row(s) returned:
82-
83- | id | name |
84- | --- | --- |
85- | a1 | Widget |
8666 - role : assistant
87- content : >-
88- Perfect! I found one row in the items table:
89-
90- - **id:** a1
91-
92- - **name:** Widget
93-
94-
95- The table was created successfully, the row was inserted, and the query confirms the data is there as
96- expected.
67+ content : Done! I've created the `items` table with `id` and `name` columns, and inserted the row with id "a1" and name
68+ " Widget" .
0 commit comments