forked from github/copilot-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpermission_handler_errors.yaml
More file actions
47 lines (47 loc) · 1.4 KB
/
Copy pathpermission_handler_errors.yaml
File metadata and controls
47 lines (47 loc) · 1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
models:
- claude-sonnet-4.5
conversations:
- messages:
- role: system
content: ${system}
- role: user
content: Run 'echo test'. If you can't, say 'failed'.
- role: assistant
tool_calls:
- id: toolcall_0
type: function
function:
name: report_intent
arguments: '{"intent":"Running echo command"}'
- role: assistant
tool_calls:
- id: toolcall_1
type: function
function:
name: ${shell}
arguments: '{"command":"echo test","description":"Run echo test"}'
- messages:
- role: system
content: ${system}
- role: user
content: Run 'echo test'. If you can't, say 'failed'.
- role: assistant
tool_calls:
- id: toolcall_0
type: function
function:
name: report_intent
arguments: '{"intent":"Running echo command"}'
- id: toolcall_1
type: function
function:
name: ${shell}
arguments: '{"command":"echo test","description":"Run echo test"}'
- role: tool
tool_call_id: toolcall_0
content: Intent logged
- role: tool
tool_call_id: toolcall_1
content: Permission denied and could not request permission from user
- role: assistant
content: failed