kin: KIN-ARCH-023-backend_dev
This commit is contained in:
parent
d6ccb468f7
commit
646d40366f
1 changed files with 1 additions and 1 deletions
|
|
@ -1053,7 +1053,7 @@ def revise_task(task_id: str, body: TaskRevise):
|
||||||
|
|
||||||
# KIN-128: On 2nd+ revision, inject analyst as first step for fresh perspective.
|
# KIN-128: On 2nd+ revision, inject analyst as first step for fresh perspective.
|
||||||
# Guard: skip if analyst is already the first step (idempotent), or if steps is None.
|
# Guard: skip if analyst is already the first step (idempotent), or if steps is None.
|
||||||
if revise_count >= 2 and steps and (not steps or steps[0].get("role") != "analyst"):
|
if revise_count >= 2 and steps and steps[0].get("role") != "analyst":
|
||||||
analyst_step = {
|
analyst_step = {
|
||||||
"role": "analyst",
|
"role": "analyst",
|
||||||
"model": "sonnet",
|
"model": "sonnet",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue