mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-07 13:23:15 +00:00
Move the experimental /chat API to under /beta/chat
This commit is contained in:
@@ -154,7 +154,7 @@ def search_beta(q: str, n: Optional[int] = 1):
|
||||
return {'status': 'ok', 'result': search_results, 'type': search_type}
|
||||
|
||||
|
||||
@router.get('/chat')
|
||||
@router.get('/beta/chat')
|
||||
def chat(q: str):
|
||||
# Load Conversation History
|
||||
chat_session = state.processor_config.conversation.chat_session
|
||||
|
||||
Reference in New Issue
Block a user