forked from tailcallhq/forgecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathforge.default.yaml
More file actions
78 lines (74 loc) · 2.09 KB
/
forge.default.yaml
File metadata and controls
78 lines (74 loc) · 2.09 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
variables:
mode: ACT
updates:
frequency: "daily"
auto_update: false
# Define model anchors with simpler, purpose-based names
models:
# Role-based model definitions - easy to swap implementation
- &advanced_model anthropic/claude-3.7-sonnet
- &standard_model anthropic/claude-3.5-haiku
agents:
- id: software-engineer
compact:
max_tokens: 2000
token_threshold: 80000
model: *advanced_model
retention_window: 6
message_threshold: 200
prompt: "{{> system-prompt-context-summarizer.hbs }}"
model: *advanced_model
system_prompt: |-
{{> system-prompt-engineer-act.hbs }}
user_prompt: |-
{{#if (eq event.name 'act/user_task_update')}}
<feedback>{{event.value}}</feedback>
{{else}}
<task>{{event.value}}</task>
{{/if}}
ephemeral: false
tools:
- forge_tool_fs_read
- forge_tool_fs_create
- forge_tool_fs_remove
- forge_tool_fs_patch
- forge_tool_process_shell
- forge_tool_net_fetch
- forge_tool_fs_search
- forge_tool_fs_undo
- forge_tool_attempt_completion
subscribe:
- act/user_task_init
- act/user_task_update
max_walker_depth: 1
- id: software-designer
compact:
max_tokens: 2000
token_threshold: 120000
model: *advanced_model
retention_window: 6
message_threshold: 200
prompt: "{{> system-prompt-context-summarizer.hbs }}"
model: *advanced_model
system_prompt: |-
{{> system-prompt-engineer-plan.hbs }}
user_prompt: |-
{{#if (eq event.name 'plan/user_task_update')}}
<feedback>{{event.value}}</feedback>
{{else}}
<task>{{event.value}}</task>
{{/if}}
Only create new plans or update existing ones.
Do not modify, create, or delete any code files.
ephemeral: false
tools:
- forge_tool_fs_read
- forge_tool_net_fetch
- forge_tool_fs_search
- forge_tool_fs_create
- forge_tool_fs_patch
- forge_tool_attempt_completion
subscribe:
- plan/user_task_init
- plan/user_task_update
max_walker_depth: 1