open-code-review/internal/config/template/task_template.json
Kunal Jaiswal 0391f7805d
fix: remove hardcoded 180s timeout from REVIEW_FILTER_TASK (#474)
* fix: remove hardcoded 180s timeout from REVIEW_FILTER_TASK

The filter task had a hidden inner timeout (ft.Timeout) that always
fired before the global OCR_LLM_TIMEOUT (300s) could apply. Removing
it lets the task flow through the same two timeout knobs
(OCR_LLM_TIMEOUT / --timeout) as every other task type.

Also cleaned up unused timeout fields from task_template.json that
were never read in production code.

* fix: remove dead timeout block from RE_LOCATION_TASK per review feedback
2026-07-24 23:15:03 +08:00

35 lines
1 KiB
JSON

{
"MAIN_TASK": {
"messages": [
{ "role": "system", "prompt_file": "main_task_system.md" },
{ "role": "user", "prompt_file": "main_task_user.md" }
]
},
"PLAN_TASK": {
"messages": [
{ "role": "system", "prompt_file": "plan_task_system.md" },
{ "role": "user", "prompt_file": "plan_task_user.md" }
]
},
"MEMORY_COMPRESSION_TASK": {
"messages": [
{ "role": "system", "prompt_file": "memory_compression_task_system.md" },
{ "role": "user", "prompt_file": "memory_compression_task_user.md" }
]
},
"REVIEW_FILTER_TASK": {
"messages": [
{ "role": "system", "prompt_file": "review_filter_task_system.md" },
{ "role": "user", "prompt_file": "review_filter_task_user.md" }
]
},
"RE_LOCATION_TASK": {
"messages": [
{ "role": "system", "prompt_file": "re_location_task_system.md" },
{ "role": "user", "prompt_file": "re_location_task_user.md" }
]
},
"MAX_TOOL_REQUEST_TIMES": 30,
"PLAN_MODE_LINE_THRESHOLD": 50,
"MAX_TOKENS": 58888
}