[feat-request] want a resume ability
Problem Statement
I start a task to review a range work.
ocr review --from a36f0c53cd68a1f8b4c9d3a0e17d206f2daed08f --to HEAD --exclude "sdk/**" -max-tools 120 -timeout 30 -f json
all changes have about 600+ files. the task failed caz the payment exceeded, the task finish partially.
.....
{
"file": "xxx.cpp",
"message": "LLM completion error: POST \"https://api.deepseek.com/v1/chat/completions\": 402 Payment Required {\"message\":\"Insufficient Balance\",\"type\":\"unknown_error\",\"param\":null,\"code\":\"invalid_request_error\"}",
"type": "subtask_error"
}
Proposed Solution
want mark which commit finished,
start a review task
ocr review --from a36f0c53cd68a1f8b4c9d3a0e17d206f2daed08f --to HEAD --exclude "sdk/**" -max-tools 120 -timeout 30 -f json
task save finish or ingprogress status in .opencodereview for example:
file: ~/.opencodereview/sessions/{project}/{sessionid},jsonl
"comments": [ ... ]
"warnings": [ ... ]
"done": [ "hash-1", "hash-2", "hash-3", .... ]
"failed": [ "hash-4", "hash-5", ... ]
and then the user can resume task by:
ocr review --from a36f0c53cd68a1f8b4c9d3a0e17d206f2daed08f --to HEAD --exclude "sdk/**" -max-tools 120 -timeout 30 -f json --resume {sessionid}
Alternatives Considered
No response
Affected Area
CLI / Commands
Additional Context
No response
i think this is very important feature for tokesave... i've finished 500 files. and left 100 files to review. i don't want to restart whole task again to consume unnecessary costs.
Thanks for the feedback! This is a great idea and is already on our roadmap. We plan to ship this feature after Ultra mode lands. Stay tuned!
Thanks for the feedback! This is a great idea and is already on our roadmap. We plan to ship this feature after Ultra mode lands. Stay tuned!
is it in progess? i can provide a PR to support this feature. it's important for me to do a large review task.
is it in progess? i can provide a PR to support this feature. it's important for me to do a large review task.
We will support this feature in these days.