Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,33 @@ conversations:
The search found **2 lines** starting with 'ap':
- Line 1: `apple`
- Line 3: `apricot`
- messages:
- role: system
content: ${system}
- role: user
content: Search for lines starting with 'ap' in the file 'data.txt'. Tell me which lines matched.
- role: assistant
tool_calls:
- id: toolcall_0
type: function
function:
name: report_intent
arguments: '{"intent":"Searching file for pattern"}'
- id: toolcall_1
type: function
function:
name: grep
arguments: '{"pattern":"^ap","path":"${workdir}/data.txt","output_mode":"content","-n":true}'
- role: tool
tool_call_id: toolcall_0
content: Intent logged
- role: tool
tool_call_id: toolcall_1
content: |-
${workdir}/data.txt:1:apple
${workdir}/data.txt:3:apricot
- role: assistant
content: |-
The search found **2 lines** starting with 'ap':
- Line 1: `apple`
- Line 3: `apricot`
Loading