mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 13:18:18 +00:00
Move document search tool into helpers module with other tools
Document search (because of its age) was the only tool directly within an api router. Put it into helpers to have all the (mini) tools in one place.
This commit is contained in:
@@ -6,7 +6,7 @@ from asgiref.sync import sync_to_async
|
||||
|
||||
from khoj.database.adapters import AgentAdapters
|
||||
from khoj.database.models import Agent, ChatModel, Entry, KhojUser
|
||||
from khoj.routers.api import execute_search
|
||||
from khoj.routers.helpers import execute_search
|
||||
from khoj.utils.helpers import get_absolute_path
|
||||
from tests.helpers import ChatModelFactory
|
||||
|
||||
|
||||
Reference in New Issue
Block a user