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,
|
||||
t=t,
|
||||
r=r,
|
||||
max_distance=max_distance,
|
||||
max_distance=max_distance or math.inf,
|
||||
dedupe=dedupe,
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue