mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 23:48:56 +01:00
4c135ea316
* Update the /chat endpoint to conditionally support streaming - If streams are enabled, return the threadgenerator as it does currently - If stream is disabled, return a JSON response with the response/compiled references separated out - Correspondingly, update the chat.html UI to use the streamed API, as well as Obsidian - Rename chat/init/ to chat/history * Update khoj.el to use the /history endpoint - Update corresponding unit tests to use stream=true * Remove & from call to /chat for obsidian * Abstract functions out into a helpers.py file and clean up some of the error-catching |
||
---|---|---|
.. | ||
data | ||
__init__.py | ||
conftest.py | ||
test_chat_actors.py | ||
test_chat_director.py | ||
test_cli.py | ||
test_client.py | ||
test_conversation_utils.py | ||
test_date_filter.py | ||
test_file_filter.py | ||
test_helpers.py | ||
test_image_search.py | ||
test_jsonl_to_jsonl.py | ||
test_markdown_to_jsonl.py | ||
test_org_to_jsonl.py | ||
test_orgnode.py | ||
test_pdf_to_jsonl.py | ||
test_rawconfig.py | ||
test_text_search.py | ||
test_word_filter.py |