feat: raise default query limits to 10000 (effectively unlimited)
With 375 memories and 1M context window, low limits just hide results. Agents can still pass a smaller limit when they want fewer results. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
43a5513f6c
commit
d03a77ac36
3 changed files with 6 additions and 6 deletions
|
|
@ -89,10 +89,10 @@ def test_invalid_sort_by_rejected(sort_by):
|
|||
pass
|
||||
|
||||
|
||||
@given(limit=st.integers(min_value=501, max_value=10000))
|
||||
@given(limit=st.integers(min_value=10001, max_value=50000))
|
||||
@settings(max_examples=10)
|
||||
def test_limit_too_high_rejected(limit):
|
||||
"""Limit above 500 is rejected after model update."""
|
||||
"""Limit above 10000 is rejected after model update."""
|
||||
try:
|
||||
MemoryRecall(context="test", limit=limit)
|
||||
assert False, "Should have raised ValidationError"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue