mirror of
http://100.103.83.12:3003/fegger/pv-agent.git
synced 2026-09-17 16:06:23 +00:00
feat(agent): harden API-first service
This commit is contained in:
+7
-1
@@ -296,8 +296,14 @@ def answer_question(
|
||||
"regenerations": regenerations,
|
||||
"latency_ms": round((time.perf_counter() - t0) * 1000),
|
||||
"draft": draft,
|
||||
"answer_type": qtype,
|
||||
"planned": planned,
|
||||
"planned_queries": [
|
||||
{"text": sq.text, "stand_year": sq.stand_year}
|
||||
{
|
||||
"text": sq.text,
|
||||
"stand_year": sq.stand_year,
|
||||
"scope": sq.scope,
|
||||
}
|
||||
for sq in sub_queries
|
||||
],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user