khoj 1.32.3.dev23__py3-none-any.whl → 1.32.3.dev54__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. khoj/interface/compiled/404/index.html +1 -1
  2. khoj/interface/compiled/_next/static/chunks/1010-8f39bb4648b5ba10.js +1 -0
  3. khoj/interface/compiled/_next/static/chunks/182-8cd8b17d40e6e989.js +20 -0
  4. khoj/interface/compiled/_next/static/chunks/4124-f5c857c57e5391d9.js +1 -0
  5. khoj/interface/compiled/_next/static/chunks/5243-f7f0a2a6e1ac5d28.js +1 -0
  6. khoj/interface/compiled/_next/static/chunks/5427-b52d95253e692bfa.js +1 -0
  7. khoj/interface/compiled/_next/static/chunks/5477-0bbddb79c25a54a7.js +1 -0
  8. khoj/interface/compiled/_next/static/chunks/6065-64db9ad305ba0bcd.js +1 -0
  9. khoj/interface/compiled/_next/static/chunks/{3175-b2e522f8ca392f7e.js → 6293-469dd16402ea8a6f.js} +2 -2
  10. khoj/interface/compiled/_next/static/chunks/8667-d3e5bc726e4ff4e3.js +1 -0
  11. khoj/interface/compiled/_next/static/chunks/app/agents/layout-e49165209d2e406c.js +1 -0
  12. khoj/interface/compiled/_next/static/chunks/app/agents/page-3128cbc99e97b41f.js +1 -0
  13. khoj/interface/compiled/_next/static/chunks/app/automations/{page-486b50016a08b4b5.js → page-a69f432a177a1cb1.js} +1 -1
  14. khoj/interface/compiled/_next/static/chunks/app/chat/layout-d5ae861e1ade9d08.js +1 -0
  15. khoj/interface/compiled/_next/static/chunks/app/chat/page-24bd2babb00ef871.js +1 -0
  16. khoj/interface/compiled/_next/static/chunks/app/page-260edf62476e9669.js +1 -0
  17. khoj/interface/compiled/_next/static/chunks/app/search/layout-c02531d586972d7d.js +1 -0
  18. khoj/interface/compiled/_next/static/chunks/app/search/{page-439eb6b3073f3224.js → page-e1669aa16c662a5d.js} +1 -1
  19. khoj/interface/compiled/_next/static/chunks/app/settings/layout-d09d6510a45cd4bd.js +1 -0
  20. khoj/interface/compiled/_next/static/chunks/app/settings/page-4b13801b99e0935b.js +1 -0
  21. khoj/interface/compiled/_next/static/chunks/app/share/chat/layout-95998f0bdc22bb13.js +1 -0
  22. khoj/interface/compiled/_next/static/chunks/app/share/chat/page-5e452d2692ee2cf0.js +1 -0
  23. khoj/interface/compiled/_next/static/chunks/{webpack-2a946d6408b83055.js → webpack-2e14e2569b58aa67.js} +1 -1
  24. khoj/interface/compiled/_next/static/css/307dd5243338dfd8.css +1 -0
  25. khoj/interface/compiled/_next/static/css/{c3acbadc30537d04.css → 4e4e6a4a1c920d06.css} +1 -1
  26. khoj/interface/compiled/_next/static/css/5dd9bb87a50b706e.css +25 -0
  27. khoj/interface/compiled/_next/static/css/9c164d9727dd8092.css +1 -0
  28. khoj/interface/compiled/_next/static/css/{00f41e24e96391e7.css → df4b47a2d0d85eae.css} +1 -1
  29. khoj/interface/compiled/agents/index.html +1 -1
  30. khoj/interface/compiled/agents/index.txt +2 -2
  31. khoj/interface/compiled/automations/index.html +1 -1
  32. khoj/interface/compiled/automations/index.txt +2 -2
  33. khoj/interface/compiled/chat/index.html +1 -1
  34. khoj/interface/compiled/chat/index.txt +2 -2
  35. khoj/interface/compiled/index.html +1 -1
  36. khoj/interface/compiled/index.txt +2 -2
  37. khoj/interface/compiled/search/index.html +1 -1
  38. khoj/interface/compiled/search/index.txt +2 -2
  39. khoj/interface/compiled/settings/index.html +1 -1
  40. khoj/interface/compiled/settings/index.txt +4 -4
  41. khoj/interface/compiled/share/chat/index.html +1 -1
  42. khoj/interface/compiled/share/chat/index.txt +2 -2
  43. khoj/routers/auth.py +32 -14
  44. khoj/routers/helpers.py +1 -1
  45. {khoj-1.32.3.dev23.dist-info → khoj-1.32.3.dev54.dist-info}/METADATA +1 -1
  46. {khoj-1.32.3.dev23.dist-info → khoj-1.32.3.dev54.dist-info}/RECORD +51 -53
  47. khoj/interface/compiled/_next/static/chunks/1234-5c66c4b4512fbca3.js +0 -20
  48. khoj/interface/compiled/_next/static/chunks/2633-78be7e42aa20a130.js +0 -20
  49. khoj/interface/compiled/_next/static/chunks/4357-03ea130575287c27.js +0 -1
  50. khoj/interface/compiled/_next/static/chunks/4925-f8f9a325afd43638.js +0 -1
  51. khoj/interface/compiled/_next/static/chunks/5427-a0a9ec9272c7dc22.js +0 -1
  52. khoj/interface/compiled/_next/static/chunks/5477-6e377986786baa88.js +0 -1
  53. khoj/interface/compiled/_next/static/chunks/6471-a53edba7728eff27.js +0 -1
  54. khoj/interface/compiled/_next/static/chunks/8055-9c08d578021a0bc3.js +0 -1
  55. khoj/interface/compiled/_next/static/chunks/8667-8d2e60d9a35f6bb5.js +0 -1
  56. khoj/interface/compiled/_next/static/chunks/9431-810871d753e53c6a.js +0 -1
  57. khoj/interface/compiled/_next/static/chunks/app/agents/layout-e00fb81dca656a10.js +0 -1
  58. khoj/interface/compiled/_next/static/chunks/app/agents/page-288c0edc461fa5c9.js +0 -1
  59. khoj/interface/compiled/_next/static/chunks/app/chat/layout-01fa675d4d56157c.js +0 -1
  60. khoj/interface/compiled/_next/static/chunks/app/chat/page-acfb668abec2b4c7.js +0 -1
  61. khoj/interface/compiled/_next/static/chunks/app/page-a9d3393760f6081d.js +0 -1
  62. khoj/interface/compiled/_next/static/chunks/app/search/layout-484d34239ed0f2b1.js +0 -1
  63. khoj/interface/compiled/_next/static/chunks/app/settings/layout-cfb0ab077038f9b8.js +0 -1
  64. khoj/interface/compiled/_next/static/chunks/app/settings/page-74e7a8877798eb27.js +0 -1
  65. khoj/interface/compiled/_next/static/chunks/app/share/chat/layout-b3f7ae1ef8871d30.js +0 -1
  66. khoj/interface/compiled/_next/static/chunks/app/share/chat/page-42623ff6bdbb91d9.js +0 -1
  67. khoj/interface/compiled/_next/static/css/6a9a043a6b83c0af.css +0 -1
  68. khoj/interface/compiled/_next/static/css/de88e9efc2116161.css +0 -25
  69. khoj/interface/compiled/_next/static/css/e546bf5cc4914244.css +0 -1
  70. /khoj/interface/compiled/_next/static/{jk7T_qfZU1hdYV-lgkSJT → cjGfvFwdmUHoj3lMJ1aB3}/_buildManifest.js +0 -0
  71. /khoj/interface/compiled/_next/static/{jk7T_qfZU1hdYV-lgkSJT → cjGfvFwdmUHoj3lMJ1aB3}/_ssgManifest.js +0 -0
  72. {khoj-1.32.3.dev23.dist-info → khoj-1.32.3.dev54.dist-info}/WHEEL +0 -0
  73. {khoj-1.32.3.dev23.dist-info → khoj-1.32.3.dev54.dist-info}/entry_points.txt +0 -0
  74. {khoj-1.32.3.dev23.dist-info → khoj-1.32.3.dev54.dist-info}/licenses/LICENSE +0 -0
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en" class="__variable_f36179 __variable_702545"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/1d8a05b60287ae6c-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/77c207b095007c34-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/82ef96de0e8f4d8c-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/a6ecd16fa044d500-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/bd82c78e5b7b3fe9-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/c4250770ab8708b6-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/e098aaaecc9cfbb2-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/089de1d8526b96e9.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/de88e9efc2116161.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/00f41e24e96391e7.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/6a9a043a6b83c0af.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/bb7461ef275b9b8b.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-2a946d6408b83055.js"/><script src="/_next/static/chunks/fd9d1056-4482b99a36fd1673.js" async=""></script><script src="/_next/static/chunks/2117-9886e6a0232dc093.js" async=""></script><script src="/_next/static/chunks/main-app-de1f09df97a3cfc7.js" async=""></script><script src="/_next/static/chunks/d3ac728e-44ebd2a0c99b12a0.js" async=""></script><script src="/_next/static/chunks/9259-27d1ff42af9a43e0.js" async=""></script><script src="/_next/static/chunks/4925-f8f9a325afd43638.js" async=""></script><script src="/_next/static/chunks/8667-8d2e60d9a35f6bb5.js" async=""></script><script src="/_next/static/chunks/1234-5c66c4b4512fbca3.js" async=""></script><script src="/_next/static/chunks/4357-03ea130575287c27.js" async=""></script><script src="/_next/static/chunks/3175-b2e522f8ca392f7e.js" async=""></script><script src="/_next/static/chunks/8055-9c08d578021a0bc3.js" async=""></script><script src="/_next/static/chunks/9431-810871d753e53c6a.js" async=""></script><script src="/_next/static/chunks/5477-6e377986786baa88.js" async=""></script><script src="/_next/static/chunks/3789-a09e37a819171a9d.js" async=""></script><script src="/_next/static/chunks/app/share/chat/page-42623ff6bdbb91d9.js" async=""></script><meta http-equiv="Content-Security-Policy" content="default-src &#x27;self&#x27; https://assets.khoj.dev; media-src * blob:; script-src &#x27;self&#x27; https://assets.khoj.dev https://app.chatwoot.com https://accounts.google.com &#x27;unsafe-inline&#x27; &#x27;unsafe-eval&#x27;; connect-src &#x27;self&#x27; blob: https://ipapi.co/json ws://localhost:42110 https://accounts.google.com; style-src &#x27;self&#x27; https://assets.khoj.dev &#x27;unsafe-inline&#x27; https://fonts.googleapis.com https://accounts.google.com; img-src &#x27;self&#x27; data: blob: https://*.khoj.dev https://accounts.google.com https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src &#x27;self&#x27; https://assets.khoj.dev https://fonts.gstatic.com; frame-src &#x27;self&#x27; https://accounts.google.com https://app.chatwoot.com; child-src &#x27;self&#x27; https://app.chatwoot.com; object-src &#x27;none&#x27;;"/><meta http-equiv="Content-Security-Policy" content="default-src &#x27;self&#x27; https://assets.khoj.dev; media-src * blob:; script-src &#x27;self&#x27; https://assets.khoj.dev https://app.chatwoot.com https://accounts.google.com &#x27;unsafe-inline&#x27; &#x27;unsafe-eval&#x27;; connect-src &#x27;self&#x27; blob: https://ipapi.co/json ws://localhost:42110 https://accounts.google.com; style-src &#x27;self&#x27; https://assets.khoj.dev &#x27;unsafe-inline&#x27; https://fonts.googleapis.com https://accounts.google.com; img-src &#x27;self&#x27; data: blob: https://*.khoj.dev https://accounts.google.com https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src &#x27;self&#x27; https://assets.khoj.dev https://fonts.gstatic.com; frame-src &#x27;self&#x27; https://accounts.google.com https://app.chatwoot.com; child-src &#x27;self&#x27; https://app.chatwoot.com; object-src &#x27;none&#x27;;"/><title>Khoj AI - Ask Anything</title><meta name="description" content="Ask anything. Research answers from across the internet and your documents, draft messages, summarize documents, generate paintings and chat with personal agents."/><link rel="manifest" href="/static/khoj.webmanifest" crossorigin="use-credentials"/><meta name="keywords" content="research assistant, productivity, AI, Khoj, open source, model agnostic, research, productivity tool, personal assistant, personal research assistant, personal productivity assistant"/><meta property="og:title" content="Khoj AI - Ask Anything"/><meta property="og:description" content="Ask anything. Research answers from across the internet and your documents, draft messages, summarize documents, generate paintings and chat with personal agents."/><meta property="og:url" content="https://app.khoj.dev/chat/"/><meta property="og:site_name" content="Khoj AI"/><meta property="og:image" content="https://assets.khoj.dev/khoj_hero.png"/><meta property="og:image:width" content="940"/><meta property="og:image:height" content="525"/><meta property="og:image" content="https://assets.khoj.dev/khoj_lantern_256x256.png"/><meta property="og:image:width" content="256"/><meta property="og:image:height" content="256"/><meta property="og:type" content="website"/><meta name="twitter:card" content="summary_large_image"/><meta name="twitter:title" content="Khoj AI - Ask Anything"/><meta name="twitter:description" content="Ask anything. Research answers from across the internet and your documents, draft messages, summarize documents, generate paintings and chat with personal agents."/><meta name="twitter:image" content="https://assets.khoj.dev/khoj_hero.png"/><meta name="twitter:image:width" content="940"/><meta name="twitter:image:height" content="525"/><meta name="twitter:image" content="https://assets.khoj.dev/khoj_lantern_256x256.png"/><meta name="twitter:image:width" content="256"/><meta name="twitter:image:height" content="256"/><link rel="icon" href="/static/assets/icons/khoj_lantern.ico"/><link rel="apple-touch-icon" href="/static/assets/icons/khoj_lantern_256x256.png"/><meta name="next-size-adjust"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><html lang="en" class="__variable_f36179 __variable_702545"><body><div class="bg-background opacity-50 flex items-center justify-center h-screen"><div>Loading<!-- --> <span><svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" viewBox="0 0 256 256" class="inline animate-spin h-5 w-5"><path d="M232,128a104,104,0,0,1-208,0c0-41,23.81-78.36,60.66-95.27a8,8,0,0,1,6.68,14.54C60.15,61.59,40,93.27,40,128a88,88,0,0,0,176,0c0-34.73-20.15-66.41-51.34-80.73a8,8,0,0,1,6.68-14.54C208.19,49.64,232,87,232,128Z"></path></svg></span></div></div><script>window.EXCALIDRAW_ASSET_PATH = 'https://assets.khoj.dev/@excalidraw/excalidraw/dist/';</script><script src="/_next/static/chunks/webpack-2a946d6408b83055.js" async=""></script></body></html><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/media/1d8a05b60287ae6c-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/_next/static/media/77c207b095007c34-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n3:HL[\"/_next/static/media/82ef96de0e8f4d8c-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n4:HL[\"/_next/static/media/a6ecd16fa044d500-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n5:HL[\"/_next/static/media/bd82c78e5b7b3fe9-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n6:HL[\"/_next/static/media/c4250770ab8708b6-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n7:HL[\"/_next/static/media/e098aaaecc9cfbb2-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n8:HL[\"/_next/static/css/089de1d8526b96e9.css\",\"style\"]\n9:HL[\"/_next/static/css/de88e9efc2116161.css\",\"style\"]\na:HL[\"/_next/static/css/00f41e24e96391e7.css\",\"style\"]\nb:HL[\"/_next/static/css/6a9a043a6b83c0af.css\",\"style\"]\nc:HL[\"/_next/static/css/bb7461ef275b9b8b.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"d:I[12846,[],\"\"]\nf:I[19107,[],\"ClientPageRoot\"]\n10:I[41694,[\"3954\",\"static/chunks/d3ac728e-44ebd2a0c99b12a0.js\",\"9259\",\"static/chunks/9259-27d1ff42af9a43e0.js\",\"4925\",\"static/chunks/4925-f8f9a325afd43638.js\",\"8667\",\"static/chunks/8667-8d2e60d9a35f6bb5.js\",\"1234\",\"static/chunks/1234-5c66c4b4512fbca3.js\",\"4357\",\"static/chunks/4357-03ea130575287c27.js\",\"3175\",\"static/chunks/3175-b2e522f8ca392f7e.js\",\"8055\",\"static/chunks/8055-9c08d578021a0bc3.js\",\"9431\",\"static/chunks/9431-810871d753e53c6a.js\",\"5477\",\"static/chunks/5477-6e377986786baa88.js\",\"3789\",\"static/chunks/3789-a09e37a819171a9d.js\",\"3111\",\"static/chunks/app/share/chat/page-42623ff6bdbb91d9.js\"],\"default\",1]\n11:I[4707,[],\"\"]\n12:I[36423,[],\"\"]\n14:I[61060,[],\"\"]\n15:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$Ld\",null,{\"buildId\":\"jk7T_qfZU1hdYV-lgkSJT\",\"assetPrefix\":\"\",\"urlParts\":[\"\",\"share\",\"chat\",\"\"],\"initialTree\":[\"\",{\"children\":[\"share\",{\"children\":[\"chat\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"share\",{\"children\":[\"chat\",{\"children\":[\"__PAGE__\",{},[[\"$Le\",[\"$\",\"$Lf\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$10\"}],[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/00f41e24e96391e7.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/6a9a043a6b83c0af.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"2\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/bb7461ef275b9b8b.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]]],null],null]},[[null,[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"__variable_f36179 __variable_702545\",\"children\":[[\"$\",\"meta\",null,{\"httpEquiv\":\"Content-Security-Policy\",\"content\":\"default-src 'self' https://assets.khoj.dev; media-src * blob:; script-src 'self' https://assets.khoj.dev https://app.chatwoot.com https://accounts.google.com 'unsafe-inline' 'unsafe-eval'; connect-src 'self' blob: https://ipapi.co/json ws://localhost:42110 https://accounts.google.com; style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com https://accounts.google.com; img-src 'self' data: blob: https://*.khoj.dev https://accounts.google.com https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com; frame-src 'self' https://accounts.google.com https://app.chatwoot.com; child-src 'self' https://app.chatwoot.com; object-src 'none';\"}],[\"$\",\"body\",null,{\"children\":[[\"$\",\"$L11\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"share\",\"children\",\"chat\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L12\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}],[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"window.EXCALIDRAW_ASSET_PATH = 'https://assets.khoj.dev/@excalidraw/excalidraw/dist/';\"}}]]}]]}]],null],null]},[null,[\"$\",\"$L11\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"share\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L12\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/089de1d8526b96e9.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/de88e9efc2116161.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"__variable_f36179 __variable_702545\",\"children\":[[\"$\",\"meta\",null,{\"httpEquiv\":\"Content-Security-Policy\",\"content\":\"default-src 'self' https://assets.khoj.dev; media-src * blob:; script-src 'self' https://assets.khoj.dev https://app.chatwoot.com https://accounts.google.com 'unsafe-inline' 'unsafe-eval'; connect-src 'self' blob: https://ipapi.co/json ws://localhost:42110 https://accounts.google.com; style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com https://accounts.google.com; img-src 'self' data: blob: https://*.khoj.dev https://accounts.google.com https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com; frame-src 'self' https://accounts.google.com https://app.chatwoot.com; child-src 'self' https://app.chatwoot.com; object-src 'none';\"}],[\"$\",\"body\",null,{\"children\":[\"$\",\"$L11\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L12\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L13\"],\"globalErrorComponent\":\"$14\",\"missingSlots\":\"$W15\"}]\n"])</script><script>self.__next_f.push([1,"13:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"Khoj AI - Ask Anything\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Ask anything. Research answers from across the internet and your documents, draft messages, summarize documents, generate paintings and chat with personal agents.\"}],[\"$\",\"link\",\"4\",{\"rel\":\"manifest\",\"href\":\"/static/khoj.webmanifest\",\"crossOrigin\":\"use-credentials\"}],[\"$\",\"meta\",\"5\",{\"name\":\"keywords\",\"content\":\"research assistant, productivity, AI, Khoj, open source, model agnostic, research, productivity tool, personal assistant, personal research assistant, personal productivity assistant\"}],[\"$\",\"meta\",\"6\",{\"property\":\"og:title\",\"content\":\"Khoj AI - Ask Anything\"}],[\"$\",\"meta\",\"7\",{\"property\":\"og:description\",\"content\":\"Ask anything. Research answers from across the internet and your documents, draft messages, summarize documents, generate paintings and chat with personal agents.\"}],[\"$\",\"meta\",\"8\",{\"property\":\"og:url\",\"content\":\"https://app.khoj.dev/chat/\"}],[\"$\",\"meta\",\"9\",{\"property\":\"og:site_name\",\"content\":\"Khoj AI\"}],[\"$\",\"meta\",\"10\",{\"property\":\"og:image\",\"content\":\"https://assets.khoj.dev/khoj_hero.png\"}],[\"$\",\"meta\",\"11\",{\"property\":\"og:image:width\",\"content\":\"940\"}],[\"$\",\"meta\",\"12\",{\"property\":\"og:image:height\",\"content\":\"525\"}],[\"$\",\"meta\",\"13\",{\"property\":\"og:image\",\"content\":\"https://assets.khoj.dev/khoj_lantern_256x256.png\"}],[\"$\",\"meta\",\"14\",{\"property\":\"og:image:width\",\"content\":\"256\"}],[\"$\",\"meta\",\"15\",{\"property\":\"og:image:height\",\"content\":\"256\"}],[\"$\",\"meta\",\"16\",{\"property\":\"og:type\",\"content\":\"website\"}],[\"$\",\"meta\",\"17\",{\"name\":\"twitter:card\",\"content\":\"summary_large_image\"}],[\"$\",\"meta\",\"18\",{\"name\":\"twitter:title\",\"content\":\"Khoj AI - Ask Anything\"}],[\"$\",\"meta\",\"19\",{\"name\":\"twitter:description\",\"content\":\"Ask anything. Research answers from across the internet and your documents, draft messages, summarize documents, generate paintings and chat with personal agents.\"}],[\"$\",\"meta\",\"20\",{\"name\":\"twitter:image\",\"content\":\"https://assets.khoj.dev/khoj_hero.png\"}],[\"$\",\"meta\",\"21\",{\"name\":\"twitter:image:width\",\"content\":\"940\"}],[\"$\",\"meta\",\"22\",{\"name\":\"twitter:image:height\",\"content\":\"525\"}],[\"$\",\"meta\",\"23\",{\"name\":\"twitter:image\",\"content\":\"https://assets.khoj.dev/khoj_lantern_256x256.png\"}],[\"$\",\"meta\",\"24\",{\"name\":\"twitter:image:width\",\"content\":\"256\"}],[\"$\",\"meta\",\"25\",{\"name\":\"twitter:image:height\",\"content\":\"256\"}],[\"$\",\"link\",\"26\",{\"rel\":\"icon\",\"href\":\"/static/assets/icons/khoj_lantern.ico\"}],[\"$\",\"link\",\"27\",{\"rel\":\"apple-touch-icon\",\"href\":\"/static/assets/icons/khoj_lantern_256x256.png\"}],[\"$\",\"meta\",\"28\",{\"name\":\"next-size-adjust\"}]]\n"])</script><script>self.__next_f.push([1,"e:null\n"])</script></body></html>
1
+ <!DOCTYPE html><html lang="en" class="__variable_f36179 __variable_702545"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/1d8a05b60287ae6c-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/77c207b095007c34-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/82ef96de0e8f4d8c-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/a6ecd16fa044d500-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/bd82c78e5b7b3fe9-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/c4250770ab8708b6-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/e098aaaecc9cfbb2-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/089de1d8526b96e9.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/5dd9bb87a50b706e.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/df4b47a2d0d85eae.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/9c164d9727dd8092.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/bb7461ef275b9b8b.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-2e14e2569b58aa67.js"/><script src="/_next/static/chunks/fd9d1056-4482b99a36fd1673.js" async=""></script><script src="/_next/static/chunks/2117-9886e6a0232dc093.js" async=""></script><script src="/_next/static/chunks/main-app-de1f09df97a3cfc7.js" async=""></script><script src="/_next/static/chunks/d3ac728e-44ebd2a0c99b12a0.js" async=""></script><script src="/_next/static/chunks/9259-27d1ff42af9a43e0.js" async=""></script><script src="/_next/static/chunks/8667-d3e5bc726e4ff4e3.js" async=""></script><script src="/_next/static/chunks/182-8cd8b17d40e6e989.js" async=""></script><script src="/_next/static/chunks/1010-8f39bb4648b5ba10.js" async=""></script><script src="/_next/static/chunks/6293-469dd16402ea8a6f.js" async=""></script><script src="/_next/static/chunks/4124-f5c857c57e5391d9.js" async=""></script><script src="/_next/static/chunks/5477-0bbddb79c25a54a7.js" async=""></script><script src="/_next/static/chunks/3789-a09e37a819171a9d.js" async=""></script><script src="/_next/static/chunks/app/share/chat/page-5e452d2692ee2cf0.js" async=""></script><meta http-equiv="Content-Security-Policy" content="default-src &#x27;self&#x27; https://assets.khoj.dev; media-src * blob:; script-src &#x27;self&#x27; https://assets.khoj.dev https://app.chatwoot.com https://accounts.google.com &#x27;unsafe-inline&#x27; &#x27;unsafe-eval&#x27;; connect-src &#x27;self&#x27; blob: https://ipapi.co/json ws://localhost:42110 https://accounts.google.com; style-src &#x27;self&#x27; https://assets.khoj.dev &#x27;unsafe-inline&#x27; https://fonts.googleapis.com https://accounts.google.com; img-src &#x27;self&#x27; data: blob: https://*.khoj.dev https://accounts.google.com https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src &#x27;self&#x27; https://assets.khoj.dev https://fonts.gstatic.com; frame-src &#x27;self&#x27; https://accounts.google.com https://app.chatwoot.com; child-src &#x27;self&#x27; https://app.chatwoot.com; object-src &#x27;none&#x27;;"/><meta http-equiv="Content-Security-Policy" content="default-src &#x27;self&#x27; https://assets.khoj.dev; media-src * blob:; script-src &#x27;self&#x27; https://assets.khoj.dev https://app.chatwoot.com https://accounts.google.com &#x27;unsafe-inline&#x27; &#x27;unsafe-eval&#x27;; connect-src &#x27;self&#x27; blob: https://ipapi.co/json ws://localhost:42110 https://accounts.google.com; style-src &#x27;self&#x27; https://assets.khoj.dev &#x27;unsafe-inline&#x27; https://fonts.googleapis.com https://accounts.google.com; img-src &#x27;self&#x27; data: blob: https://*.khoj.dev https://accounts.google.com https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src &#x27;self&#x27; https://assets.khoj.dev https://fonts.gstatic.com; frame-src &#x27;self&#x27; https://accounts.google.com https://app.chatwoot.com; child-src &#x27;self&#x27; https://app.chatwoot.com; object-src &#x27;none&#x27;;"/><title>Khoj AI - Ask Anything</title><meta name="description" content="Ask anything. Research answers from across the internet and your documents, draft messages, summarize documents, generate paintings and chat with personal agents."/><link rel="manifest" href="/static/khoj.webmanifest" crossorigin="use-credentials"/><meta name="keywords" content="research assistant, productivity, AI, Khoj, open source, model agnostic, research, productivity tool, personal assistant, personal research assistant, personal productivity assistant"/><meta property="og:title" content="Khoj AI - Ask Anything"/><meta property="og:description" content="Ask anything. Research answers from across the internet and your documents, draft messages, summarize documents, generate paintings and chat with personal agents."/><meta property="og:url" content="https://app.khoj.dev/chat/"/><meta property="og:site_name" content="Khoj AI"/><meta property="og:image" content="https://assets.khoj.dev/khoj_hero.png"/><meta property="og:image:width" content="940"/><meta property="og:image:height" content="525"/><meta property="og:image" content="https://assets.khoj.dev/khoj_lantern_256x256.png"/><meta property="og:image:width" content="256"/><meta property="og:image:height" content="256"/><meta property="og:type" content="website"/><meta name="twitter:card" content="summary_large_image"/><meta name="twitter:title" content="Khoj AI - Ask Anything"/><meta name="twitter:description" content="Ask anything. Research answers from across the internet and your documents, draft messages, summarize documents, generate paintings and chat with personal agents."/><meta name="twitter:image" content="https://assets.khoj.dev/khoj_hero.png"/><meta name="twitter:image:width" content="940"/><meta name="twitter:image:height" content="525"/><meta name="twitter:image" content="https://assets.khoj.dev/khoj_lantern_256x256.png"/><meta name="twitter:image:width" content="256"/><meta name="twitter:image:height" content="256"/><link rel="icon" href="/static/assets/icons/khoj_lantern.ico"/><link rel="apple-touch-icon" href="/static/assets/icons/khoj_lantern_256x256.png"/><meta name="next-size-adjust"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><html lang="en" class="__variable_f36179 __variable_702545"><body><div class="bg-background opacity-50 flex items-center justify-center h-screen"><div>Loading<!-- --> <span><svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" viewBox="0 0 256 256" class="inline animate-spin h-5 w-5"><path d="M232,128a104,104,0,0,1-208,0c0-41,23.81-78.36,60.66-95.27a8,8,0,0,1,6.68,14.54C60.15,61.59,40,93.27,40,128a88,88,0,0,0,176,0c0-34.73-20.15-66.41-51.34-80.73a8,8,0,0,1,6.68-14.54C208.19,49.64,232,87,232,128Z"></path></svg></span></div></div><script>window.EXCALIDRAW_ASSET_PATH = 'https://assets.khoj.dev/@excalidraw/excalidraw/dist/';</script><script src="/_next/static/chunks/webpack-2e14e2569b58aa67.js" async=""></script></body></html><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/media/1d8a05b60287ae6c-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/_next/static/media/77c207b095007c34-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n3:HL[\"/_next/static/media/82ef96de0e8f4d8c-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n4:HL[\"/_next/static/media/a6ecd16fa044d500-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n5:HL[\"/_next/static/media/bd82c78e5b7b3fe9-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n6:HL[\"/_next/static/media/c4250770ab8708b6-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n7:HL[\"/_next/static/media/e098aaaecc9cfbb2-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n8:HL[\"/_next/static/css/089de1d8526b96e9.css\",\"style\"]\n9:HL[\"/_next/static/css/5dd9bb87a50b706e.css\",\"style\"]\na:HL[\"/_next/static/css/df4b47a2d0d85eae.css\",\"style\"]\nb:HL[\"/_next/static/css/9c164d9727dd8092.css\",\"style\"]\nc:HL[\"/_next/static/css/bb7461ef275b9b8b.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"d:I[12846,[],\"\"]\nf:I[19107,[],\"ClientPageRoot\"]\n10:I[41694,[\"3954\",\"static/chunks/d3ac728e-44ebd2a0c99b12a0.js\",\"9259\",\"static/chunks/9259-27d1ff42af9a43e0.js\",\"8667\",\"static/chunks/8667-d3e5bc726e4ff4e3.js\",\"182\",\"static/chunks/182-8cd8b17d40e6e989.js\",\"1010\",\"static/chunks/1010-8f39bb4648b5ba10.js\",\"6293\",\"static/chunks/6293-469dd16402ea8a6f.js\",\"4124\",\"static/chunks/4124-f5c857c57e5391d9.js\",\"5477\",\"static/chunks/5477-0bbddb79c25a54a7.js\",\"3789\",\"static/chunks/3789-a09e37a819171a9d.js\",\"3111\",\"static/chunks/app/share/chat/page-5e452d2692ee2cf0.js\"],\"default\",1]\n11:I[4707,[],\"\"]\n12:I[36423,[],\"\"]\n14:I[61060,[],\"\"]\n15:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$Ld\",null,{\"buildId\":\"cjGfvFwdmUHoj3lMJ1aB3\",\"assetPrefix\":\"\",\"urlParts\":[\"\",\"share\",\"chat\",\"\"],\"initialTree\":[\"\",{\"children\":[\"share\",{\"children\":[\"chat\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"share\",{\"children\":[\"chat\",{\"children\":[\"__PAGE__\",{},[[\"$Le\",[\"$\",\"$Lf\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$10\"}],[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/df4b47a2d0d85eae.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/9c164d9727dd8092.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"2\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/bb7461ef275b9b8b.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]]],null],null]},[[null,[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"__variable_f36179 __variable_702545\",\"children\":[[\"$\",\"meta\",null,{\"httpEquiv\":\"Content-Security-Policy\",\"content\":\"default-src 'self' https://assets.khoj.dev; media-src * blob:; script-src 'self' https://assets.khoj.dev https://app.chatwoot.com https://accounts.google.com 'unsafe-inline' 'unsafe-eval'; connect-src 'self' blob: https://ipapi.co/json ws://localhost:42110 https://accounts.google.com; style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com https://accounts.google.com; img-src 'self' data: blob: https://*.khoj.dev https://accounts.google.com https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com; frame-src 'self' https://accounts.google.com https://app.chatwoot.com; child-src 'self' https://app.chatwoot.com; object-src 'none';\"}],[\"$\",\"body\",null,{\"children\":[[\"$\",\"$L11\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"share\",\"children\",\"chat\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L12\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}],[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"window.EXCALIDRAW_ASSET_PATH = 'https://assets.khoj.dev/@excalidraw/excalidraw/dist/';\"}}]]}]]}]],null],null]},[null,[\"$\",\"$L11\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"share\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L12\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/089de1d8526b96e9.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/5dd9bb87a50b706e.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"__variable_f36179 __variable_702545\",\"children\":[[\"$\",\"meta\",null,{\"httpEquiv\":\"Content-Security-Policy\",\"content\":\"default-src 'self' https://assets.khoj.dev; media-src * blob:; script-src 'self' https://assets.khoj.dev https://app.chatwoot.com https://accounts.google.com 'unsafe-inline' 'unsafe-eval'; connect-src 'self' blob: https://ipapi.co/json ws://localhost:42110 https://accounts.google.com; style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com https://accounts.google.com; img-src 'self' data: blob: https://*.khoj.dev https://accounts.google.com https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com; frame-src 'self' https://accounts.google.com https://app.chatwoot.com; child-src 'self' https://app.chatwoot.com; object-src 'none';\"}],[\"$\",\"body\",null,{\"children\":[\"$\",\"$L11\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L12\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L13\"],\"globalErrorComponent\":\"$14\",\"missingSlots\":\"$W15\"}]\n"])</script><script>self.__next_f.push([1,"13:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"Khoj AI - Ask Anything\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Ask anything. Research answers from across the internet and your documents, draft messages, summarize documents, generate paintings and chat with personal agents.\"}],[\"$\",\"link\",\"4\",{\"rel\":\"manifest\",\"href\":\"/static/khoj.webmanifest\",\"crossOrigin\":\"use-credentials\"}],[\"$\",\"meta\",\"5\",{\"name\":\"keywords\",\"content\":\"research assistant, productivity, AI, Khoj, open source, model agnostic, research, productivity tool, personal assistant, personal research assistant, personal productivity assistant\"}],[\"$\",\"meta\",\"6\",{\"property\":\"og:title\",\"content\":\"Khoj AI - Ask Anything\"}],[\"$\",\"meta\",\"7\",{\"property\":\"og:description\",\"content\":\"Ask anything. Research answers from across the internet and your documents, draft messages, summarize documents, generate paintings and chat with personal agents.\"}],[\"$\",\"meta\",\"8\",{\"property\":\"og:url\",\"content\":\"https://app.khoj.dev/chat/\"}],[\"$\",\"meta\",\"9\",{\"property\":\"og:site_name\",\"content\":\"Khoj AI\"}],[\"$\",\"meta\",\"10\",{\"property\":\"og:image\",\"content\":\"https://assets.khoj.dev/khoj_hero.png\"}],[\"$\",\"meta\",\"11\",{\"property\":\"og:image:width\",\"content\":\"940\"}],[\"$\",\"meta\",\"12\",{\"property\":\"og:image:height\",\"content\":\"525\"}],[\"$\",\"meta\",\"13\",{\"property\":\"og:image\",\"content\":\"https://assets.khoj.dev/khoj_lantern_256x256.png\"}],[\"$\",\"meta\",\"14\",{\"property\":\"og:image:width\",\"content\":\"256\"}],[\"$\",\"meta\",\"15\",{\"property\":\"og:image:height\",\"content\":\"256\"}],[\"$\",\"meta\",\"16\",{\"property\":\"og:type\",\"content\":\"website\"}],[\"$\",\"meta\",\"17\",{\"name\":\"twitter:card\",\"content\":\"summary_large_image\"}],[\"$\",\"meta\",\"18\",{\"name\":\"twitter:title\",\"content\":\"Khoj AI - Ask Anything\"}],[\"$\",\"meta\",\"19\",{\"name\":\"twitter:description\",\"content\":\"Ask anything. Research answers from across the internet and your documents, draft messages, summarize documents, generate paintings and chat with personal agents.\"}],[\"$\",\"meta\",\"20\",{\"name\":\"twitter:image\",\"content\":\"https://assets.khoj.dev/khoj_hero.png\"}],[\"$\",\"meta\",\"21\",{\"name\":\"twitter:image:width\",\"content\":\"940\"}],[\"$\",\"meta\",\"22\",{\"name\":\"twitter:image:height\",\"content\":\"525\"}],[\"$\",\"meta\",\"23\",{\"name\":\"twitter:image\",\"content\":\"https://assets.khoj.dev/khoj_lantern_256x256.png\"}],[\"$\",\"meta\",\"24\",{\"name\":\"twitter:image:width\",\"content\":\"256\"}],[\"$\",\"meta\",\"25\",{\"name\":\"twitter:image:height\",\"content\":\"256\"}],[\"$\",\"link\",\"26\",{\"rel\":\"icon\",\"href\":\"/static/assets/icons/khoj_lantern.ico\"}],[\"$\",\"link\",\"27\",{\"rel\":\"apple-touch-icon\",\"href\":\"/static/assets/icons/khoj_lantern_256x256.png\"}],[\"$\",\"meta\",\"28\",{\"name\":\"next-size-adjust\"}]]\n"])</script><script>self.__next_f.push([1,"e:null\n"])</script></body></html>
@@ -1,7 +1,7 @@
1
1
  2:I[19107,[],"ClientPageRoot"]
2
- 3:I[41694,["3954","static/chunks/d3ac728e-44ebd2a0c99b12a0.js","9259","static/chunks/9259-27d1ff42af9a43e0.js","4925","static/chunks/4925-f8f9a325afd43638.js","8667","static/chunks/8667-8d2e60d9a35f6bb5.js","1234","static/chunks/1234-5c66c4b4512fbca3.js","4357","static/chunks/4357-03ea130575287c27.js","3175","static/chunks/3175-b2e522f8ca392f7e.js","8055","static/chunks/8055-9c08d578021a0bc3.js","9431","static/chunks/9431-810871d753e53c6a.js","5477","static/chunks/5477-6e377986786baa88.js","3789","static/chunks/3789-a09e37a819171a9d.js","3111","static/chunks/app/share/chat/page-42623ff6bdbb91d9.js"],"default",1]
2
+ 3:I[41694,["3954","static/chunks/d3ac728e-44ebd2a0c99b12a0.js","9259","static/chunks/9259-27d1ff42af9a43e0.js","8667","static/chunks/8667-d3e5bc726e4ff4e3.js","182","static/chunks/182-8cd8b17d40e6e989.js","1010","static/chunks/1010-8f39bb4648b5ba10.js","6293","static/chunks/6293-469dd16402ea8a6f.js","4124","static/chunks/4124-f5c857c57e5391d9.js","5477","static/chunks/5477-0bbddb79c25a54a7.js","3789","static/chunks/3789-a09e37a819171a9d.js","3111","static/chunks/app/share/chat/page-5e452d2692ee2cf0.js"],"default",1]
3
3
  4:I[4707,[],""]
4
4
  5:I[36423,[],""]
5
- 0:["jk7T_qfZU1hdYV-lgkSJT",[[["",{"children":["share",{"children":["chat",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["share",{"children":["chat",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/00f41e24e96391e7.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/6a9a043a6b83c0af.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","2",{"rel":"stylesheet","href":"/_next/static/css/bb7461ef275b9b8b.css","precedence":"next","crossOrigin":"$undefined"}]]],null],null]},[[null,["$","html",null,{"lang":"en","className":"__variable_f36179 __variable_702545","children":[["$","meta",null,{"httpEquiv":"Content-Security-Policy","content":"default-src 'self' https://assets.khoj.dev; media-src * blob:; script-src 'self' https://assets.khoj.dev https://app.chatwoot.com https://accounts.google.com 'unsafe-inline' 'unsafe-eval'; connect-src 'self' blob: https://ipapi.co/json ws://localhost:42110 https://accounts.google.com; style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com https://accounts.google.com; img-src 'self' data: blob: https://*.khoj.dev https://accounts.google.com https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com; frame-src 'self' https://accounts.google.com https://app.chatwoot.com; child-src 'self' https://app.chatwoot.com; object-src 'none';"}],["$","body",null,{"children":[["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","share","children","chat","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}],["$","script",null,{"dangerouslySetInnerHTML":{"__html":"window.EXCALIDRAW_ASSET_PATH = 'https://assets.khoj.dev/@excalidraw/excalidraw/dist/';"}}]]}]]}]],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","share","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/089de1d8526b96e9.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/de88e9efc2116161.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","className":"__variable_f36179 __variable_702545","children":[["$","meta",null,{"httpEquiv":"Content-Security-Policy","content":"default-src 'self' https://assets.khoj.dev; media-src * blob:; script-src 'self' https://assets.khoj.dev https://app.chatwoot.com https://accounts.google.com 'unsafe-inline' 'unsafe-eval'; connect-src 'self' blob: https://ipapi.co/json ws://localhost:42110 https://accounts.google.com; style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com https://accounts.google.com; img-src 'self' data: blob: https://*.khoj.dev https://accounts.google.com https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com; frame-src 'self' https://accounts.google.com https://app.chatwoot.com; child-src 'self' https://app.chatwoot.com; object-src 'none';"}],["$","body",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]]}]],null],null],["$L6",null]]]]
5
+ 0:["cjGfvFwdmUHoj3lMJ1aB3",[[["",{"children":["share",{"children":["chat",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["share",{"children":["chat",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/df4b47a2d0d85eae.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/9c164d9727dd8092.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","2",{"rel":"stylesheet","href":"/_next/static/css/bb7461ef275b9b8b.css","precedence":"next","crossOrigin":"$undefined"}]]],null],null]},[[null,["$","html",null,{"lang":"en","className":"__variable_f36179 __variable_702545","children":[["$","meta",null,{"httpEquiv":"Content-Security-Policy","content":"default-src 'self' https://assets.khoj.dev; media-src * blob:; script-src 'self' https://assets.khoj.dev https://app.chatwoot.com https://accounts.google.com 'unsafe-inline' 'unsafe-eval'; connect-src 'self' blob: https://ipapi.co/json ws://localhost:42110 https://accounts.google.com; style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com https://accounts.google.com; img-src 'self' data: blob: https://*.khoj.dev https://accounts.google.com https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com; frame-src 'self' https://accounts.google.com https://app.chatwoot.com; child-src 'self' https://app.chatwoot.com; object-src 'none';"}],["$","body",null,{"children":[["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","share","children","chat","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}],["$","script",null,{"dangerouslySetInnerHTML":{"__html":"window.EXCALIDRAW_ASSET_PATH = 'https://assets.khoj.dev/@excalidraw/excalidraw/dist/';"}}]]}]]}]],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","share","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/089de1d8526b96e9.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/5dd9bb87a50b706e.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","className":"__variable_f36179 __variable_702545","children":[["$","meta",null,{"httpEquiv":"Content-Security-Policy","content":"default-src 'self' https://assets.khoj.dev; media-src * blob:; script-src 'self' https://assets.khoj.dev https://app.chatwoot.com https://accounts.google.com 'unsafe-inline' 'unsafe-eval'; connect-src 'self' blob: https://ipapi.co/json ws://localhost:42110 https://accounts.google.com; style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com https://accounts.google.com; img-src 'self' data: blob: https://*.khoj.dev https://accounts.google.com https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com; frame-src 'self' https://accounts.google.com https://app.chatwoot.com; child-src 'self' https://app.chatwoot.com; object-src 'none';"}],["$","body",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]]}]],null],null],["$L6",null]]]]
6
6
  6:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"Khoj AI - Ask Anything"}],["$","meta","3",{"name":"description","content":"Ask anything. Research answers from across the internet and your documents, draft messages, summarize documents, generate paintings and chat with personal agents."}],["$","link","4",{"rel":"manifest","href":"/static/khoj.webmanifest","crossOrigin":"use-credentials"}],["$","meta","5",{"name":"keywords","content":"research assistant, productivity, AI, Khoj, open source, model agnostic, research, productivity tool, personal assistant, personal research assistant, personal productivity assistant"}],["$","meta","6",{"property":"og:title","content":"Khoj AI - Ask Anything"}],["$","meta","7",{"property":"og:description","content":"Ask anything. Research answers from across the internet and your documents, draft messages, summarize documents, generate paintings and chat with personal agents."}],["$","meta","8",{"property":"og:url","content":"https://app.khoj.dev/chat/"}],["$","meta","9",{"property":"og:site_name","content":"Khoj AI"}],["$","meta","10",{"property":"og:image","content":"https://assets.khoj.dev/khoj_hero.png"}],["$","meta","11",{"property":"og:image:width","content":"940"}],["$","meta","12",{"property":"og:image:height","content":"525"}],["$","meta","13",{"property":"og:image","content":"https://assets.khoj.dev/khoj_lantern_256x256.png"}],["$","meta","14",{"property":"og:image:width","content":"256"}],["$","meta","15",{"property":"og:image:height","content":"256"}],["$","meta","16",{"property":"og:type","content":"website"}],["$","meta","17",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","18",{"name":"twitter:title","content":"Khoj AI - Ask Anything"}],["$","meta","19",{"name":"twitter:description","content":"Ask anything. Research answers from across the internet and your documents, draft messages, summarize documents, generate paintings and chat with personal agents."}],["$","meta","20",{"name":"twitter:image","content":"https://assets.khoj.dev/khoj_hero.png"}],["$","meta","21",{"name":"twitter:image:width","content":"940"}],["$","meta","22",{"name":"twitter:image:height","content":"525"}],["$","meta","23",{"name":"twitter:image","content":"https://assets.khoj.dev/khoj_lantern_256x256.png"}],["$","meta","24",{"name":"twitter:image:width","content":"256"}],["$","meta","25",{"name":"twitter:image:height","content":"256"}],["$","link","26",{"rel":"icon","href":"/static/assets/icons/khoj_lantern.ico"}],["$","link","27",{"rel":"apple-touch-icon","href":"/static/assets/icons/khoj_lantern_256x256.png"}],["$","meta","28",{"name":"next-size-adjust"}]]
7
7
  1:null
khoj/routers/auth.py CHANGED
@@ -3,6 +3,7 @@ import datetime
3
3
  import logging
4
4
  import os
5
5
  from typing import Optional
6
+ from urllib.parse import parse_qs, urlencode, urlparse, urlunparse
6
7
 
7
8
  import requests
8
9
  from fastapi import APIRouter, Depends
@@ -13,6 +14,7 @@ from starlette.requests import Request
13
14
  from starlette.responses import HTMLResponse, RedirectResponse, Response
14
15
  from starlette.status import HTTP_302_FOUND
15
16
 
17
+ from khoj.app.settings import DISABLE_HTTPS
16
18
  from khoj.database.adapters import (
17
19
  acreate_khoj_token,
18
20
  aget_or_create_user_by_email,
@@ -28,7 +30,6 @@ from khoj.routers.helpers import (
28
30
  update_telemetry_state,
29
31
  )
30
32
  from khoj.utils import state
31
- from khoj.utils.helpers import in_debug_mode
32
33
 
33
34
  logger = logging.getLogger(__name__)
34
35
 
@@ -204,23 +205,33 @@ async def auth_post(request: Request):
204
205
 
205
206
  @auth_router.get("/redirect")
206
207
  async def auth(request: Request):
207
- next_url = get_next_url(request)
208
- for q in request.query_params:
209
- if q in ["code", "state", "scope", "authuser", "prompt", "session_state", "access_type"]:
210
- continue
211
- if q != "next":
212
- next_url += f"&{q}={request.query_params[q]}"
213
-
214
- code = request.query_params.get("code")
208
+ next_url_path = get_next_url(request)
209
+
210
+ # Add query params from request, excluding OAuth params to next URL
211
+ oauth_params = {"code", "state", "scope", "authuser", "prompt", "session_state", "access_type", "next"}
212
+ query_params = {param: value for param, value in request.query_params.items() if param not in oauth_params}
213
+
214
+ # Rebuild next URL with updated query params
215
+ parsed_next_url_path = urlparse(next_url_path)
216
+ next_url = urlunparse(
217
+ (
218
+ parsed_next_url_path.scheme,
219
+ parsed_next_url_path.netloc,
220
+ parsed_next_url_path.path,
221
+ parsed_next_url_path.params,
222
+ urlencode(query_params, doseq=True),
223
+ parsed_next_url_path.fragment,
224
+ )
225
+ )
215
226
 
216
- # 1. Construct the full redirect URI including domain
227
+ # Construct the full redirect URI including domain
217
228
  base_url = str(request.base_url).rstrip("/")
218
-
219
- if not in_debug_mode():
229
+ if not DISABLE_HTTPS:
220
230
  base_url = base_url.replace("http://", "https://")
221
-
222
231
  redirect_uri = f"{base_url}{request.app.url_path_for('auth')}"
223
232
 
233
+ # Build the payload for the token request
234
+ code = request.query_params.get("code")
224
235
  payload = {
225
236
  "code": code,
226
237
  "client_id": os.environ["GOOGLE_CLIENT_ID"],
@@ -229,12 +240,14 @@ async def auth(request: Request):
229
240
  "grant_type": "authorization_code",
230
241
  }
231
242
 
243
+ # Request the token from Google
232
244
  verified_data = requests.post(
233
245
  "https://oauth2.googleapis.com/token",
234
246
  headers={"Content-Type": "application/x-www-form-urlencoded"},
235
247
  data=payload,
236
248
  )
237
249
 
250
+ # Validate the OAuth response
238
251
  if verified_data.status_code != 200:
239
252
  logger.error(f"Token request failed: {verified_data.text}")
240
253
  try:
@@ -245,20 +258,24 @@ async def auth(request: Request):
245
258
  verified_data.raise_for_status()
246
259
 
247
260
  credential = verified_data.json().get("id_token")
248
-
249
261
  if not credential:
250
262
  logger.error("Missing id_token in OAuth response")
251
263
  return RedirectResponse(url="/login?error=invalid_token", status_code=HTTP_302_FOUND)
252
264
 
265
+ # Validate the OAuth token
253
266
  try:
254
267
  idinfo = id_token.verify_oauth2_token(credential, google_requests.Request(), os.environ["GOOGLE_CLIENT_ID"])
255
268
  except OAuthError as error:
256
269
  return HTMLResponse(f"<h1>{error.error}</h1>")
270
+
271
+ # Get or create the authenticated user in the database
257
272
  khoj_user = await get_or_create_user(idinfo)
258
273
 
274
+ # Set the user session if the user is authenticated
259
275
  if khoj_user:
260
276
  request.session["user"] = dict(idinfo)
261
277
 
278
+ # Send a welcome email to new users
262
279
  if datetime.timedelta(minutes=3) > (datetime.datetime.now(datetime.timezone.utc) - khoj_user.date_joined):
263
280
  asyncio.create_task(send_welcome_email(idinfo["name"], idinfo["email"]))
264
281
  update_telemetry_state(
@@ -269,6 +286,7 @@ async def auth(request: Request):
269
286
  )
270
287
  logger.log(logging.INFO, f"🥳 New User Created: {khoj_user.uuid}")
271
288
 
289
+ # Redirect the user to the next URL
272
290
  return RedirectResponse(url=next_url, status_code=HTTP_302_FOUND)
273
291
 
274
292
 
khoj/routers/helpers.py CHANGED
@@ -325,7 +325,7 @@ async def acheck_if_safe_prompt(system_prompt: str, user: KhojUser = None, lax:
325
325
 
326
326
  response = response.strip()
327
327
  try:
328
- response = json.loads(response)
328
+ response = clean_json(response)
329
329
  is_safe = response.get("safe", "True") == "True"
330
330
  if not is_safe:
331
331
  reason = response.get("reason", "")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: khoj
3
- Version: 1.32.3.dev23
3
+ Version: 1.32.3.dev54
4
4
  Summary: Your Second Brain
5
5
  Project-URL: Homepage, https://khoj.dev
6
6
  Project-URL: Documentation, https://docs.khoj.dev
@@ -115,33 +115,31 @@ khoj/interface/compiled/chat.svg,sha256=l2JoYRRgk201adTTdvJ-buKUrc0WGfsudix5xEvt
115
115
  khoj/interface/compiled/close.svg,sha256=hQ2iFLkNzHk0_iyTrSbwnWAeXYlgA-c2Eof2Iqh76n4,417
116
116
  khoj/interface/compiled/copy-button-success.svg,sha256=byqWAYD3Pn9IOXRjOKudJ-TJbP2UESbQGvtLWazNGjY,829
117
117
  khoj/interface/compiled/copy-button.svg,sha256=05bKM2eRxksfBlAPT7yMaoNJEk85bZCxQg67EVrPeHo,669
118
- khoj/interface/compiled/index.html,sha256=lu-GLRx2NhFsbJSnX0huRMt4OxCS2A6it1pZLmA_BUw,16149
119
- khoj/interface/compiled/index.txt,sha256=L0UM7b3fjIV_jgQdfnkBeTlgB4yCzieyQUAf6eY5lnM,6890
118
+ khoj/interface/compiled/index.html,sha256=P08W_qfEuamdCnvVXkEUm-81Zl9tSwb8r2rdkT8idhA,15886
119
+ khoj/interface/compiled/index.txt,sha256=zV0c-2be_1tjwbRVmZMXZrGRMSequ6gZQzClyrnIPOQ,6792
120
120
  khoj/interface/compiled/khoj.webmanifest,sha256=9wOK2BMS6xH5NKd2eaUgTLg9WepIxB2K2U33KU89LD8,2543
121
121
  khoj/interface/compiled/logo.svg,sha256=_QCKVYM4WT2Qhcf7aVFImjq_s5CwjynGXYAOgI7yf8w,8059
122
122
  khoj/interface/compiled/send.svg,sha256=VdavOWkVddcwcGcld6pdfmwfz7S91M-9O28cfeiKJkM,635
123
123
  khoj/interface/compiled/share.svg,sha256=91lwo75PvMDrgocuZQab6EQ62CxRbubh9Bhw7CWMKbg,1221
124
124
  khoj/interface/compiled/thumbs-down.svg,sha256=JGNl-DwoRmH2XFMPWwFFklmoYtKxaQbkLE3nuYKe8ZY,1019
125
125
  khoj/interface/compiled/thumbs-up.svg,sha256=yS1wxTRtiztkN-6nZciLoYQUB_KTYNPV8xFRwH2TQFw,1036
126
- khoj/interface/compiled/404/index.html,sha256=fmM7kE5GQZMlEnSY5GlVyjXbpR-DLmJoeRdGAIqpnvA,15705
127
- khoj/interface/compiled/_next/static/chunks/1234-5c66c4b4512fbca3.js,sha256=_8C8NfImf0UtiOU3I_PUCaO8fI-ZlEweIBmIjtU_1-Y,43529
126
+ khoj/interface/compiled/404/index.html,sha256=i3NT0uJqYAK8keZFQxlMuz9BgOaUAlMkLj08UVoN-uM,15705
127
+ khoj/interface/compiled/_next/static/chunks/1010-8f39bb4648b5ba10.js,sha256=5YkAi84Tc3fqa83pPShWPNf6GInBsRvVDurP6WOjrqI,48173
128
+ khoj/interface/compiled/_next/static/chunks/182-8cd8b17d40e6e989.js,sha256=JRaMKdCDyIPYNIJkRYwiBj5I4h8JG8uj4I7Mxv9qiNA,469751
128
129
  khoj/interface/compiled/_next/static/chunks/1915-605f698f2573cfd4.js,sha256=qArqL3leavWRcZkX4ZuWgemtKnmV6c-_yrNtMu_8SeY,11277
129
130
  khoj/interface/compiled/_next/static/chunks/2117-9886e6a0232dc093.js,sha256=vTLu_qp-db5dk72ycjiCIq96HAsdHWNB3rC84EmAr-k,123993
130
131
  khoj/interface/compiled/_next/static/chunks/2581-455000f8aeb08fc3.js,sha256=Ym3HUf6T2AJZNSPk0X3e_j2-n6htoq39Uh-UPSzlQpk,27056
131
- khoj/interface/compiled/_next/static/chunks/2633-78be7e42aa20a130.js,sha256=-vBnABdMvB3r2VYqPAsBY6KMca6eCUNZQtZZWov_2zA,234841
132
- khoj/interface/compiled/_next/static/chunks/3175-b2e522f8ca392f7e.js,sha256=3W8bnHqqDtcvNuKvXiUEjFH9ZLn_04YXs6aTRlfvb3o,1105077
133
132
  khoj/interface/compiled/_next/static/chunks/3727.dcea8f2193111552.js,sha256=nPBaUoj--93LLnMYWR149vLsp3ZaViwX_6os6JJlujs,34242
134
133
  khoj/interface/compiled/_next/static/chunks/3789-a09e37a819171a9d.js,sha256=zaxGAee4SqCU7ngN5Hij1fsKoyqrRKnLZNx8LpagYa0,31652
135
- khoj/interface/compiled/_next/static/chunks/4357-03ea130575287c27.js,sha256=5FPNF2yXaXxgumg4KfPWQQcOrqeF0RnsTTS0jsviAyQ,45294
136
- khoj/interface/compiled/_next/static/chunks/4925-f8f9a325afd43638.js,sha256=7eAUx0PipKurUtHxVeopD1fz2lXyMCBgVM1FDHnKYys,426814
137
- khoj/interface/compiled/_next/static/chunks/5427-a0a9ec9272c7dc22.js,sha256=ahXR3gVR4xde6oUyzd6VSrrPNqYiVwOw-Wk0CLeAimU,31438
134
+ khoj/interface/compiled/_next/static/chunks/4124-f5c857c57e5391d9.js,sha256=bq1Z7M0jagSLiYXsPf6ZtpVbv6h5eVOw6r1cQ54YvME,124919
135
+ khoj/interface/compiled/_next/static/chunks/5243-f7f0a2a6e1ac5d28.js,sha256=FutSaX8UMYk7J_47NcsCB6H8hOpUbIHD10xHVyiycKY,221570
136
+ khoj/interface/compiled/_next/static/chunks/5427-b52d95253e692bfa.js,sha256=tPljJFjx3mRvd5QswmQ8xCiRCOGY48Ze2KtEgyIFdfA,31779
138
137
  khoj/interface/compiled/_next/static/chunks/5473-b1cf56dedac6577a.js,sha256=GggNQkdq_W4LyMcshYk7g6JEVnjHYGHXyloI05rGP58,45616
139
- khoj/interface/compiled/_next/static/chunks/5477-6e377986786baa88.js,sha256=4i2fTWHShW6ryw31MvHIuRuOlpuDz51sY9Vsay6gqKY,13415
140
- khoj/interface/compiled/_next/static/chunks/6471-a53edba7728eff27.js,sha256=nvEciH38oy4RFNKHgS2_3aXawNsdyrc1Yug4WsUE_i0,25676
141
- khoj/interface/compiled/_next/static/chunks/8055-9c08d578021a0bc3.js,sha256=GLFrVEOztyrJBI4CaKBi6HhmtYNxaqr-ULT6NKlh0Uw,109513
142
- khoj/interface/compiled/_next/static/chunks/8667-8d2e60d9a35f6bb5.js,sha256=OEWEMLjAR6_xMYwgha4M-PvWl7JEV37POa0Dki4SGZE,6387
138
+ khoj/interface/compiled/_next/static/chunks/5477-0bbddb79c25a54a7.js,sha256=gKDUs15ajWWuxIMV-CAYqumgqvcEMp_36liD1tRfdU0,14553
139
+ khoj/interface/compiled/_next/static/chunks/6065-64db9ad305ba0bcd.js,sha256=QHRBp6KEitIXyCMG4IOQyrDisokI7NR6rO5vBlLK0x8,23715
140
+ khoj/interface/compiled/_next/static/chunks/6293-469dd16402ea8a6f.js,sha256=eYDSoU5ouQST98It9-bq9BT-Juf_HzPTw2DHJ4iic80,1102198
141
+ khoj/interface/compiled/_next/static/chunks/8667-d3e5bc726e4ff4e3.js,sha256=kyiAVJTylsiOPFTb63uZn_pMlk4pYhDYt_N7xL76PTM,7214
143
142
  khoj/interface/compiled/_next/static/chunks/9259-27d1ff42af9a43e0.js,sha256=VPDpPt7r_7xpFB-OxF6mnr2dvKuwFFZltMkpnc98dc8,34824
144
- khoj/interface/compiled/_next/static/chunks/9431-810871d753e53c6a.js,sha256=fF6jKDJFKXqpg_lCx9uafpZV5X6Yxyq6JvAzf52Yylk,15331
145
143
  khoj/interface/compiled/_next/static/chunks/94ca1967.1d9b42d929a1ee8c.js,sha256=4NgDGkBrtrBndP5tKblKoLgi9xpn4aDpIRH4kDop9Q0,1174520
146
144
  khoj/interface/compiled/_next/static/chunks/9597.83583248dfbf6e73.js,sha256=CndAkafBFeXVlIIlItX7fkn5pQSFPUUULHUZUSnolSM,2121
147
145
  khoj/interface/compiled/_next/static/chunks/964ecbae.51d6faf8801d15e6.js,sha256=c2w-Bc3Ru91uRlwy-IZZs8tMBZF84I7YvVGwG3gofhI,1175120
@@ -152,35 +150,35 @@ khoj/interface/compiled/_next/static/chunks/framework-8e0e0f4a6b83a956.js,sha256
152
150
  khoj/interface/compiled/_next/static/chunks/main-app-de1f09df97a3cfc7.js,sha256=bqnztujKItXfFBzQlaBmDZyfJpQt_M93CXOuchJfpD0,471
153
151
  khoj/interface/compiled/_next/static/chunks/main-db4bfac6b0a8d00b.js,sha256=vPSmGIy1oxKoIImN-yu0Cac-8hxcwGJJvJ9V4UTGQ6k,111273
154
152
  khoj/interface/compiled/_next/static/chunks/polyfills-42372ed130431b0a.js,sha256=CXPB1kyIrcjjyVBBDLWLKI9yEY1ZZbeASUON648vloM,112594
155
- khoj/interface/compiled/_next/static/chunks/webpack-2a946d6408b83055.js,sha256=jaAUAHkRTZQEIS4_fA3_c8hJLKAe93ceXEd69DJbIjU,4009
153
+ khoj/interface/compiled/_next/static/chunks/webpack-2e14e2569b58aa67.js,sha256=pu2iwH8knC_84FuBibTrQtKRG1cesMVRGL2RbGEfrwI,4009
156
154
  khoj/interface/compiled/_next/static/chunks/app/layout-30e7fda7262713ce.js,sha256=U_kFR0Vycl8EfeY4NGizdPrucrgy5QnWZ4jqkkLJD20,712
157
- khoj/interface/compiled/_next/static/chunks/app/page-a9d3393760f6081d.js,sha256=Fc9H7qEytJoyEFyCa7rSCqGobJmWGYxEcGdE_K8nbI8,34396
155
+ khoj/interface/compiled/_next/static/chunks/app/page-260edf62476e9669.js,sha256=g3Q-DArO9f1LL-WcUrDq4ChU3qmn9ylAbVjwFkiM0r8,27621
158
156
  khoj/interface/compiled/_next/static/chunks/app/_not-found/page-a834eddae3e235df.js,sha256=zElhiTkdu2JqrEvJ8Lrxh4HCyfLmPllBHHWOuDtrVlw,1755
159
- khoj/interface/compiled/_next/static/chunks/app/agents/layout-e00fb81dca656a10.js,sha256=Prg_1BSPDnJDTXEx-Ai9RtlK0nesPWDFIVFFCMuVUiw,180
160
- khoj/interface/compiled/_next/static/chunks/app/agents/page-288c0edc461fa5c9.js,sha256=MuEnkRFhJKwt4yw3QLphu6I2LHszP_muKTFZ4hTWJvg,17578
157
+ khoj/interface/compiled/_next/static/chunks/app/agents/layout-e49165209d2e406c.js,sha256=WFG6nsdtjnYHsKazIx5-xBXemVzEKXfW_U6Q9dnc7CU,180
158
+ khoj/interface/compiled/_next/static/chunks/app/agents/page-3128cbc99e97b41f.js,sha256=CwUszDhljVgWay__jNPcNJZmk4c5h96VhMANUBKjNRE,17990
161
159
  khoj/interface/compiled/_next/static/chunks/app/automations/layout-1fe1537449f43496.js,sha256=s2wHeQ-ai9rKyU9EjOGY1Yo51L4ZEkjLtML85BqN3Zc,5143
162
- khoj/interface/compiled/_next/static/chunks/app/automations/page-486b50016a08b4b5.js,sha256=YRQqlq1c-V7JnLc8wm0_6Df9veN4_F2vbETdBYpjUBA,33866
163
- khoj/interface/compiled/_next/static/chunks/app/chat/layout-01fa675d4d56157c.js,sha256=1dS2MBx00yyKfsMfrfdS65tNKvaQW_PYdeuTr1lGl80,180
164
- khoj/interface/compiled/_next/static/chunks/app/chat/page-acfb668abec2b4c7.js,sha256=KNdnLyb6ZffLz5PNQSrZAu497o_VjWPvyTimg0Irom0,7444
165
- khoj/interface/compiled/_next/static/chunks/app/search/layout-484d34239ed0f2b1.js,sha256=L7gJxQXczJP6c7e8t24p_RirmegDRuyJRiGQg364TM4,180
166
- khoj/interface/compiled/_next/static/chunks/app/search/page-439eb6b3073f3224.js,sha256=bwjlAz_6Ze6v3CSfRxBNRimk9_3v0eqhwGNqQWrBbjA,7133
167
- khoj/interface/compiled/_next/static/chunks/app/settings/layout-cfb0ab077038f9b8.js,sha256=GT62JpAxEgkqZdaWvbI9gXVCTgpMXKCurmkMkCKOaXk,6972
168
- khoj/interface/compiled/_next/static/chunks/app/settings/page-74e7a8877798eb27.js,sha256=0PHgvh_x262HYRFLQT7XTlKvRC5tvH4-fxmj5zYOozM,32689
169
- khoj/interface/compiled/_next/static/chunks/app/share/chat/layout-b3f7ae1ef8871d30.js,sha256=JsEyiIoEsN1WLgEjun_x908uUc85ve2k3cNY4YF2yyw,180
170
- khoj/interface/compiled/_next/static/chunks/app/share/chat/page-42623ff6bdbb91d9.js,sha256=wBhVUJ73EnFHgt8P-dZ7HJ2NoLNkESVaeuBpLGhqtGg,4629
160
+ khoj/interface/compiled/_next/static/chunks/app/automations/page-a69f432a177a1cb1.js,sha256=Mki34fmeU-kY8v8B1nFJjEfcq_Noa4dtxTdrfjGCDiQ,34270
161
+ khoj/interface/compiled/_next/static/chunks/app/chat/layout-d5ae861e1ade9d08.js,sha256=oe6TgLOEOch5Nr3Z-DEdMIp3MD5vd0rH7dTp-mdEXYg,180
162
+ khoj/interface/compiled/_next/static/chunks/app/chat/page-24bd2babb00ef871.js,sha256=fISaIOFAMVRfS98loag9dQEWArhrPjaB1qsRZIgJlT4,7455
163
+ khoj/interface/compiled/_next/static/chunks/app/search/layout-c02531d586972d7d.js,sha256=VQACqzXZcJUaa3W_0wHsrdLP22pj8yqeAOGBQfVnQxw,180
164
+ khoj/interface/compiled/_next/static/chunks/app/search/page-e1669aa16c662a5d.js,sha256=sMHfYY2D4rw-DknI6vIE53SWSAD8dk8VOcEstsGdhGI,7137
165
+ khoj/interface/compiled/_next/static/chunks/app/settings/layout-d09d6510a45cd4bd.js,sha256=dIfmM5C_Al-Zh_uqaJmniSxjXbu3LqPzrEw4SQ7vs0I,6132
166
+ khoj/interface/compiled/_next/static/chunks/app/settings/page-4b13801b99e0935b.js,sha256=MDx0qnzbjJrCUm10kl8-G59AnfnIbrBPqTOqoI8EKXE,31267
167
+ khoj/interface/compiled/_next/static/chunks/app/share/chat/layout-95998f0bdc22bb13.js,sha256=DAKpITdwEGwTobUWKg2Fr8rYolYq2xNt9eUppTXkcsI,180
168
+ khoj/interface/compiled/_next/static/chunks/app/share/chat/page-5e452d2692ee2cf0.js,sha256=p5-cumnPU4oPlF15ZP8D_vGQI3ei6mGuVRmddbvgGlQ,4640
171
169
  khoj/interface/compiled/_next/static/chunks/pages/_app-3c9ca398d360b709.js,sha256=UqtikLsCsOWtDUJOW6Tuk9P-bV1V3MhYd3ghrQuEmfs,286
172
170
  khoj/interface/compiled/_next/static/chunks/pages/_error-cf5ca766ac8f493f.js,sha256=w_It3VzKT8O1M3CrJ_hZHsaU7M7dq3EAaVG8KvJ-fhU,253
173
- khoj/interface/compiled/_next/static/css/00f41e24e96391e7.css,sha256=gfBGRqSClcjB9nMAuAZ_aFU_GB09v-B04vrPk0pw25A,1725
171
+ khoj/interface/compiled/_next/static/cjGfvFwdmUHoj3lMJ1aB3/_buildManifest.js,sha256=f2_nYnw25hHWQJ-39Lf5OH1u6kgdbOInyfplqgjvAV4,224
172
+ khoj/interface/compiled/_next/static/cjGfvFwdmUHoj3lMJ1aB3/_ssgManifest.js,sha256=Z49s4suAsf5y_GfnQSvm4qtq2ggxEbZPfEDTXjy6XgA,80
174
173
  khoj/interface/compiled/_next/static/css/089de1d8526b96e9.css,sha256=sjpmNlk7H2uKEYK9_DFccNq9J8V9uR799cS0yT-E7EI,4041
175
174
  khoj/interface/compiled/_next/static/css/0f0e5dbeda138161.css,sha256=N5TecMg0L184wfBEO2To7pn81iOSZYcbuBWONYf2Cqg,791
175
+ khoj/interface/compiled/_next/static/css/307dd5243338dfd8.css,sha256=p5NIKY-t0BSsK_1vv-jU52o_6g7OchhVqC_4pq8chyc,17569
176
176
  khoj/interface/compiled/_next/static/css/37a73b87f02df402.css,sha256=hp0vlekKu0K2eITR5YIqFmLHQPqV3JETFnRd_-Uh0mk,165
177
- khoj/interface/compiled/_next/static/css/6a9a043a6b83c0af.css,sha256=SjTIs5FdFPmKPLmtaXppCmGeLXEJPpJAHXtnPuL_Dlw,30645
177
+ khoj/interface/compiled/_next/static/css/4e4e6a4a1c920d06.css,sha256=v52KOOFVYsJajTXsn7R2-B8ZU1dDPdmyN5J2a1d2dwk,1696
178
+ khoj/interface/compiled/_next/static/css/5dd9bb87a50b706e.css,sha256=FlAYD9w3ogdYu-0MZL_w0wT-SLvYHphm5OSaMcYVb7E,3072695
179
+ khoj/interface/compiled/_next/static/css/9c164d9727dd8092.css,sha256=89nMwZaML1CQfnzEPwbi_6vfauV5D8QwIiJBfsg3Hc8,30651
178
180
  khoj/interface/compiled/_next/static/css/bb7461ef275b9b8b.css,sha256=eoix_1bAd0oGkcidsOL8MhkI0R-5IMfVswY57eX8vGk,5468
179
- khoj/interface/compiled/_next/static/css/c3acbadc30537d04.css,sha256=DkW_MqKz7IXbXtwsh_AT2AfWymZxi_7pzkUGgEknKH8,1597
180
- khoj/interface/compiled/_next/static/css/de88e9efc2116161.css,sha256=Yb6iJ5-hUiLTBVbVGAspWQbxiQa13gdmvZXe3OLZ7Zc,3072188
181
- khoj/interface/compiled/_next/static/css/e546bf5cc4914244.css,sha256=BwYqeZwV4edoJrYHA5-XdlcN5nm7wSOa_slyODHpH9I,17584
182
- khoj/interface/compiled/_next/static/jk7T_qfZU1hdYV-lgkSJT/_buildManifest.js,sha256=f2_nYnw25hHWQJ-39Lf5OH1u6kgdbOInyfplqgjvAV4,224
183
- khoj/interface/compiled/_next/static/jk7T_qfZU1hdYV-lgkSJT/_ssgManifest.js,sha256=Z49s4suAsf5y_GfnQSvm4qtq2ggxEbZPfEDTXjy6XgA,80
181
+ khoj/interface/compiled/_next/static/css/df4b47a2d0d85eae.css,sha256=EsBNJADFxaffgFa5iSYHPswGl9RAN9UdK3jD3d_W9Hs,1736
184
182
  khoj/interface/compiled/_next/static/media/1d8a05b60287ae6c-s.p.woff2,sha256=IzKBwB_bpSGvO7C9aRv29Js-jAbZPRDI-D-P4H2P918,14508
185
183
  khoj/interface/compiled/_next/static/media/6f22fce21a7c433c-s.woff2,sha256=T773llrgKNUxGlJzhaH0DUs2rcuRHU7bQpf0DTC4sSU,21812
186
184
  khoj/interface/compiled/_next/static/media/77c207b095007c34-s.p.woff2,sha256=vk9tBKB084h1U8mxwJ5WNHDz_pdUVqE_xb9-ILVhKXY,168144
@@ -254,8 +252,8 @@ khoj/interface/compiled/_next/static/media/flags.3afdda2f.webp,sha256=M2AW_HLpBn
254
252
  khoj/interface/compiled/_next/static/media/flags@2x.5fbe9fc1.webp,sha256=BBeRPBZkxY3-aKkMnYv5TSkxmbeMbyUH4VRIPfrWg1E,137406
255
253
  khoj/interface/compiled/_next/static/media/globe.98e105ca.webp,sha256=g3ofb8-W9GM75zIhlvQhaS8I2py9TtrovOKR3_7Jf04,514
256
254
  khoj/interface/compiled/_next/static/media/globe@2x.974df6f8.webp,sha256=I_N7Yke3IOoS-0CC6XD8o0IUWG8PdPbrHmf6lpgWlZY,1380
257
- khoj/interface/compiled/agents/index.html,sha256=MepbN9HwueSKyatp_dBr2Ax_kw74voymFK4xP-lJjIo,17207
258
- khoj/interface/compiled/agents/index.txt,sha256=IrTU7PMBamzAR2e40oBcWTneMWoSM2lFnerurEprQG0,7575
255
+ khoj/interface/compiled/agents/index.html,sha256=wncho9MDDXthtdgDcDIAB217g8tGIuh_OMyDCiYCLX4,16944
256
+ khoj/interface/compiled/agents/index.txt,sha256=mH3w81Xv7NcCixW2Yh346djqfr-7qZEXeyTdULmyb98,7477
259
257
  khoj/interface/compiled/assets/icons/khoj_lantern.ico,sha256=eggu-B_v3z1R53EjOFhIqqPnICBGdoaw1xnc0NrzHck,174144
260
258
  khoj/interface/compiled/assets/icons/khoj_lantern.svg,sha256=I_8XP5X84gEOoCRhCRKOQn_GKZrz3SUBXct7WxHvY7c,8767
261
259
  khoj/interface/compiled/assets/icons/khoj_lantern_1200x1200.png,sha256=xDx0bbD-WMflgg8zck9oPIIuTIvywtuED2k7CjSQS4w,66194
@@ -270,16 +268,16 @@ khoj/interface/compiled/assets/samples/desktop-remember-plan-sample.png,sha256=i
270
268
  khoj/interface/compiled/assets/samples/phone-browse-draw-sample.png,sha256=Dd4fPwtFl6BWqnHjeb1mCK_ND0hhHsWtx8sNE7EiMuE,406179
271
269
  khoj/interface/compiled/assets/samples/phone-plain-chat-sample.png,sha256=DEDaNRCkfEWUeh3kYZWIQDTVK1a6KKnYdwj5ZWisN_Q,82985
272
270
  khoj/interface/compiled/assets/samples/phone-remember-plan-sample.png,sha256=Ma3blirRmq3X4oYSsDbbT7MDn29rymDrjwmUfA9BMuM,236285
273
- khoj/interface/compiled/automations/index.html,sha256=piAID9yy3LTM1gCwIo4R4IduGdyi1k4a2mh2xt2jKug,54898
274
- khoj/interface/compiled/automations/index.txt,sha256=WOxHkaj8McKH3BbwUvIylqmMqQZSuEZR00iqA8x5BHA,7609
275
- khoj/interface/compiled/chat/index.html,sha256=yDOI0y2cCXXIyrHHBm4F39a8Inxch-LSezAvlyKgByA,18045
276
- khoj/interface/compiled/chat/index.txt,sha256=gEReStehyejVQzrdIvp2MOgvAQt3Co0gA94CH3HTEqU,7980
277
- khoj/interface/compiled/search/index.html,sha256=fQARCI17UAwCM2YOWDXbnV3loTut2SXAwoVWsbwIvlI,53305
278
- khoj/interface/compiled/search/index.txt,sha256=ymD09YS00YhWLR_v2uf40TrA5Zn9kOv7z0EsYkgzRXU,6631
279
- khoj/interface/compiled/settings/index.html,sha256=AoO5cdHQ-vFTI3AnAAuXMFihuF1Sq-ICvs--89U3-CE,17392
280
- khoj/interface/compiled/settings/index.txt,sha256=1lBVubdAjEZE6iTaD62IRPsc0obUDA2Bi354uI6LceM,7733
281
- khoj/interface/compiled/share/chat/index.html,sha256=fFt9haMjzCTauZ9h8RwTXYFIE_JFSQjnQA-A8kS5S4Y,18884
282
- khoj/interface/compiled/share/chat/index.txt,sha256=Smm7VmoOXReIzaW-Kxb3KtpkZdKcNmSvBGe928DKDMQ,8538
271
+ khoj/interface/compiled/automations/index.html,sha256=Wq84tVR3yp23KV7OChG74mHD8aVvDnxmojmVmF1C5cE,52189
272
+ khoj/interface/compiled/automations/index.txt,sha256=w2bnTqKAIPXWrQhxdpW-cHvybV83HpMPdtzXfiUUztM,7511
273
+ khoj/interface/compiled/chat/index.html,sha256=LDAg21LF3PktcSTEzPDDgUl18-0cQnqEps9Bcax-T-Q,17782
274
+ khoj/interface/compiled/chat/index.txt,sha256=EQMJ627V9LQwU8U-yMBr6KeRsDvCfdlYVbWe0aNDPXU,7882
275
+ khoj/interface/compiled/search/index.html,sha256=NccNAL1iq3vmp0YJ8YqEA0aM6MAXPpc9OMdzR-UqOHo,50985
276
+ khoj/interface/compiled/search/index.txt,sha256=jIsLurdIsj_dDuarim9hdAZV4QAgCtiuYjJ3GzzKMtI,6677
277
+ khoj/interface/compiled/settings/index.html,sha256=bL-4EA76jxLg6lxZpZUZ2BRVYjQScck_urgmSIn8Hsw,17441
278
+ khoj/interface/compiled/settings/index.txt,sha256=lZRYzpZLx3SvOdHwWHcBEYvLBOpyzzB2TO7udBKTcUY,7779
279
+ khoj/interface/compiled/share/chat/index.html,sha256=CAy5mh449Wz6sU171UrP3DnYKBDUeJ0-gToy8FiPrF4,18621
280
+ khoj/interface/compiled/share/chat/index.txt,sha256=fGVj3xPvYFiMAgMNJwoYu6iDzucF-S91EOlZBmMk_bk,8440
283
281
  khoj/interface/email/feedback.html,sha256=xksuPFamx4hGWyTTxZKRgX_eiYQQEuv-eK9Xmkt-nwU,1216
284
282
  khoj/interface/email/magic_link.html,sha256=372ESbTPKM9acekuZcOIKOw6kBl-KikFg_L9MOHqJkg,2094
285
283
  khoj/interface/email/task.html,sha256=tY7a0gzVeQ2lSQNu7WyXR_s7VYeWTrxWEj1iHVuoVE4,2813
@@ -361,9 +359,9 @@ khoj/routers/api_content.py,sha256=WNlB6lVwRW8hHDthO2HypbpPvqrqt9rTU5oMRNknpMU,2
361
359
  khoj/routers/api_model.py,sha256=cEXEH9-213Mt7kv_YqfDjiN7uC0N1sdkdSajCIbZO58,3612
362
360
  khoj/routers/api_phone.py,sha256=p9yfc4WeMHDC0hg3aQk60a2VBy8rZPdEnz9wdJ7DzkU,2208
363
361
  khoj/routers/api_subscription.py,sha256=qnbKwA6N1TWK8Aiu1FFLka_JhbPOuwqT262NSHGZDiQ,5569
364
- khoj/routers/auth.py,sha256=WA99XW-GgdFjmqF_Kr9UOU9mEki9-2qiH19C0hjf5LI,9937
362
+ khoj/routers/auth.py,sha256=944BdNZaFlwX2f8dD1_Rj7KqJljowoha-XXRP6urgDc,10811
365
363
  khoj/routers/email.py,sha256=rHn8ZizG9TbKm0TK7xnio8qrf9T3tNH1vEBSaAEwRzs,3902
366
- khoj/routers/helpers.py,sha256=ZIHdWg1s8lfwwJRWOiYa_az5zyeFtdPmHer1g4pQ5cQ,84831
364
+ khoj/routers/helpers.py,sha256=meiUpWwDdxDiNYtIzctM1YOQ_sRHpLhDH5fffar5n7I,84831
367
365
  khoj/routers/notion.py,sha256=g53xyYFmjr2JnuIrTW2vytbfkiK_UkoRTxqnnLSmD5o,2802
368
366
  khoj/routers/research.py,sha256=KjUuo-rwtSqUX-0BYjXgP6cWeH3xazffwtxfxKXZL00,16083
369
367
  khoj/routers/storage.py,sha256=tJrwhFRVWv0MHv7V7huMc1Diwm-putZSwnZXJ3tqT_c,2338
@@ -388,8 +386,8 @@ khoj/utils/models.py,sha256=Q5tcC9-z25sCiub048fLnvZ6_IIO1bcPNxt5payekk0,2009
388
386
  khoj/utils/rawconfig.py,sha256=bQ_MGbBzYt6ZUIsHUwZjaHKDLh6GQ7h-sENkv3fyVbQ,5028
389
387
  khoj/utils/state.py,sha256=axjZhnby8L3bY-N1VVoWgBH1RpFGK6U3_ZeNo1Kt7hs,1679
390
388
  khoj/utils/yaml.py,sha256=qy1Tkc61rDMesBw_Cyx2vOR6H-Hngcsm5kYfjwQBwkE,1543
391
- khoj-1.32.3.dev23.dist-info/METADATA,sha256=VtQACfE6GK41zM81kVr79BGrCKYOsDSLyp9eevQiHOs,7533
392
- khoj-1.32.3.dev23.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
393
- khoj-1.32.3.dev23.dist-info/entry_points.txt,sha256=KBIcez5N_jCgq_ER4Uxf-e1lxTBMTE_BBjMwwfeZyAg,39
394
- khoj-1.32.3.dev23.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
395
- khoj-1.32.3.dev23.dist-info/RECORD,,
389
+ khoj-1.32.3.dev54.dist-info/METADATA,sha256=nut2QndnbWtHsVuy8fVKUJ8oJFPZ4A-wbHd1zUl3T5U,7533
390
+ khoj-1.32.3.dev54.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
391
+ khoj-1.32.3.dev54.dist-info/entry_points.txt,sha256=KBIcez5N_jCgq_ER4Uxf-e1lxTBMTE_BBjMwwfeZyAg,39
392
+ khoj-1.32.3.dev54.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
393
+ khoj-1.32.3.dev54.dist-info/RECORD,,