Skip to content

Commit e342f14

Browse files
committed
code rework + prompt update
1 parent 6635110 commit e342f14

5 files changed

Lines changed: 464 additions & 347 deletions

File tree

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
messages:
2+
- role: user
3+
content: Work on the assigned task.
4+
- role: assistant
5+
tool_calls:
6+
- function:
7+
arguments: '{"op":"assign_to_this_chat","args":{"batch":["int_test_002"]}}'
8+
name: flexus_kanban_advanced
9+
id: call_assign_002
10+
type: function
11+
- role: tool
12+
call_id: call_assign_002
13+
content: |-
14+
Assigned task int_test_002 to this chat and also moved it to 'inprogress' column
15+
16+
{
17+
"id": "int_test_002",
18+
"title": "Test integrations batch 1/1",
19+
"details": {
20+
"description": "Integrations: newsapi"
21+
}
22+
}
23+
- role: assistant
24+
tool_calls:
25+
- function:
26+
arguments: '{"op":"help","args":{}}'
27+
name: newsapi
28+
id: call_help_002
29+
type: function
30+
- role: tool
31+
call_id: call_help_002
32+
content: '[HELP OUTPUT - NOT A TEST] newsapi help'
33+
- role: assistant
34+
tool_calls:
35+
- function:
36+
arguments: '{"op":"status","args":{}}'
37+
name: newsapi
38+
id: call_status_002
39+
type: function
40+
- role: tool
41+
call_id: call_status_002
42+
content: 'Error [AUTH_ERROR]: API key invalid or unauthorized'
43+
- role: assistant
44+
tool_calls:
45+
- function:
46+
arguments: '{"op":"resolve","args":{"task_id":"int_test_002","resolution_code":"FAILED","resolution_summary":"| Integration | Status | Details |\n|-------------|--------|---------|\n| newsapi | FAILED | op=status: Error [AUTH_ERROR]: API key invalid or unauthorized |"}}'
47+
name: flexus_kanban_advanced
48+
id: call_resolve_002
49+
type: function
50+
- role: tool
51+
call_id: call_resolve_002
52+
content: Task int_test_002 resolved as FAILED
53+
- role: assistant
54+
content: |-
55+
| Integration | Status | Details |
56+
|-------------|--------|---------|
57+
| newsapi | FAILED | op=status: Error [AUTH_ERROR]: API key invalid or unauthorized |
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
messages:
2+
- role: user
3+
content: Work on the assigned task.
4+
- role: assistant
5+
tool_calls:
6+
- function:
7+
arguments: '{"op":"assign_to_this_chat","args":{"batch":["int_test_001"]}}'
8+
name: flexus_kanban_advanced
9+
id: call_assign_001
10+
type: function
11+
- role: tool
12+
call_id: call_assign_001
13+
content: |-
14+
Assigned task int_test_001 to this chat and also moved it to 'inprogress' column
15+
16+
{
17+
"id": "int_test_001",
18+
"title": "Test integrations batch 1/1",
19+
"details": {
20+
"description": "Integrations: newsapi"
21+
}
22+
}
23+
- role: assistant
24+
tool_calls:
25+
- function:
26+
arguments: '{"op":"help","args":{}}'
27+
name: newsapi
28+
id: call_help_001
29+
type: function
30+
- role: tool
31+
call_id: call_help_001
32+
content: '[HELP OUTPUT - NOT A TEST] newsapi help'
33+
- role: assistant
34+
tool_calls:
35+
- function:
36+
arguments: '{"op":"list_methods","args":{}}'
37+
name: newsapi
38+
id: call_methods_001
39+
type: function
40+
- role: tool
41+
call_id: call_methods_001
42+
content: 'api_key_hint=***dc9, method_ids=[newsapi.everything.v1, newsapi.top-headlines.v1]'
43+
- role: assistant
44+
tool_calls:
45+
- function:
46+
arguments: '{"op":"resolve","args":{"task_id":"int_test_001","resolution_code":"FAILED","resolution_summary":"| Integration | Status | Details |\n|-------------|--------|---------|\n| newsapi | UNTESTED | help and list_methods only; no real API test; api_key_hint=***dc9 |"}}'
47+
name: flexus_kanban_advanced
48+
id: call_resolve_001
49+
type: function
50+
- role: tool
51+
call_id: call_resolve_001
52+
content: Task int_test_001 resolved as FAILED
53+
- role: assistant
54+
content: |-
55+
| Integration | Status | Details |
56+
|-------------|--------|---------|
57+
| newsapi | UNTESTED | help and list_methods only; no real API test; api_key_hint=***dc9 |

0 commit comments

Comments
 (0)