mirror of
https://github.com/alibaba/open-code-review.git
synced 2026-07-25 09:04:32 +00:00
* 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
35 lines
1 KiB
JSON
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
|
|
}
|