mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-09 13:25:11 +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}
|
return {'status': 'ok', 'result': search_results, 'type': search_type}
|
||||||
|
|
||||||
|
|
||||||
@router.get('/chat')
|
@router.get('/beta/chat')
|
||||||
def chat(q: str):
|
def chat(q: str):
|
||||||
# Load Conversation History
|
# Load Conversation History
|
||||||
chat_session = state.processor_config.conversation.chat_session
|
chat_session = state.processor_config.conversation.chat_session
|
||||||
|
|||||||
Reference in New Issue
Block a user