Commit Graph

  • b335f8cf79 Support grok 4 reasoning model Debanjum 2025-07-31 15:31:19 -07:00
  • c0db9e4fca Use better, standard default temp, top_p for openai model providers Debanjum 2025-07-31 14:14:15 -07:00
  • 7ab24d875d Release Khoj version 2.0.0-beta.11 Debanjum 2025-07-31 10:25:42 -07:00
  • 6290d744ea Make code tool write safe code to run in sandbox Debanjum 2025-07-30 19:46:55 -07:00
  • 0f953f9ec8 Use Gemini suggested retry backoff if set. Improve gemini error handling Debanjum 2025-07-30 16:56:32 -07:00
  • bbc14951b4 Redirect to a better error page on server error Debanjum 2025-07-29 18:53:33 -07:00
  • 6caa6f4008 Make async call to get agent files from async agent/conversation API Debanjum 2025-07-30 17:29:14 -07:00
  • b82d4fe68f Resolve Pydantic deprecation warnings (#1211) Debanjum 2025-07-25 19:50:57 -05:00
  • 655a1b38f2 Resolve Pydantic deprecation warnings Emmanuel Ferdman 2025-07-25 16:55:00 -07:00
  • f5d12b7546 Bump desktop app and documentation dependencies Debanjum 2025-07-25 13:31:52 -05:00
  • f8924f2521 Avoid duplicate chat turn save if chat cancelled during final response Debanjum 2025-07-24 17:16:26 -05:00
  • bd9f091a71 Show thoughts of more llm models served via openai compatible api Debanjum 2025-07-23 20:33:11 -05:00
  • 624d6227ca Expand to enable deep think for more qwen style models like smollm3 Debanjum 2025-07-23 20:28:54 -05:00
  • c401bb9591 Stricty enforce tool call schema for llm served via openai compat api Debanjum 2025-07-23 20:38:03 -05:00
  • 03c4f614dd Handle tool call requests with openai completion in non stream mode Debanjum 2025-07-23 20:30:22 -05:00
  • 70cfaf72e9 Only send start llm response chat event once, after thoughts streamed Debanjum 2025-07-22 18:29:01 -05:00
  • 15c6118142 Store event delimiter in chat event enum for reuse Debanjum 2025-07-22 18:27:28 -05:00
  • fc99f8b37e Buffer message chunks on server side for more performant ws streaming Debanjum 2025-07-22 19:00:24 -05:00
  • bf9a9c7283 Disable per user websocket connection limits in anon or debug mode Debanjum 2025-07-22 18:45:34 -05:00
  • 48e21d9f0f Release Khoj version 2.0.0-beta.10 Debanjum 2025-07-19 21:32:14 -05:00
  • e57acf617a Convert websocket rate limiter to async method Debanjum 2025-07-19 21:15:51 -05:00
  • 76a1b0b686 Release Khoj version 2.0.0-beta.9 Debanjum 2025-07-19 20:20:50 -05:00
  • 43d7e65a49 Limit chat message interrupt queue size to limit performance impact Debanjum 2025-07-19 20:08:36 -05:00
  • 749160e38d Validate websocket origin before establishing connection Debanjum 2025-07-19 20:07:21 -05:00
  • 69a7d332fc Limit number of new websocket connections allowed per user Debanjum 2025-07-19 19:22:29 -05:00
  • 76ddf8645c Improve rate limit and interrupt messages for user, admin Debanjum 2025-07-19 19:08:35 -05:00
  • de7668daec Add websocket chat api to ease bi-directional communication (#1207) Debanjum 2025-07-17 18:06:43 -07:00
  • b90e2367d5 Fix interrupt UX and research when using websocket via web app Debanjum 2025-07-17 15:36:26 -07:00
  • 0ecd5f497d Show more informative title for semantic search train of thought Debanjum 2025-07-03 16:05:42 -07:00
  • 7b7b1830b7 Make callers only share new messages to append to chat logs Debanjum 2025-06-27 00:27:47 -07:00
  • eaed0c839e Use websocket chat api endpoint to communicate from web app Debanjum 2025-06-18 16:46:10 -07:00
  • 9f0eff6541 Handle passing interrupt messages from api to chat actors on server Debanjum 2025-07-12 11:19:41 -07:00
  • 38dd85c91f Add websocket chat api endpoint to ease bi-directional communication Debanjum 2025-06-18 16:45:09 -07:00
  • 99ed796c00 Release Khoj version 2.0.0-beta.8 Debanjum 2025-07-15 16:42:44 -07:00
  • 0a05a5709e Use agent chat model to generate code instead of default chat model Debanjum 2025-07-15 16:21:06 -07:00
  • 238bd66c42 Fix to map user tool names to equivalent tool sets for research mode Debanjum 2025-07-15 15:39:23 -07:00
  • 76ed97d066 Set friendly name for auto loaded chat models during first run Debanjum 2025-07-15 14:12:37 -07:00
  • 0a06f5b41a Release Khoj version 2.0.0-beta.7 Debanjum 2025-07-11 00:04:56 -07:00
  • d42176fa7e Drop tool call, result without tool id on call to Anthropic, Openai APIs Debanjum 2025-07-10 23:53:14 -07:00
  • d27aac7f13 Suppress non-actionable pdf indexing warning from logs Debanjum 2025-07-10 22:46:28 -07:00
  • 05176cd62b Log dropping messages with invalid content as warnings, not errors Debanjum 2025-07-10 23:14:05 -07:00
  • b2952236c4 Log conversation id to help troubleshoot errors faster Debanjum 2025-07-10 23:01:53 -07:00
  • 25db59e49c Fix to return openai formatted messages in the correct order Debanjum 2025-07-10 23:48:16 -07:00
  • c8ec29551f Drop invalid messages in reverse order to continue interrupted chats Debanjum 2025-07-10 21:55:40 -07:00
  • f1a3ddf2ca Release Khoj version 2.0.0-beta.6 Debanjum 2025-07-10 13:41:06 -07:00
  • 7b637d3432 Use document style ux when print conversations to pdf Debanjum 2025-07-10 12:23:46 -07:00
  • c28e90f388 Revert to use standard 1.0 temperature for gemini models Debanjum 2025-07-09 18:22:05 -07:00
  • b763dbfb2b Timeout web search and webpage read requests to providers Debanjum 2025-07-09 15:51:05 -07:00
  • 1988a8d023 Fix to delete agent by slug in DB via API Debanjum 2025-07-09 14:40:38 -07:00
  • 69336565b1 Do not show research mode tools as slash commands options on clients Debanjum 2025-07-09 18:09:11 -07:00
  • cc6da4c440 Drop unsupported additionalProperties field from gemini tool definitions Debanjum 2025-07-09 17:53:19 -07:00
  • 3141035f48 Handle unexpected chunks streamed from Openai (compatible) APIs Debanjum 2025-07-09 17:49:52 -07:00
  • a601cca79b Handle cases where no organic online search results found Debanjum 2025-07-09 00:21:44 -07:00
  • f2b86aa7c8 Release Khoj version 2.0.0-beta.5 Debanjum 2025-07-08 23:45:29 -07:00
  • 0f0cfba624 Ignore vscode settings.json from pre-commit json check Debanjum 2025-07-08 21:47:19 -07:00
  • f0513cbbb1 Fix to run new automation api tests in ci Debanjum 2025-07-08 21:03:47 -07:00
  • c144aa9c90 Handle automation calling url of both url and string type Debanjum 2025-07-08 21:05:13 -07:00
  • fad6a638bd Release Khoj version 2.0.0-beta.4 Debanjum 2025-07-08 19:34:52 -07:00
  • 8d9e75f580 Fix automation url parsing, response handling. Test automations api Debanjum 2025-07-08 17:33:38 -07:00
  • 254207b010 Make chats print friendly to share via print to PDF etc. from browser Debanjum 2025-07-08 11:57:11 -07:00
  • 8fb38d9e1e Make vscode pylint only analyse khoj server directory for efficiency Debanjum 2025-07-08 12:16:08 -07:00
  • 9a215141f0 Release Khoj version 2.0.0-beta.3 Debanjum 2025-07-06 12:50:27 -07:00
  • da9a78e79b Make URI field optional for now to handle previously saved documents Debanjum 2025-07-06 12:47:20 -07:00
  • bc6bbb4c96 Release Khoj version 2.0.0-beta.2 Debanjum 2025-07-06 12:10:32 -07:00
  • 4c33d1a526 Fallback to file based URI when document context URI is unset Debanjum 2025-07-06 11:44:36 -07:00
  • 9dc146bb08 Bump rapidocr dependency version Debanjum 2025-07-06 12:05:36 -07:00
  • b27ba1d24b Early init chat_history in chat api to avoid unbound in edge case Debanjum 2025-07-06 12:03:43 -07:00
  • 8cd2a1a961 Release Khoj version 2.0.0-beta.1 Debanjum 2025-07-06 10:39:56 -07:00
  • 6bda8dc20b Fix file upload size limit client test after max upload bump Debanjum 2025-07-06 10:18:59 -07:00
  • 531ae80212 Allow 50mb knowledge base size on free tier Debanjum 2025-07-06 09:52:31 -07:00
  • 58f44ad43b Make release/1.x a privileged branch to run workflows, create releases Debanjum 2025-07-04 00:45:30 -07:00
  • 2daf396cbb Bump pre-release version in SemVer schema via bump_version script Debanjum 2025-07-04 12:52:09 -07:00
  • afa810e552 Retry api calls to gemini on network read error Debanjum 2025-07-06 09:25:00 -07:00
  • 2ec39d295d Add Deeplinks to Improve Context for Document Retrieval (#1206) Debanjum 2025-07-03 20:05:04 -07:00
  • 5010623a0a Deep link to markdown entries by line number in uri Debanjum 2025-07-03 18:34:34 -07:00
  • dcfa4288c4 Deep link to org-mode entries. Deep link by line number in uri Debanjum 2025-06-23 19:07:38 -07:00
  • e90ab5341a Add context uri field to deeplink line number in original doc Debanjum 2025-06-23 19:04:06 -07:00
  • 820b4523fd Show raw rather than compiled entry to llm and users Debanjum 2025-06-29 15:06:08 -07:00
  • 5c4d41d300 Reduce structural changes to indexed raw org mode entries Debanjum 2025-06-23 15:42:58 -07:00
  • 870d9d851a Only handle Stripe webhooks meant for the KHOJ_CLOUD product sabaimran 2025-07-03 17:02:49 -07:00
  • fe44cd3c59 Upgrade Retrieval from KB in Research Mode. Use Function Calling for Tool Use (#1205) Debanjum 2025-07-03 00:14:07 -07:00
  • f343a92b1d Give research tools better, consistent names for balanced usage Debanjum 2025-06-29 15:10:38 -07:00
  • aa081913bf Improve truncation with tool use and Anthropic caching Debanjum 2025-06-24 02:13:04 -07:00
  • 786b06bb3f Handle failed llm calls, message idempotency to improve retry success Debanjum 2025-07-02 22:08:30 -07:00
  • 30878a2fed Show thoughts and text response in thoughts on anthropic tool use Debanjum 2025-06-19 15:22:19 -07:00
  • c2ab75efef Track, reuse raw model response for multi-turn conversations Debanjum 2025-06-19 15:21:58 -07:00
  • 7cd496ac19 Frame research prompt as accomplish task instead of answer question Debanjum 2025-06-19 12:23:36 -07:00
  • 4e67ba4d6c Support seeing lines around regex match with grep files tool Debanjum 2025-06-24 02:23:45 -07:00
  • d81fb08366 Use case insensitive regex matching with grep files tool Debanjum 2025-06-18 09:14:42 -07:00
  • 9c38326608 Add grep files tool to enable researcher to find documents by regex Debanjum 2025-06-16 21:19:21 -07:00
  • 59f5648dbd Add list files tool to enable researcher to find documents by path Debanjum 2025-06-14 00:34:47 -07:00
  • 2f9f608cff Add file viewer tool to enable researcher to read documents Debanjum 2025-06-13 22:20:36 -07:00
  • 721c55a37b Rename ResponseWithThought response field to text for better naming Debanjum 2025-06-13 18:40:10 -07:00
  • 490f0a435d Pass research tools directly with their varied args for flexibility Debanjum 2025-06-13 01:04:07 -07:00
  • 80522e370e Make researcher pick next tool using model function calling feature Debanjum 2025-06-11 17:21:53 -07:00
  • b888d5e65e Add function calling support to Anthropic, Gemini and OpenAI models Debanjum 2025-06-05 19:26:20 -07:00
  • 9607f2e87c Release Khoj version 1.42.8 Debanjum 2025-07-02 19:07:51 -07:00
  • f4fc76645c Upgrade electron package used by desktop app Debanjum 2025-07-02 18:47:37 -07:00
  • 96fb9bd87c Tune temperature and top_p to reduce gemini model repetition Debanjum 2025-06-29 15:11:08 -07:00
  • 9774bb012e Update agent knowledge base and configuration atomically Debanjum 2025-07-02 14:41:50 -07:00