test(api): add tests for ai suggestion endpoints and helpers
This commit is contained in:
parent
5ad9b66a21
commit
88f3642387
4 changed files with 387 additions and 1 deletions
|
|
@ -345,7 +345,7 @@ def _build_products_context(
|
|||
entry += f" nearest_open_pao_deadline={pao_deadlines[0]}"
|
||||
if p.pao_months is not None:
|
||||
entry += f" pao_months={p.pao_months}"
|
||||
profile = ctx.get("product_effect_profile", {})
|
||||
profile = ctx.get("effect_profile", {})
|
||||
if profile:
|
||||
notable = {k: v for k, v in profile.items() if v and v > 0}
|
||||
if notable:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue