Default to infinite distance when using the search API

This commit is contained in:
sabaimran 2024-08-24 19:57:49 -07:00
parent e919d28f1c
commit 4b77325f63

View file

@ -83,7 +83,7 @@ async def search(
n=n,
t=t,
r=r,
max_distance=max_distance,
max_distance=max_distance or math.inf,
dedupe=dedupe,
)