feat: improve resume optimization and import reliability

This commit is contained in:
hyp
2026-08-10 11:26:47 +08:00
parent 1c762fd092
commit d8db0d8792
35 changed files with 1861 additions and 661 deletions
@@ -134,7 +134,7 @@ def _redisplay_revision_candidate(agent: Any, profile: dict[str, Any], instructi
state = ensure_builder_state(profile)
section = str(state.get("active_section") or "education")
entry = _public_entry(dict(state.get("identity_draft") or {}))
entry["_proposal"] = _candidate_rewrite(agent, profile, entry, section, instruction=instruction, ensure_facts=True)
entry["_proposal"] = _candidate_rewrite(agent, profile, entry, section, instruction=instruction)
state["pending_entry"] = entry
state["revision_mode"] = False
_set_stream_phases(profile, "structuring", "rewriting")