feat(报告):AI 聚合残片生成报告草稿
- AiServiceClient:调用 lpt-ai 独立服务,未配置/失败时返回 empty
- GET /study-sessions/{sessionNum}/report-draft:AI 聚合(含预期对比),降级为残片拼接
- 草稿仅作为编辑起点,最终报告仍由用户确认后保存
- application.yml 增加 lpt.ai-service.url 配置
This commit is contained in:
@@ -58,4 +58,8 @@ lpt:
|
||||
endpoint:
|
||||
api-key:
|
||||
model: claude-fable-5
|
||||
timeout-seconds: 60
|
||||
timeout-seconds: 60
|
||||
# lpt-ai 独立服务地址(可选,未配置时报告草稿降级为残片拼接)
|
||||
ai-service:
|
||||
url:
|
||||
timeout-seconds: 90
|
||||
Reference in New Issue
Block a user