修改定制简历保存逻辑
This commit is contained in:
@@ -96,8 +96,8 @@ class JobAgentChatService:
|
||||
log.warning(f"岗位简历优化[{key}]失败: {result}")
|
||||
continue
|
||||
self._apply_optimize_result(cr, key, result)
|
||||
# 4. 存 Redis
|
||||
await customize_resume_store.save(user_id, cr)
|
||||
# 4. 存数据库
|
||||
await customize_resume_store.save(user_id, job_id, cr)
|
||||
# 5. 返回
|
||||
return cr.model_dump(by_alias=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user