Include work log in task agent context.
This commit is contained in:
parent
f569bb14b1
commit
e5035569fa
|
|
@ -260,6 +260,7 @@ def run_task_implementation_agent(
|
|||
related_files=related_files,
|
||||
key_facts=get_memory_value('key_facts'),
|
||||
key_snippets=get_memory_value('key_snippets'),
|
||||
work_log=get_memory_value('work_log'),
|
||||
expert_section=EXPERT_PROMPT_SECTION_IMPLEMENTATION if expert_enabled else "",
|
||||
human_section=HUMAN_PROMPT_SECTION_IMPLEMENTATION if _global_memory.get('config', {}).get('hil', False) else ""
|
||||
)
|
||||
|
|
|
|||
|
|
@ -395,6 +395,11 @@ Key Snippets:
|
|||
Relevant Files:
|
||||
{related_files}
|
||||
|
||||
Work done so far:
|
||||
<work log>
|
||||
{work_log}
|
||||
</work log>
|
||||
|
||||
Important Notes:
|
||||
- Focus solely on the given task and implement it as described.
|
||||
- Scale the complexity of your solution to the complexity of the request. For simple requests, keep it straightforward and minimal. For complex requests, maintain the previously planned depth.
|
||||
|
|
|
|||
Loading…
Reference in New Issue