Do not stall Retry failed on re-extraction or serial datasheet lookups.
Resume reuses pintables, skips LCSC/DigiKey before review, and emits a waiting heartbeat so a long DeepSeek turn is visible instead of a freeze. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -379,6 +379,12 @@ async def review_ic_async(
|
||||
tools = _ALL_TOOL_SCHEMAS
|
||||
tool_choice = "auto"
|
||||
|
||||
if on_progress:
|
||||
await on_progress(
|
||||
ic_ref, turn, "waiting",
|
||||
f"model turn {turn + 1}/{_MAX_REVIEW_TURNS}",
|
||||
)
|
||||
|
||||
completion = await session.complete(
|
||||
messages=messages,
|
||||
tools=tools,
|
||||
|
||||
Reference in New Issue
Block a user