feat(api): include 7-day upcoming grooming context in routine suggestions
This commit is contained in:
parent
5d69a976c4
commit
1c457d62a3
3 changed files with 73 additions and 2 deletions
|
|
@ -249,6 +249,7 @@ def test_suggest_routine(client, session):
|
|||
assert data["reasoning"] == "because"
|
||||
kwargs = mock_gemini.call_args.kwargs
|
||||
assert "USER PROFILE:" in kwargs["contents"]
|
||||
assert "UPCOMING GROOMING (next 7 days):" in kwargs["contents"]
|
||||
assert "function_handlers" in kwargs
|
||||
assert "get_product_details" in kwargs["function_handlers"]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue