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, n=n,
t=t, t=t,
r=r, r=r,
max_distance=max_distance, max_distance=max_distance or math.inf,
dedupe=dedupe, dedupe=dedupe,
) )