mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-27 17:35:07 +01:00
Default to infinite distance when using the search API
This commit is contained in:
parent
e919d28f1c
commit
4b77325f63
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue