Activate when user asks:
If user provides job_id, call material generation API:
POST http://127.0.0.1:8010/api/material/generate{"job_id":"<job_id>","resume_version":"resume_v1"}Parse JSON response:
If status=skipped_low_match, explain low match and ask whether to continue with another job.
If status=pending_review, show:
thread_idAsk user for review decision:
approve / reject / regenerate (optional feedback text)Execute review call:
POST http://127.0.0.1:8010/api/material/review{"thread_id":"<thread_id>","decision":"regenerate","feedback":"强调可量化结果"}If approved, export file:
POST http://127.0.0.1:8010/api/material/export{"thread_id":"<thread_id>","format":"pdf"}curl -sS -X POST "http://127.0.0.1:8010/api/material/generate" -H "Content-Type: application/json" -d '{"job_id":"<job_id>","resume_version":"resume_v1"}'curl -sS -X POST "http://127.0.0.1:8010/api/material/review" -H "Content-Type: application/json" -d '{"thread_id":"<thread_id>","decision":"approve"}'curl -sS -X POST "http://127.0.0.1:8010/api/material/export" -H "Content-Type: application/json" -d '{"thread_id":"<thread_id>","format":"pdf"}'