khoj 1.20.2.dev8__py3-none-any.whl → 1.20.3.dev1__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.
- khoj/interface/compiled/404/index.html +1 -1
- khoj/interface/compiled/_next/static/chunks/app/agents/{page-92e3bae0835afd85.js → page-2d8a97e1e218e0a2.js} +1 -1
- khoj/interface/compiled/_next/static/chunks/app/automations/{page-17905165eadb01a9.js → page-c6a7ed400fe63b44.js} +1 -1
- khoj/interface/compiled/_next/static/chunks/app/chat/{page-c574ff75a347bb59.js → page-c7556a63fbf22980.js} +1 -1
- khoj/interface/compiled/_next/static/chunks/app/factchecker/{page-f61e828911d7e40e.js → page-607e445a607742ad.js} +1 -1
- khoj/interface/compiled/_next/static/chunks/app/{page-e958a372662a7b25.js → page-013ae6073037c212.js} +1 -1
- khoj/interface/compiled/_next/static/chunks/app/search/{page-41d9cf6775f06492.js → page-f93dea59804c59d3.js} +1 -1
- khoj/interface/compiled/_next/static/chunks/app/settings/{page-12fe3dc419ac6e2c.js → page-46f805063404cd4a.js} +1 -1
- khoj/interface/compiled/_next/static/chunks/app/share/chat/{page-06fae0039ff6b951.js → page-8e1282322fbe8aa9.js} +1 -1
- khoj/interface/compiled/_next/static/chunks/{webpack-bf9465f128aa54d4.js → webpack-edd945a0298a9aac.js} +1 -1
- khoj/interface/compiled/_next/static/css/553f9cdcc7a2bcd6.css +1 -0
- khoj/interface/compiled/_next/static/css/56342076e57c6063.css +1 -0
- khoj/interface/compiled/_next/static/css/75b30a7873d68715.css +1 -0
- khoj/interface/compiled/_next/static/css/{2602b0918043c1e5.css → d121502f42a9e126.css} +1 -1
- khoj/interface/compiled/agents/index.html +1 -1
- khoj/interface/compiled/agents/index.txt +2 -2
- khoj/interface/compiled/automations/index.html +1 -1
- khoj/interface/compiled/automations/index.txt +2 -2
- khoj/interface/compiled/chat/index.html +1 -1
- khoj/interface/compiled/chat/index.txt +2 -2
- khoj/interface/compiled/factchecker/index.html +1 -1
- khoj/interface/compiled/factchecker/index.txt +2 -2
- khoj/interface/compiled/index.html +1 -1
- khoj/interface/compiled/index.txt +2 -2
- khoj/interface/compiled/search/index.html +1 -1
- khoj/interface/compiled/search/index.txt +2 -2
- khoj/interface/compiled/settings/index.html +1 -1
- khoj/interface/compiled/settings/index.txt +2 -2
- khoj/interface/compiled/share/chat/index.html +1 -1
- khoj/interface/compiled/share/chat/index.txt +2 -2
- khoj/routers/api_chat.py +5 -16
- khoj/routers/helpers.py +74 -0
- {khoj-1.20.2.dev8.dist-info → khoj-1.20.3.dev1.dist-info}/METADATA +1 -1
- {khoj-1.20.2.dev8.dist-info → khoj-1.20.3.dev1.dist-info}/RECORD +39 -39
- khoj/interface/compiled/_next/static/css/35b7da8f9400e53d.css +0 -1
- khoj/interface/compiled/_next/static/css/37c103325df7f20c.css +0 -1
- khoj/interface/compiled/_next/static/css/7efae0f3fa9cdaf9.css +0 -1
- /khoj/interface/compiled/_next/static/{0VbVSwe5Ec8GttvgEK0sQ → tDaQskRolLnI6CcuGOaM-}/_buildManifest.js +0 -0
- /khoj/interface/compiled/_next/static/{0VbVSwe5Ec8GttvgEK0sQ → tDaQskRolLnI6CcuGOaM-}/_ssgManifest.js +0 -0
- {khoj-1.20.2.dev8.dist-info → khoj-1.20.3.dev1.dist-info}/WHEEL +0 -0
- {khoj-1.20.2.dev8.dist-info → khoj-1.20.3.dev1.dist-info}/entry_points.txt +0 -0
- {khoj-1.20.2.dev8.dist-info → khoj-1.20.3.dev1.dist-info}/licenses/LICENSE +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/0e790e04fd40ad16-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/1538cedb321e3a97.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/2e0119685b8db281.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/13451ab2112cedfd.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/35b7da8f9400e53d.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-bf9465f128aa54d4.js"/><script src="/_next/static/chunks/fd9d1056-2b978342deb60015.js" async=""></script><script src="/_next/static/chunks/7023-52c1be60135eb057.js" async=""></script><script src="/_next/static/chunks/main-app-6d6ee3495efe03d4.js" async=""></script><script src="/_next/static/chunks/9001-acbca3e19b1a5ddf.js" async=""></script><script src="/_next/static/chunks/3062-a42d847c919a9ea4.js" async=""></script><script src="/_next/static/chunks/2790-cfb470bdbc30b3f0.js" async=""></script><script src="/_next/static/chunks/1603-0f4daa1e7fc359fb.js" async=""></script><script src="/_next/static/chunks/app/settings/page-12fe3dc419ac6e2c.js" async=""></script><script src="/_next/static/chunks/4504-1629487c8bc82203.js" async=""></script><script src="/_next/static/chunks/app/settings/layout-6f9314b0d7a26046.js" async=""></script><meta http-equiv="Content-Security-Policy" content="default-src 'self' https://assets.khoj.dev; media-src * blob:; script-src 'self' https://assets.khoj.dev 'unsafe-inline' 'unsafe-eval'; connect-src 'self' https://ipapi.co/json ws://localhost:42110; style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com; img-src 'self' data: https://*.khoj.dev https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com; child-src 'none'; object-src 'none';"/><meta http-equiv="Content-Security-Policy" content="default-src 'self' https://assets.khoj.dev; script-src 'self' https://assets.khoj.dev 'unsafe-inline' 'unsafe-eval'; connect-src 'self' https://ipapi.co/json ws://localhost:42110; style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com; img-src 'self' data: https://*.khoj.dev https://*.googleusercontent.com; font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com; child-src 'none'; object-src 'none';"/><title>Khoj AI - Settings</title><meta name="description" content="Configure Khoj to get personalized, deeper assistance."/><link rel="manifest" href="/static/khoj.webmanifest" crossorigin="use-credentials"/><link rel="icon" href="/static/favicon.ico"/><meta name="next-size-adjust"/><script src="/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js" noModule=""></script></head><body class="__className_90df87"><html lang="en"><body class="__className_90df87"><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><div role="region" aria-label="Notifications (F8)" tabindex="-1" style="pointer-events:none"><ol tabindex="-1" class="fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]"></ol></div><script src="/_next/static/chunks/webpack-bf9465f128aa54d4.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/0e790e04fd40ad16-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/_next/static/css/1538cedb321e3a97.css\",\"style\"]\n3:HL[\"/_next/static/css/2e0119685b8db281.css\",\"style\"]\n4:HL[\"/_next/static/css/13451ab2112cedfd.css\",\"style\"]\n5:HL[\"/_next/static/css/35b7da8f9400e53d.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"6:I[95751,[],\"\"]\n8:I[66513,[],\"ClientPageRoot\"]\n9:I[95982,[\"9001\",\"static/chunks/9001-acbca3e19b1a5ddf.js\",\"3062\",\"static/chunks/3062-a42d847c919a9ea4.js\",\"2790\",\"static/chunks/2790-cfb470bdbc30b3f0.js\",\"1603\",\"static/chunks/1603-0f4daa1e7fc359fb.js\",\"6938\",\"static/chunks/app/settings/page-12fe3dc419ac6e2c.js\"],\"default\"]\na:I[39275,[],\"\"]\nb:I[61343,[],\"\"]\nc:I[23367,[\"9001\",\"static/chunks/9001-acbca3e19b1a5ddf.js\",\"4504\",\"static/chunks/4504-1629487c8bc82203.js\",\"3474\",\"static/chunks/app/settings/layout-6f9314b0d7a26046.js\"],\"Toaster\"]\ne:I[76130,[],\"\"]\nf:[]\n"])</script><script>self.__next_f.push([1,"0:[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/1538cedb321e3a97.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/2e0119685b8db281.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"$L6\",null,{\"buildId\":\"0VbVSwe5Ec8GttvgEK0sQ\",\"assetPrefix\":\"\",\"initialCanonicalUrl\":\"/settings/\",\"initialTree\":[\"\",{\"children\":[\"settings\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"settings\",{\"children\":[\"__PAGE__\",{},[[\"$L7\",[\"$\",\"$L8\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$9\"}]],null],null]},[[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[[\"$\",\"meta\",null,{\"httpEquiv\":\"Content-Security-Policy\",\"content\":\"default-src 'self' https://assets.khoj.dev; script-src 'self' https://assets.khoj.dev 'unsafe-inline' 'unsafe-eval'; connect-src 'self' https://ipapi.co/json ws://localhost:42110; style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com; img-src 'self' data: https://*.khoj.dev https://*.googleusercontent.com; font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com; child-src 'none'; object-src 'none';\"}],[\"$\",\"body\",null,{\"className\":\"__className_90df87\",\"children\":[[\"$\",\"$La\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"settings\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$Lb\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\",\"styles\":[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/13451ab2112cedfd.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/35b7da8f9400e53d.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]]}],[\"$\",\"$Lc\",null,{}]]}]]}],null],null]},[[\"$\",\"html\",null,{\"lang\":\"en\",\"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 'unsafe-inline' 'unsafe-eval'; connect-src 'self' https://ipapi.co/json ws://localhost:42110; style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com; img-src 'self' data: https://*.khoj.dev https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com; child-src 'none'; object-src 'none';\"}],[\"$\",\"body\",null,{\"className\":\"__className_90df87\",\"children\":[\"$\",\"$La\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$Lb\",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\":[],\"styles\":null}]}]]}],null],null],\"couldBeIntercepted\":false,\"initialHead\":[false,\"$Ld\"],\"globalErrorComponent\":\"$e\",\"missingSlots\":\"$Wf\"}]]\n"])</script><script>self.__next_f.push([1,"d:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"Khoj AI - Settings\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Configure Khoj to get personalized, deeper assistance.\"}],[\"$\",\"link\",\"4\",{\"rel\":\"manifest\",\"href\":\"/static/khoj.webmanifest\",\"crossOrigin\":\"use-credentials\"}],[\"$\",\"link\",\"5\",{\"rel\":\"icon\",\"href\":\"/static/favicon.ico\"}],[\"$\",\"meta\",\"6\",{\"name\":\"next-size-adjust\"}]]\n7:null\n"])</script></body></html>
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/0e790e04fd40ad16-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/1538cedb321e3a97.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/2e0119685b8db281.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/13451ab2112cedfd.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/56342076e57c6063.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-edd945a0298a9aac.js"/><script src="/_next/static/chunks/fd9d1056-2b978342deb60015.js" async=""></script><script src="/_next/static/chunks/7023-52c1be60135eb057.js" async=""></script><script src="/_next/static/chunks/main-app-6d6ee3495efe03d4.js" async=""></script><script src="/_next/static/chunks/9001-acbca3e19b1a5ddf.js" async=""></script><script src="/_next/static/chunks/3062-a42d847c919a9ea4.js" async=""></script><script src="/_next/static/chunks/2790-cfb470bdbc30b3f0.js" async=""></script><script src="/_next/static/chunks/1603-0f4daa1e7fc359fb.js" async=""></script><script src="/_next/static/chunks/app/settings/page-46f805063404cd4a.js" async=""></script><script src="/_next/static/chunks/4504-1629487c8bc82203.js" async=""></script><script src="/_next/static/chunks/app/settings/layout-6f9314b0d7a26046.js" async=""></script><meta http-equiv="Content-Security-Policy" content="default-src 'self' https://assets.khoj.dev; media-src * blob:; script-src 'self' https://assets.khoj.dev 'unsafe-inline' 'unsafe-eval'; connect-src 'self' https://ipapi.co/json ws://localhost:42110; style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com; img-src 'self' data: https://*.khoj.dev https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com; child-src 'none'; object-src 'none';"/><meta http-equiv="Content-Security-Policy" content="default-src 'self' https://assets.khoj.dev; script-src 'self' https://assets.khoj.dev 'unsafe-inline' 'unsafe-eval'; connect-src 'self' https://ipapi.co/json ws://localhost:42110; style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com; img-src 'self' data: https://*.khoj.dev https://*.googleusercontent.com; font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com; child-src 'none'; object-src 'none';"/><title>Khoj AI - Settings</title><meta name="description" content="Configure Khoj to get personalized, deeper assistance."/><link rel="manifest" href="/static/khoj.webmanifest" crossorigin="use-credentials"/><link rel="icon" href="/static/favicon.ico"/><meta name="next-size-adjust"/><script src="/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js" noModule=""></script></head><body class="__className_90df87"><html lang="en"><body class="__className_90df87"><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><div role="region" aria-label="Notifications (F8)" tabindex="-1" style="pointer-events:none"><ol tabindex="-1" class="fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]"></ol></div><script src="/_next/static/chunks/webpack-edd945a0298a9aac.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/0e790e04fd40ad16-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/_next/static/css/1538cedb321e3a97.css\",\"style\"]\n3:HL[\"/_next/static/css/2e0119685b8db281.css\",\"style\"]\n4:HL[\"/_next/static/css/13451ab2112cedfd.css\",\"style\"]\n5:HL[\"/_next/static/css/56342076e57c6063.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"6:I[95751,[],\"\"]\n8:I[66513,[],\"ClientPageRoot\"]\n9:I[95982,[\"9001\",\"static/chunks/9001-acbca3e19b1a5ddf.js\",\"3062\",\"static/chunks/3062-a42d847c919a9ea4.js\",\"2790\",\"static/chunks/2790-cfb470bdbc30b3f0.js\",\"1603\",\"static/chunks/1603-0f4daa1e7fc359fb.js\",\"6938\",\"static/chunks/app/settings/page-46f805063404cd4a.js\"],\"default\"]\na:I[39275,[],\"\"]\nb:I[61343,[],\"\"]\nc:I[23367,[\"9001\",\"static/chunks/9001-acbca3e19b1a5ddf.js\",\"4504\",\"static/chunks/4504-1629487c8bc82203.js\",\"3474\",\"static/chunks/app/settings/layout-6f9314b0d7a26046.js\"],\"Toaster\"]\ne:I[76130,[],\"\"]\nf:[]\n"])</script><script>self.__next_f.push([1,"0:[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/1538cedb321e3a97.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/2e0119685b8db281.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"$L6\",null,{\"buildId\":\"tDaQskRolLnI6CcuGOaM-\",\"assetPrefix\":\"\",\"initialCanonicalUrl\":\"/settings/\",\"initialTree\":[\"\",{\"children\":[\"settings\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"settings\",{\"children\":[\"__PAGE__\",{},[[\"$L7\",[\"$\",\"$L8\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$9\"}]],null],null]},[[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[[\"$\",\"meta\",null,{\"httpEquiv\":\"Content-Security-Policy\",\"content\":\"default-src 'self' https://assets.khoj.dev; script-src 'self' https://assets.khoj.dev 'unsafe-inline' 'unsafe-eval'; connect-src 'self' https://ipapi.co/json ws://localhost:42110; style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com; img-src 'self' data: https://*.khoj.dev https://*.googleusercontent.com; font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com; child-src 'none'; object-src 'none';\"}],[\"$\",\"body\",null,{\"className\":\"__className_90df87\",\"children\":[[\"$\",\"$La\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"settings\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$Lb\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\",\"styles\":[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/13451ab2112cedfd.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/56342076e57c6063.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]]}],[\"$\",\"$Lc\",null,{}]]}]]}],null],null]},[[\"$\",\"html\",null,{\"lang\":\"en\",\"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 'unsafe-inline' 'unsafe-eval'; connect-src 'self' https://ipapi.co/json ws://localhost:42110; style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com; img-src 'self' data: https://*.khoj.dev https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com; child-src 'none'; object-src 'none';\"}],[\"$\",\"body\",null,{\"className\":\"__className_90df87\",\"children\":[\"$\",\"$La\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$Lb\",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\":[],\"styles\":null}]}]]}],null],null],\"couldBeIntercepted\":false,\"initialHead\":[false,\"$Ld\"],\"globalErrorComponent\":\"$e\",\"missingSlots\":\"$Wf\"}]]\n"])</script><script>self.__next_f.push([1,"d:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"Khoj AI - Settings\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Configure Khoj to get personalized, deeper assistance.\"}],[\"$\",\"link\",\"4\",{\"rel\":\"manifest\",\"href\":\"/static/khoj.webmanifest\",\"crossOrigin\":\"use-credentials\"}],[\"$\",\"link\",\"5\",{\"rel\":\"icon\",\"href\":\"/static/favicon.ico\"}],[\"$\",\"meta\",\"6\",{\"name\":\"next-size-adjust\"}]]\n7:null\n"])</script></body></html>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
2:I[66513,[],"ClientPageRoot"]
|
|
2
|
-
3:I[95982,["9001","static/chunks/9001-acbca3e19b1a5ddf.js","3062","static/chunks/3062-a42d847c919a9ea4.js","2790","static/chunks/2790-cfb470bdbc30b3f0.js","1603","static/chunks/1603-0f4daa1e7fc359fb.js","6938","static/chunks/app/settings/page-
|
|
2
|
+
3:I[95982,["9001","static/chunks/9001-acbca3e19b1a5ddf.js","3062","static/chunks/3062-a42d847c919a9ea4.js","2790","static/chunks/2790-cfb470bdbc30b3f0.js","1603","static/chunks/1603-0f4daa1e7fc359fb.js","6938","static/chunks/app/settings/page-46f805063404cd4a.js"],"default"]
|
|
3
3
|
4:I[39275,[],""]
|
|
4
4
|
5:I[61343,[],""]
|
|
5
5
|
6:I[23367,["9001","static/chunks/9001-acbca3e19b1a5ddf.js","4504","static/chunks/4504-1629487c8bc82203.js","3474","static/chunks/app/settings/layout-6f9314b0d7a26046.js"],"Toaster"]
|
|
6
|
-
0:["
|
|
6
|
+
0:["tDaQskRolLnI6CcuGOaM-",[[["",{"children":["settings",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["settings",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}]],null],null]},[["$","html",null,{"lang":"en","children":[["$","meta",null,{"httpEquiv":"Content-Security-Policy","content":"default-src 'self' https://assets.khoj.dev; script-src 'self' https://assets.khoj.dev 'unsafe-inline' 'unsafe-eval'; connect-src 'self' https://ipapi.co/json ws://localhost:42110; style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com; img-src 'self' data: https://*.khoj.dev https://*.googleusercontent.com; font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com; child-src 'none'; object-src 'none';"}],["$","body",null,{"className":"__className_90df87","children":[["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/13451ab2112cedfd.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/56342076e57c6063.css","precedence":"next","crossOrigin":"$undefined"}]]}],["$","$L6",null,{}]]}]]}],null],null]},[["$","html",null,{"lang":"en","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 'unsafe-inline' 'unsafe-eval'; connect-src 'self' https://ipapi.co/json ws://localhost:42110; style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com; img-src 'self' data: https://*.khoj.dev https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com; child-src 'none'; object-src 'none';"}],["$","body",null,{"className":"__className_90df87","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":[],"styles":null}]}]]}],null],null],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/1538cedb321e3a97.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/2e0119685b8db281.css","precedence":"next","crossOrigin":"$undefined"}]],"$L7"]]]]
|
|
7
7
|
7:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"Khoj AI - Settings"}],["$","meta","3",{"name":"description","content":"Configure Khoj to get personalized, deeper assistance."}],["$","link","4",{"rel":"manifest","href":"/static/khoj.webmanifest","crossOrigin":"use-credentials"}],["$","link","5",{"rel":"icon","href":"/static/favicon.ico"}],["$","meta","6",{"name":"next-size-adjust"}]]
|
|
8
8
|
1:null
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/0e790e04fd40ad16-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/1538cedb321e3a97.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/2e0119685b8db281.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/b81e909d403fb2df.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/35b7da8f9400e53d.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/2602b0918043c1e5.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-bf9465f128aa54d4.js"/><script src="/_next/static/chunks/fd9d1056-2b978342deb60015.js" async=""></script><script src="/_next/static/chunks/7023-52c1be60135eb057.js" async=""></script><script src="/_next/static/chunks/main-app-6d6ee3495efe03d4.js" async=""></script><script src="/_next/static/chunks/d3ac728e-a9e3522eef9b6b28.js" async=""></script><script src="/_next/static/chunks/9001-acbca3e19b1a5ddf.js" async=""></script><script src="/_next/static/chunks/3062-a42d847c919a9ea4.js" async=""></script><script src="/_next/static/chunks/743-1a64254447cda71f.js" async=""></script><script src="/_next/static/chunks/7071-b4711cecca6619a8.js" async=""></script><script src="/_next/static/chunks/2614-7cf01576d4457a75.js" async=""></script><script src="/_next/static/chunks/9693-91b03052c5cabded.js" async=""></script><script src="/_next/static/chunks/1603-0f4daa1e7fc359fb.js" async=""></script><script src="/_next/static/chunks/9417-5d14ac74aaab2c66.js" async=""></script><script src="/_next/static/chunks/9178-0f472d4d17b2ef53.js" async=""></script><script src="/_next/static/chunks/3753-c85bf06d689eefbf.js" async=""></script><script src="/_next/static/chunks/app/share/chat/page-06fae0039ff6b951.js" async=""></script><meta http-equiv="Content-Security-Policy" content="default-src 'self' https://assets.khoj.dev; media-src * blob:; script-src 'self' https://assets.khoj.dev 'unsafe-inline' 'unsafe-eval'; connect-src 'self' https://ipapi.co/json ws://localhost:42110; style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com; img-src 'self' data: https://*.khoj.dev https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com; child-src 'none'; object-src 'none';"/><meta http-equiv="Content-Security-Policy" content="default-src 'self' https://assets.khoj.dev; script-src 'self' https://assets.khoj.dev 'unsafe-inline' 'unsafe-eval'; connect-src 'self' https://ipapi.co/json ws://localhost:42110; style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com; img-src 'self' data: https://*.khoj.dev https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com; child-src 'none'; object-src 'none';"/><title>Khoj AI - Chat</title><meta name="description" content="Use this page to view a chat with Khoj AI."/><link rel="manifest" href="/static/khoj.webmanifest" crossorigin="use-credentials"/><link rel="icon" href="/favicon.ico" type="image/x-icon" sizes="16x16"/><meta name="next-size-adjust"/><script src="/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js" noModule=""></script></head><body class="__className_90df87"><html lang="en"><body class="__className_90df87"><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 src="/_next/static/chunks/webpack-bf9465f128aa54d4.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/0e790e04fd40ad16-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/_next/static/css/1538cedb321e3a97.css\",\"style\"]\n3:HL[\"/_next/static/css/2e0119685b8db281.css\",\"style\"]\n4:HL[\"/_next/static/css/b81e909d403fb2df.css\",\"style\"]\n5:HL[\"/_next/static/css/35b7da8f9400e53d.css\",\"style\"]\n6:HL[\"/_next/static/css/2602b0918043c1e5.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"7:I[95751,[],\"\"]\n9:I[66513,[],\"ClientPageRoot\"]\na:I[5506,[\"3954\",\"static/chunks/d3ac728e-a9e3522eef9b6b28.js\",\"9001\",\"static/chunks/9001-acbca3e19b1a5ddf.js\",\"3062\",\"static/chunks/3062-a42d847c919a9ea4.js\",\"743\",\"static/chunks/743-1a64254447cda71f.js\",\"7071\",\"static/chunks/7071-b4711cecca6619a8.js\",\"2614\",\"static/chunks/2614-7cf01576d4457a75.js\",\"9693\",\"static/chunks/9693-91b03052c5cabded.js\",\"1603\",\"static/chunks/1603-0f4daa1e7fc359fb.js\",\"9417\",\"static/chunks/9417-5d14ac74aaab2c66.js\",\"9178\",\"static/chunks/9178-0f472d4d17b2ef53.js\",\"3753\",\"static/chunks/3753-c85bf06d689eefbf.js\",\"3111\",\"static/chunks/app/share/chat/page-06fae0039ff6b951.js\"],\"default\"]\nb:I[39275,[],\"\"]\nc:I[61343,[],\"\"]\ne:I[76130,[],\"\"]\nf:[]\n"])</script><script>self.__next_f.push([1,"0:[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/1538cedb321e3a97.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/2e0119685b8db281.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"$L7\",null,{\"buildId\":\"0VbVSwe5Ec8GttvgEK0sQ\",\"assetPrefix\":\"\",\"initialCanonicalUrl\":\"/share/chat/\",\"initialTree\":[\"\",{\"children\":[\"share\",{\"children\":[\"chat\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"share\",{\"children\":[\"chat\",{\"children\":[\"__PAGE__\",{},[[\"$L8\",[\"$\",\"$L9\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$a\"}]],null],null]},[[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[[\"$\",\"meta\",null,{\"httpEquiv\":\"Content-Security-Policy\",\"content\":\"default-src 'self' https://assets.khoj.dev; script-src 'self' https://assets.khoj.dev 'unsafe-inline' 'unsafe-eval'; connect-src 'self' https://ipapi.co/json ws://localhost:42110; style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com; img-src 'self' data: https://*.khoj.dev https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com; child-src 'none'; object-src 'none';\"}],[\"$\",\"body\",null,{\"className\":\"__className_90df87\",\"children\":[\"$\",\"$Lb\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"share\",\"children\",\"chat\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$Lc\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\",\"styles\":[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/b81e909d403fb2df.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/35b7da8f9400e53d.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"2\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/2602b0918043c1e5.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]]}]}]]}],null],null]},[\"$\",\"$Lb\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"share\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$Lc\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\",\"styles\":null}],null]},[[\"$\",\"html\",null,{\"lang\":\"en\",\"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 'unsafe-inline' 'unsafe-eval'; connect-src 'self' https://ipapi.co/json ws://localhost:42110; style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com; img-src 'self' data: https://*.khoj.dev https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com; child-src 'none'; object-src 'none';\"}],[\"$\",\"body\",null,{\"className\":\"__className_90df87\",\"children\":[\"$\",\"$Lb\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$Lc\",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\":[],\"styles\":null}]}]]}],null],null],\"couldBeIntercepted\":false,\"initialHead\":[false,\"$Ld\"],\"globalErrorComponent\":\"$e\",\"missingSlots\":\"$Wf\"}]]\n"])</script><script>self.__next_f.push([1,"d:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"Khoj AI - Chat\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Use this page to view a chat with Khoj AI.\"}],[\"$\",\"link\",\"4\",{\"rel\":\"manifest\",\"href\":\"/static/khoj.webmanifest\",\"crossOrigin\":\"use-credentials\"}],[\"$\",\"link\",\"5\",{\"rel\":\"icon\",\"href\":\"/favicon.ico\",\"type\":\"image/x-icon\",\"sizes\":\"16x16\"}],[\"$\",\"meta\",\"6\",{\"name\":\"next-size-adjust\"}]]\n8:null\n"])</script></body></html>
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/0e790e04fd40ad16-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/1538cedb321e3a97.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/2e0119685b8db281.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/b81e909d403fb2df.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/56342076e57c6063.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/d121502f42a9e126.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-edd945a0298a9aac.js"/><script src="/_next/static/chunks/fd9d1056-2b978342deb60015.js" async=""></script><script src="/_next/static/chunks/7023-52c1be60135eb057.js" async=""></script><script src="/_next/static/chunks/main-app-6d6ee3495efe03d4.js" async=""></script><script src="/_next/static/chunks/d3ac728e-a9e3522eef9b6b28.js" async=""></script><script src="/_next/static/chunks/9001-acbca3e19b1a5ddf.js" async=""></script><script src="/_next/static/chunks/3062-a42d847c919a9ea4.js" async=""></script><script src="/_next/static/chunks/743-1a64254447cda71f.js" async=""></script><script src="/_next/static/chunks/7071-b4711cecca6619a8.js" async=""></script><script src="/_next/static/chunks/2614-7cf01576d4457a75.js" async=""></script><script src="/_next/static/chunks/9693-91b03052c5cabded.js" async=""></script><script src="/_next/static/chunks/1603-0f4daa1e7fc359fb.js" async=""></script><script src="/_next/static/chunks/9417-5d14ac74aaab2c66.js" async=""></script><script src="/_next/static/chunks/9178-0f472d4d17b2ef53.js" async=""></script><script src="/_next/static/chunks/3753-c85bf06d689eefbf.js" async=""></script><script src="/_next/static/chunks/app/share/chat/page-8e1282322fbe8aa9.js" async=""></script><meta http-equiv="Content-Security-Policy" content="default-src 'self' https://assets.khoj.dev; media-src * blob:; script-src 'self' https://assets.khoj.dev 'unsafe-inline' 'unsafe-eval'; connect-src 'self' https://ipapi.co/json ws://localhost:42110; style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com; img-src 'self' data: https://*.khoj.dev https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com; child-src 'none'; object-src 'none';"/><meta http-equiv="Content-Security-Policy" content="default-src 'self' https://assets.khoj.dev; script-src 'self' https://assets.khoj.dev 'unsafe-inline' 'unsafe-eval'; connect-src 'self' https://ipapi.co/json ws://localhost:42110; style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com; img-src 'self' data: https://*.khoj.dev https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com; child-src 'none'; object-src 'none';"/><title>Khoj AI - Chat</title><meta name="description" content="Use this page to view a chat with Khoj AI."/><link rel="manifest" href="/static/khoj.webmanifest" crossorigin="use-credentials"/><link rel="icon" href="/favicon.ico" type="image/x-icon" sizes="16x16"/><meta name="next-size-adjust"/><script src="/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js" noModule=""></script></head><body class="__className_90df87"><html lang="en"><body class="__className_90df87"><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 src="/_next/static/chunks/webpack-edd945a0298a9aac.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/0e790e04fd40ad16-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/_next/static/css/1538cedb321e3a97.css\",\"style\"]\n3:HL[\"/_next/static/css/2e0119685b8db281.css\",\"style\"]\n4:HL[\"/_next/static/css/b81e909d403fb2df.css\",\"style\"]\n5:HL[\"/_next/static/css/56342076e57c6063.css\",\"style\"]\n6:HL[\"/_next/static/css/d121502f42a9e126.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"7:I[95751,[],\"\"]\n9:I[66513,[],\"ClientPageRoot\"]\na:I[5506,[\"3954\",\"static/chunks/d3ac728e-a9e3522eef9b6b28.js\",\"9001\",\"static/chunks/9001-acbca3e19b1a5ddf.js\",\"3062\",\"static/chunks/3062-a42d847c919a9ea4.js\",\"743\",\"static/chunks/743-1a64254447cda71f.js\",\"7071\",\"static/chunks/7071-b4711cecca6619a8.js\",\"2614\",\"static/chunks/2614-7cf01576d4457a75.js\",\"9693\",\"static/chunks/9693-91b03052c5cabded.js\",\"1603\",\"static/chunks/1603-0f4daa1e7fc359fb.js\",\"9417\",\"static/chunks/9417-5d14ac74aaab2c66.js\",\"9178\",\"static/chunks/9178-0f472d4d17b2ef53.js\",\"3753\",\"static/chunks/3753-c85bf06d689eefbf.js\",\"3111\",\"static/chunks/app/share/chat/page-8e1282322fbe8aa9.js\"],\"default\"]\nb:I[39275,[],\"\"]\nc:I[61343,[],\"\"]\ne:I[76130,[],\"\"]\nf:[]\n"])</script><script>self.__next_f.push([1,"0:[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/1538cedb321e3a97.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/2e0119685b8db281.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"$L7\",null,{\"buildId\":\"tDaQskRolLnI6CcuGOaM-\",\"assetPrefix\":\"\",\"initialCanonicalUrl\":\"/share/chat/\",\"initialTree\":[\"\",{\"children\":[\"share\",{\"children\":[\"chat\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"share\",{\"children\":[\"chat\",{\"children\":[\"__PAGE__\",{},[[\"$L8\",[\"$\",\"$L9\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$a\"}]],null],null]},[[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[[\"$\",\"meta\",null,{\"httpEquiv\":\"Content-Security-Policy\",\"content\":\"default-src 'self' https://assets.khoj.dev; script-src 'self' https://assets.khoj.dev 'unsafe-inline' 'unsafe-eval'; connect-src 'self' https://ipapi.co/json ws://localhost:42110; style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com; img-src 'self' data: https://*.khoj.dev https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com; child-src 'none'; object-src 'none';\"}],[\"$\",\"body\",null,{\"className\":\"__className_90df87\",\"children\":[\"$\",\"$Lb\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"share\",\"children\",\"chat\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$Lc\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\",\"styles\":[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/b81e909d403fb2df.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/56342076e57c6063.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"2\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/d121502f42a9e126.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]]}]}]]}],null],null]},[\"$\",\"$Lb\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"share\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$Lc\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\",\"styles\":null}],null]},[[\"$\",\"html\",null,{\"lang\":\"en\",\"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 'unsafe-inline' 'unsafe-eval'; connect-src 'self' https://ipapi.co/json ws://localhost:42110; style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com; img-src 'self' data: https://*.khoj.dev https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com; child-src 'none'; object-src 'none';\"}],[\"$\",\"body\",null,{\"className\":\"__className_90df87\",\"children\":[\"$\",\"$Lb\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$Lc\",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\":[],\"styles\":null}]}]]}],null],null],\"couldBeIntercepted\":false,\"initialHead\":[false,\"$Ld\"],\"globalErrorComponent\":\"$e\",\"missingSlots\":\"$Wf\"}]]\n"])</script><script>self.__next_f.push([1,"d:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"Khoj AI - Chat\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Use this page to view a chat with Khoj AI.\"}],[\"$\",\"link\",\"4\",{\"rel\":\"manifest\",\"href\":\"/static/khoj.webmanifest\",\"crossOrigin\":\"use-credentials\"}],[\"$\",\"link\",\"5\",{\"rel\":\"icon\",\"href\":\"/favicon.ico\",\"type\":\"image/x-icon\",\"sizes\":\"16x16\"}],[\"$\",\"meta\",\"6\",{\"name\":\"next-size-adjust\"}]]\n8:null\n"])</script></body></html>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
2:I[66513,[],"ClientPageRoot"]
|
|
2
|
-
3:I[5506,["3954","static/chunks/d3ac728e-a9e3522eef9b6b28.js","9001","static/chunks/9001-acbca3e19b1a5ddf.js","3062","static/chunks/3062-a42d847c919a9ea4.js","743","static/chunks/743-1a64254447cda71f.js","7071","static/chunks/7071-b4711cecca6619a8.js","2614","static/chunks/2614-7cf01576d4457a75.js","9693","static/chunks/9693-91b03052c5cabded.js","1603","static/chunks/1603-0f4daa1e7fc359fb.js","9417","static/chunks/9417-5d14ac74aaab2c66.js","9178","static/chunks/9178-0f472d4d17b2ef53.js","3753","static/chunks/3753-c85bf06d689eefbf.js","3111","static/chunks/app/share/chat/page-
|
|
2
|
+
3:I[5506,["3954","static/chunks/d3ac728e-a9e3522eef9b6b28.js","9001","static/chunks/9001-acbca3e19b1a5ddf.js","3062","static/chunks/3062-a42d847c919a9ea4.js","743","static/chunks/743-1a64254447cda71f.js","7071","static/chunks/7071-b4711cecca6619a8.js","2614","static/chunks/2614-7cf01576d4457a75.js","9693","static/chunks/9693-91b03052c5cabded.js","1603","static/chunks/1603-0f4daa1e7fc359fb.js","9417","static/chunks/9417-5d14ac74aaab2c66.js","9178","static/chunks/9178-0f472d4d17b2ef53.js","3753","static/chunks/3753-c85bf06d689eefbf.js","3111","static/chunks/app/share/chat/page-8e1282322fbe8aa9.js"],"default"]
|
|
3
3
|
4:I[39275,[],""]
|
|
4
4
|
5:I[61343,[],""]
|
|
5
|
-
0:["
|
|
5
|
+
0:["tDaQskRolLnI6CcuGOaM-",[[["",{"children":["share",{"children":["chat",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["share",{"children":["chat",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}]],null],null]},[["$","html",null,{"lang":"en","children":[["$","meta",null,{"httpEquiv":"Content-Security-Policy","content":"default-src 'self' https://assets.khoj.dev; script-src 'self' https://assets.khoj.dev 'unsafe-inline' 'unsafe-eval'; connect-src 'self' https://ipapi.co/json ws://localhost:42110; style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com; img-src 'self' data: https://*.khoj.dev https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com; child-src 'none'; object-src 'none';"}],["$","body",null,{"className":"__className_90df87","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","styles":[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b81e909d403fb2df.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/56342076e57c6063.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","2",{"rel":"stylesheet","href":"/_next/static/css/d121502f42a9e126.css","precedence":"next","crossOrigin":"$undefined"}]]}]}]]}],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","styles":null}],null]},[["$","html",null,{"lang":"en","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 'unsafe-inline' 'unsafe-eval'; connect-src 'self' https://ipapi.co/json ws://localhost:42110; style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com; img-src 'self' data: https://*.khoj.dev https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com; child-src 'none'; object-src 'none';"}],["$","body",null,{"className":"__className_90df87","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":[],"styles":null}]}]]}],null],null],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/1538cedb321e3a97.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/2e0119685b8db281.css","precedence":"next","crossOrigin":"$undefined"}]],"$L6"]]]]
|
|
6
6
|
6:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"Khoj AI - Chat"}],["$","meta","3",{"name":"description","content":"Use this page to view a chat with Khoj AI."}],["$","link","4",{"rel":"manifest","href":"/static/khoj.webmanifest","crossOrigin":"use-credentials"}],["$","link","5",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}],["$","meta","6",{"name":"next-size-adjust"}]]
|
|
7
7
|
1:null
|
khoj/routers/api_chat.py
CHANGED
|
@@ -41,6 +41,7 @@ from khoj.routers.helpers import (
|
|
|
41
41
|
get_conversation_command,
|
|
42
42
|
is_query_empty,
|
|
43
43
|
is_ready_to_chat,
|
|
44
|
+
read_chat_stream,
|
|
44
45
|
text_to_image,
|
|
45
46
|
update_telemetry_state,
|
|
46
47
|
validate_conversation_config,
|
|
@@ -570,8 +571,7 @@ async def chat(
|
|
|
570
571
|
logger.error(f"Failed to stream chat API response to {user} on {common.client}: {e}", exc_info=True)
|
|
571
572
|
return
|
|
572
573
|
finally:
|
|
573
|
-
|
|
574
|
-
yield event_delimiter
|
|
574
|
+
yield event_delimiter
|
|
575
575
|
|
|
576
576
|
async def send_llm_response(response: str):
|
|
577
577
|
async for result in send_event(ChatEvent.START_LLM_RESPONSE, ""):
|
|
@@ -937,17 +937,6 @@ async def chat(
|
|
|
937
937
|
return StreamingResponse(event_generator(q), media_type="text/plain")
|
|
938
938
|
## Non-Streaming Text Response
|
|
939
939
|
else:
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
iterator = event_generator(q)
|
|
944
|
-
async for item in iterator:
|
|
945
|
-
try:
|
|
946
|
-
item_json = json.loads(item)
|
|
947
|
-
if "type" in item_json and item_json["type"] == ChatEvent.REFERENCES.value:
|
|
948
|
-
response_obj = item_json["data"]
|
|
949
|
-
except:
|
|
950
|
-
actual_response += item
|
|
951
|
-
response_obj["response"] = actual_response
|
|
952
|
-
|
|
953
|
-
return Response(content=json.dumps(response_obj), media_type="application/json", status_code=200)
|
|
940
|
+
response_iterator = event_generator(q)
|
|
941
|
+
response_data = await read_chat_stream(response_iterator)
|
|
942
|
+
return Response(content=json.dumps(response_data), media_type="application/json", status_code=200)
|
khoj/routers/helpers.py
CHANGED
|
@@ -15,6 +15,7 @@ from random import random
|
|
|
15
15
|
from typing import (
|
|
16
16
|
Annotated,
|
|
17
17
|
Any,
|
|
18
|
+
AsyncGenerator,
|
|
18
19
|
Callable,
|
|
19
20
|
Dict,
|
|
20
21
|
Iterator,
|
|
@@ -1225,6 +1226,79 @@ class ChatEvent(Enum):
|
|
|
1225
1226
|
STATUS = "status"
|
|
1226
1227
|
|
|
1227
1228
|
|
|
1229
|
+
class MessageProcessor:
|
|
1230
|
+
def __init__(self):
|
|
1231
|
+
self.references = {}
|
|
1232
|
+
self.raw_response = ""
|
|
1233
|
+
|
|
1234
|
+
def convert_message_chunk_to_json(self, raw_chunk: str) -> Dict[str, Any]:
|
|
1235
|
+
if raw_chunk.startswith("{") and raw_chunk.endswith("}"):
|
|
1236
|
+
try:
|
|
1237
|
+
json_chunk = json.loads(raw_chunk)
|
|
1238
|
+
if "type" not in json_chunk:
|
|
1239
|
+
json_chunk = {"type": "message", "data": json_chunk}
|
|
1240
|
+
return json_chunk
|
|
1241
|
+
except json.JSONDecodeError:
|
|
1242
|
+
return {"type": "message", "data": raw_chunk}
|
|
1243
|
+
elif raw_chunk:
|
|
1244
|
+
return {"type": "message", "data": raw_chunk}
|
|
1245
|
+
return {"type": "", "data": ""}
|
|
1246
|
+
|
|
1247
|
+
def process_message_chunk(self, raw_chunk: str) -> None:
|
|
1248
|
+
chunk = self.convert_message_chunk_to_json(raw_chunk)
|
|
1249
|
+
if not chunk or not chunk["type"]:
|
|
1250
|
+
return
|
|
1251
|
+
|
|
1252
|
+
chunk_type = ChatEvent(chunk["type"])
|
|
1253
|
+
if chunk_type == ChatEvent.REFERENCES:
|
|
1254
|
+
self.references = chunk["data"]
|
|
1255
|
+
elif chunk_type == ChatEvent.MESSAGE:
|
|
1256
|
+
chunk_data = chunk["data"]
|
|
1257
|
+
if isinstance(chunk_data, dict):
|
|
1258
|
+
self.raw_response = self.handle_json_response(chunk_data)
|
|
1259
|
+
elif (
|
|
1260
|
+
isinstance(chunk_data, str) and chunk_data.strip().startswith("{") and chunk_data.strip().endswith("}")
|
|
1261
|
+
):
|
|
1262
|
+
try:
|
|
1263
|
+
json_data = json.loads(chunk_data.strip())
|
|
1264
|
+
self.raw_response = self.handle_json_response(json_data)
|
|
1265
|
+
except json.JSONDecodeError:
|
|
1266
|
+
self.raw_response += chunk_data
|
|
1267
|
+
else:
|
|
1268
|
+
self.raw_response += chunk_data
|
|
1269
|
+
|
|
1270
|
+
def handle_json_response(self, json_data: Dict[str, str]) -> str | Dict[str, str]:
|
|
1271
|
+
if "image" in json_data or "details" in json_data:
|
|
1272
|
+
return json_data
|
|
1273
|
+
if "response" in json_data:
|
|
1274
|
+
return json_data["response"]
|
|
1275
|
+
return json_data
|
|
1276
|
+
|
|
1277
|
+
|
|
1278
|
+
async def read_chat_stream(response_iterator: AsyncGenerator[str, None]) -> Dict[str, Any]:
|
|
1279
|
+
processor = MessageProcessor()
|
|
1280
|
+
event_delimiter = "␃🔚␗"
|
|
1281
|
+
buffer = ""
|
|
1282
|
+
|
|
1283
|
+
async for chunk in response_iterator:
|
|
1284
|
+
# Start buffering chunks until complete event is received
|
|
1285
|
+
buffer += chunk
|
|
1286
|
+
|
|
1287
|
+
# Once the buffer contains a complete event
|
|
1288
|
+
while event_delimiter in buffer:
|
|
1289
|
+
# Extract the event from the buffer
|
|
1290
|
+
event, buffer = buffer.split(event_delimiter, 1)
|
|
1291
|
+
# Process the event
|
|
1292
|
+
if event:
|
|
1293
|
+
processor.process_message_chunk(event)
|
|
1294
|
+
|
|
1295
|
+
# Process any remaining data in the buffer
|
|
1296
|
+
if buffer:
|
|
1297
|
+
processor.process_message_chunk(buffer)
|
|
1298
|
+
|
|
1299
|
+
return {"response": processor.raw_response, "references": processor.references}
|
|
1300
|
+
|
|
1301
|
+
|
|
1228
1302
|
def get_user_config(user: KhojUser, request: Request, is_detailed: bool = False):
|
|
1229
1303
|
user_picture = request.session.get("user", {}).get("picture")
|
|
1230
1304
|
is_active = has_required_scope(request, ["premium"])
|
|
@@ -89,16 +89,14 @@ khoj/interface/compiled/close.svg,sha256=hQ2iFLkNzHk0_iyTrSbwnWAeXYlgA-c2Eof2Iqh
|
|
|
89
89
|
khoj/interface/compiled/copy-button-success.svg,sha256=byqWAYD3Pn9IOXRjOKudJ-TJbP2UESbQGvtLWazNGjY,829
|
|
90
90
|
khoj/interface/compiled/copy-button.svg,sha256=05bKM2eRxksfBlAPT7yMaoNJEk85bZCxQg67EVrPeHo,669
|
|
91
91
|
khoj/interface/compiled/favicon.ico,sha256=eggu-B_v3z1R53EjOFhIqqPnICBGdoaw1xnc0NrzHck,174144
|
|
92
|
-
khoj/interface/compiled/index.html,sha256=
|
|
93
|
-
khoj/interface/compiled/index.txt,sha256=
|
|
92
|
+
khoj/interface/compiled/index.html,sha256=z2zI77-GTrLHaghLwJ-HWTM829yVkxpd8i7BhAgTrqs,8691
|
|
93
|
+
khoj/interface/compiled/index.txt,sha256=lUFF1i7aOe05BnUpe3bM82HjBVyIhvw0evNKRHNTsgU,3894
|
|
94
94
|
khoj/interface/compiled/logo.svg,sha256=_QCKVYM4WT2Qhcf7aVFImjq_s5CwjynGXYAOgI7yf8w,8059
|
|
95
95
|
khoj/interface/compiled/send.svg,sha256=VdavOWkVddcwcGcld6pdfmwfz7S91M-9O28cfeiKJkM,635
|
|
96
96
|
khoj/interface/compiled/share.svg,sha256=91lwo75PvMDrgocuZQab6EQ62CxRbubh9Bhw7CWMKbg,1221
|
|
97
97
|
khoj/interface/compiled/thumbs-down.svg,sha256=JGNl-DwoRmH2XFMPWwFFklmoYtKxaQbkLE3nuYKe8ZY,1019
|
|
98
98
|
khoj/interface/compiled/thumbs-up.svg,sha256=yS1wxTRtiztkN-6nZciLoYQUB_KTYNPV8xFRwH2TQFw,1036
|
|
99
|
-
khoj/interface/compiled/404/index.html,sha256=
|
|
100
|
-
khoj/interface/compiled/_next/static/0VbVSwe5Ec8GttvgEK0sQ/_buildManifest.js,sha256=6I9QUstNpJnhe3leR2Daw0pSXwzcbBscv6h2jmmPpms,224
|
|
101
|
-
khoj/interface/compiled/_next/static/0VbVSwe5Ec8GttvgEK0sQ/_ssgManifest.js,sha256=Z49s4suAsf5y_GfnQSvm4qtq2ggxEbZPfEDTXjy6XgA,80
|
|
99
|
+
khoj/interface/compiled/404/index.html,sha256=_JryPn-b0WPND77SvyYjO6NestVk_65HQG_3OCZ1T3k,8660
|
|
102
100
|
khoj/interface/compiled/_next/static/chunks/1603-0f4daa1e7fc359fb.js,sha256=ire-ARYt4q0wBnDQ0cx7wkjUTwfZeFpNIiHT7iahobw,69378
|
|
103
101
|
khoj/interface/compiled/_next/static/chunks/2614-7cf01576d4457a75.js,sha256=aUjhjyxNPrZr4bLKzGkGgHH8K4J6g9dfiRjabnmvSDc,1104737
|
|
104
102
|
khoj/interface/compiled/_next/static/chunks/2790-cfb470bdbc30b3f0.js,sha256=ja4u6qCk3YbfKcy4zsXCnAhtMu2jntz_kRROxcM8g4c,240686
|
|
@@ -121,35 +119,35 @@ khoj/interface/compiled/_next/static/chunks/framework-8e0e0f4a6b83a956.js,sha256
|
|
|
121
119
|
khoj/interface/compiled/_next/static/chunks/main-app-6d6ee3495efe03d4.js,sha256=i52E7sWOcSq1G8eYZL3mtTxbUbwRNxcAbSWQ6uWpMsY,475
|
|
122
120
|
khoj/interface/compiled/_next/static/chunks/main-f965613f93ee1f8c.js,sha256=CBKzOgCvGgxQbQWKTsmRXXB34yew_eI1J-7n1rwjjVA,110363
|
|
123
121
|
khoj/interface/compiled/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js,sha256=6QPOwdWeAVe8x-SsiDrm-Ga6u2DkqgG5SFqglrlyIgA,91381
|
|
124
|
-
khoj/interface/compiled/_next/static/chunks/webpack-
|
|
122
|
+
khoj/interface/compiled/_next/static/chunks/webpack-edd945a0298a9aac.js,sha256=FEn2cvJzZoYWd7uirAOwRLOJKwWUBtAw4z8XKe3e28M,3724
|
|
125
123
|
khoj/interface/compiled/_next/static/chunks/app/layout-f3e40d346da53112.js,sha256=nekGSUVbvB81OfqGgJa2UoDmbxPhNwFwtc4o11O_1jI,442
|
|
126
|
-
khoj/interface/compiled/_next/static/chunks/app/page-
|
|
124
|
+
khoj/interface/compiled/_next/static/chunks/app/page-013ae6073037c212.js,sha256=jkjmaVjTGPKPy3kLd2t42UbfIGjC8NtgtSVBsUIen3U,28679
|
|
127
125
|
khoj/interface/compiled/_next/static/chunks/app/_not-found/page-07ff4ab42b07845e.js,sha256=3mCUnxfMxyK44eqk21TVBrC6u--WSbvx31fTmQuOvMQ,1755
|
|
128
126
|
khoj/interface/compiled/_next/static/chunks/app/agents/layout-e71c8e913cccf792.js,sha256=VyIMrkvntFObMzXF-elNtngJ8mBdjg8XrOGfboJ2f_4,372
|
|
129
|
-
khoj/interface/compiled/_next/static/chunks/app/agents/page-
|
|
127
|
+
khoj/interface/compiled/_next/static/chunks/app/agents/page-2d8a97e1e218e0a2.js,sha256=BkpcBVU4F90jdCJVfI1E2tgx148ZmhkdShFtocDPgOs,18210
|
|
130
128
|
khoj/interface/compiled/_next/static/chunks/app/automations/layout-27c28e923c9b1ff0.js,sha256=d2vJ_lVB0pfeFXNUPzHAe1ca5NzdNowHPh___SPqugM,5143
|
|
131
|
-
khoj/interface/compiled/_next/static/chunks/app/automations/page-
|
|
129
|
+
khoj/interface/compiled/_next/static/chunks/app/automations/page-c6a7ed400fe63b44.js,sha256=fYnrb0RIKRp0k8TOqnI_8BJ5vbB193VV3YxDdp1sc0M,35093
|
|
132
130
|
khoj/interface/compiled/_next/static/chunks/app/chat/layout-8102549127db3067.js,sha256=YIoA3fqOBt8nKWw5iQAwA_avg2t1Q5Afn65IA5PBOz4,374
|
|
133
|
-
khoj/interface/compiled/_next/static/chunks/app/chat/page-
|
|
131
|
+
khoj/interface/compiled/_next/static/chunks/app/chat/page-c7556a63fbf22980.js,sha256=7tE_uiNRg-tcqRJrlbEFJvqszJLbUHPcc0jj9n9aoZk,11488
|
|
134
132
|
khoj/interface/compiled/_next/static/chunks/app/factchecker/layout-7b30c541c05fb904.js,sha256=yub2AuBKHKSCqrHRFnkZv9JXLmLJLOB99iiaD3DtZQM,170
|
|
135
|
-
khoj/interface/compiled/_next/static/chunks/app/factchecker/page-
|
|
133
|
+
khoj/interface/compiled/_next/static/chunks/app/factchecker/page-607e445a607742ad.js,sha256=CQum9AiN5fTsUAix1VHy1vJawt39b4sSs2yDeSi4KC8,14207
|
|
136
134
|
khoj/interface/compiled/_next/static/chunks/app/search/layout-3720f1362310bebb.js,sha256=Smpa4MQaw5ItashtspsDKsOvRa6sOXH_lv4jIfWIbNI,170
|
|
137
|
-
khoj/interface/compiled/_next/static/chunks/app/search/page-
|
|
135
|
+
khoj/interface/compiled/_next/static/chunks/app/search/page-f93dea59804c59d3.js,sha256=NAuklYL_L4ZbGgSjHHWT_blT3HcVaN9db2ji0gNz2c4,7141
|
|
138
136
|
khoj/interface/compiled/_next/static/chunks/app/settings/layout-6f9314b0d7a26046.js,sha256=ikl3vCXnp81sa24uPSuRbgvgDtpHGWfhxEs4OAOYXIM,5347
|
|
139
|
-
khoj/interface/compiled/_next/static/chunks/app/settings/page-
|
|
137
|
+
khoj/interface/compiled/_next/static/chunks/app/settings/page-46f805063404cd4a.js,sha256=jYOQHR0EBTt5K0lfngV2rNtaq0gpwI7g-CmRHuWlA_o,30233
|
|
140
138
|
khoj/interface/compiled/_next/static/chunks/app/share/chat/layout-39f03f9e32399f0f.js,sha256=ClS8wrj6HOsRL4VX8DMiqX_MlQDsi_3CA-AQt4m7vuA,373
|
|
141
|
-
khoj/interface/compiled/_next/static/chunks/app/share/chat/page-
|
|
139
|
+
khoj/interface/compiled/_next/static/chunks/app/share/chat/page-8e1282322fbe8aa9.js,sha256=NdDVrWEfLjzViKvHQNOo-Q3mJlni_K6yi38bD-QZKx4,11472
|
|
142
140
|
khoj/interface/compiled/_next/static/chunks/pages/_app-f870474a17b7f2fd.js,sha256=eqdFPAN_XFyMUzZ9qwFk-_rhMWZrU7lgNVt1foVUANo,286
|
|
143
141
|
khoj/interface/compiled/_next/static/chunks/pages/_error-c66a4e8afc46f17b.js,sha256=vjERjtMAbVk-19LyPf1Jc-H6TMcrSznSz6brzNqbqf8,253
|
|
144
142
|
khoj/interface/compiled/_next/static/css/13451ab2112cedfd.css,sha256=FW8fyQovn-1EUhiLjrlOc9r0RglBzPYYBKVNFvaJqtg,17699
|
|
145
143
|
khoj/interface/compiled/_next/static/css/1538cedb321e3a97.css,sha256=-qLZhPN-wA3kcrVODVTaG1sN0pmuzRCqNH12gs5_qYc,2569
|
|
146
|
-
khoj/interface/compiled/_next/static/css/2602b0918043c1e5.css,sha256=EUN0CJQ_5P0FznfU8dfjI6APVIf4Hf40QV1NgNydhzc,29905
|
|
147
144
|
khoj/interface/compiled/_next/static/css/2e0119685b8db281.css,sha256=s8KbSzA2Y33HeeJtx2YmykKcHMGi6N9SJbvS0_f_A_o,1880519
|
|
148
|
-
khoj/interface/compiled/_next/static/css/
|
|
149
|
-
khoj/interface/compiled/_next/static/css/
|
|
150
|
-
khoj/interface/compiled/_next/static/css/
|
|
145
|
+
khoj/interface/compiled/_next/static/css/553f9cdcc7a2bcd6.css,sha256=JpjOOwmqP9Hba-w_8Lx9jWW0ZD0kD3wR0HvdPGDyUPo,2134
|
|
146
|
+
khoj/interface/compiled/_next/static/css/56342076e57c6063.css,sha256=bpsvjBmpeNm-N4iuIakMapFE-7Z00HyIgIFY88IxIeg,7351
|
|
147
|
+
khoj/interface/compiled/_next/static/css/75b30a7873d68715.css,sha256=SSE8uIXmqlQsdSYBnYJHnIlAkdxfDBg_vGpkknI0m6I,904
|
|
151
148
|
khoj/interface/compiled/_next/static/css/a3530ec58b0b660f.css,sha256=2fpX695nzJ6sNaNZbX_3Z0o-IA5kRlyN0ByIIXRgmtg,1570
|
|
152
149
|
khoj/interface/compiled/_next/static/css/b81e909d403fb2df.css,sha256=bbu108v2_T74MIyokVmUz0A_oFCIHJpzHdYExXFYgjs,1913
|
|
150
|
+
khoj/interface/compiled/_next/static/css/d121502f42a9e126.css,sha256=2QZg893kwnGFCGcTnw5S55ODY8WoTPDSDBJUcf4z9pw,26930
|
|
153
151
|
khoj/interface/compiled/_next/static/media/0e790e04fd40ad16-s.p.woff2,sha256=41ewITd0G1ZAoB62BTHMW58a1q8Hl6vSbTQkkHP7EbI,39372
|
|
154
152
|
khoj/interface/compiled/_next/static/media/4221e1667cd19c7d-s.woff2,sha256=_Y3g0keA8P6nZnFfm_VO5o2Sne1iST3v9xz4fBo3fwM,75532
|
|
155
153
|
khoj/interface/compiled/_next/static/media/6c276159aa0eb14b-s.woff2,sha256=i9Ibzi_O7y5KpImujj2rEdOZf96lpNYxYzVvCryW5Uc,140408
|
|
@@ -222,20 +220,22 @@ khoj/interface/compiled/_next/static/media/flags.3afdda2f.webp,sha256=M2AW_HLpBn
|
|
|
222
220
|
khoj/interface/compiled/_next/static/media/flags@2x.5fbe9fc1.webp,sha256=BBeRPBZkxY3-aKkMnYv5TSkxmbeMbyUH4VRIPfrWg1E,137406
|
|
223
221
|
khoj/interface/compiled/_next/static/media/globe.98e105ca.webp,sha256=g3ofb8-W9GM75zIhlvQhaS8I2py9TtrovOKR3_7Jf04,514
|
|
224
222
|
khoj/interface/compiled/_next/static/media/globe@2x.974df6f8.webp,sha256=I_N7Yke3IOoS-0CC6XD8o0IUWG8PdPbrHmf6lpgWlZY,1380
|
|
225
|
-
khoj/interface/compiled/
|
|
226
|
-
khoj/interface/compiled/
|
|
227
|
-
khoj/interface/compiled/
|
|
228
|
-
khoj/interface/compiled/
|
|
229
|
-
khoj/interface/compiled/
|
|
230
|
-
khoj/interface/compiled/
|
|
231
|
-
khoj/interface/compiled/
|
|
232
|
-
khoj/interface/compiled/
|
|
233
|
-
khoj/interface/compiled/
|
|
234
|
-
khoj/interface/compiled/
|
|
235
|
-
khoj/interface/compiled/
|
|
236
|
-
khoj/interface/compiled/
|
|
237
|
-
khoj/interface/compiled/
|
|
238
|
-
khoj/interface/compiled/
|
|
223
|
+
khoj/interface/compiled/_next/static/tDaQskRolLnI6CcuGOaM-/_buildManifest.js,sha256=6I9QUstNpJnhe3leR2Daw0pSXwzcbBscv6h2jmmPpms,224
|
|
224
|
+
khoj/interface/compiled/_next/static/tDaQskRolLnI6CcuGOaM-/_ssgManifest.js,sha256=Z49s4suAsf5y_GfnQSvm4qtq2ggxEbZPfEDTXjy6XgA,80
|
|
225
|
+
khoj/interface/compiled/agents/index.html,sha256=KhQ_TNussJk-veWlfl9msem6ne6n1sff0Ff6NVPrUfU,10409
|
|
226
|
+
khoj/interface/compiled/agents/index.txt,sha256=Cs-a49FOXmpmHdJa4q0B4dgvTNZ793xh9j0vvLxC33U,4909
|
|
227
|
+
khoj/interface/compiled/automations/index.html,sha256=f5fT87-qCuMmLcZOHRx1Me-aMuLequxjkh0Kv9ZzupU,28180
|
|
228
|
+
khoj/interface/compiled/automations/index.txt,sha256=uOk1jxcX-fH1gJImW9zBnTDteafQdaDLr43fXvro8gA,4266
|
|
229
|
+
khoj/interface/compiled/chat/index.html,sha256=5W1nGCLeDxfd_MgZUxFjA3Lcrmz-I1DL-S5vLJRTwuk,11288
|
|
230
|
+
khoj/interface/compiled/chat/index.txt,sha256=DXpd8Ht949759kzfMivQsHUsxnTG5LzKlP1i78yza5Q,5261
|
|
231
|
+
khoj/interface/compiled/factchecker/index.html,sha256=kfq1MFnnpJLB9zUpdni7KErQpssiDfxFf0OI-BJYk9w,27515
|
|
232
|
+
khoj/interface/compiled/factchecker/index.txt,sha256=aMmiLQhPuGVOQQTNIhEKCJbYIJd7aFZOtY3eW8OIwpQ,4552
|
|
233
|
+
khoj/interface/compiled/search/index.html,sha256=M6YXxwnsJH44zDqLwaJiJK1YapG_ni5SA4JBfVkxRcQ,27864
|
|
234
|
+
khoj/interface/compiled/search/index.txt,sha256=ZBzIiZPHhCbT6M4eN2Xb97vI93h6-vILuh1-cN30Wto,4083
|
|
235
|
+
khoj/interface/compiled/settings/index.html,sha256=qkt3RnddJudPWl0gravLgpw_Ho4X9NSjHgSMupTXGKU,10525
|
|
236
|
+
khoj/interface/compiled/settings/index.txt,sha256=QwXA4_Ffe5d542Hm3BczTupvpLA2E1iXLZ2qvCPIG94,4901
|
|
237
|
+
khoj/interface/compiled/share/chat/index.html,sha256=KbeKaySbGZvu9j77Zr9ja9uInUXozXNB7AdH5rVdwsA,11675
|
|
238
|
+
khoj/interface/compiled/share/chat/index.txt,sha256=3b4qcrarlXSr01pYFONHXmBT0ynQvTm9XqScyOoDsVA,5618
|
|
239
239
|
khoj/interface/email/feedback.html,sha256=xksuPFamx4hGWyTTxZKRgX_eiYQQEuv-eK9Xmkt-nwU,1216
|
|
240
240
|
khoj/interface/email/magic_link.html,sha256=jXY_2hD3o15Ns5UDzbjLT8FHBnZiS7jo38YkYXIS-4w,947
|
|
241
241
|
khoj/interface/email/task.html,sha256=yXywzC-5P4nXbhqvgCmwcCpTRbD5eWuDXMpgYSotztM,3311
|
|
@@ -315,13 +315,13 @@ khoj/processor/tools/online_search.py,sha256=cQZ6Aw7Kg0QXCthK4Vdn3gtF2K9GtUZmCkb
|
|
|
315
315
|
khoj/routers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
316
316
|
khoj/routers/api.py,sha256=Zbr81RHU00SQxRbbFlYM_gT81oLb3lAXoksj-I1-pPg,25066
|
|
317
317
|
khoj/routers/api_agents.py,sha256=ks8QzjmZiio6j1QGi6xFtDmVxd9lvC6LPB-WcDPnF8o,1525
|
|
318
|
-
khoj/routers/api_chat.py,sha256=
|
|
318
|
+
khoj/routers/api_chat.py,sha256=k5E6X6qcL7ULLrMrO_cPnYraJBFFaJOYMIcfNiBSKnM,35502
|
|
319
319
|
khoj/routers/api_content.py,sha256=OfY05ggRmg0FuVWzodBfV_5Gc6UbGCfchiIk8eqKA2o,17387
|
|
320
320
|
khoj/routers/api_model.py,sha256=5m7JWwgd9jILiLivRu7NEyY2E-tUkqoEkGg6j6uM1g0,4646
|
|
321
321
|
khoj/routers/api_phone.py,sha256=p9yfc4WeMHDC0hg3aQk60a2VBy8rZPdEnz9wdJ7DzkU,2208
|
|
322
322
|
khoj/routers/auth.py,sha256=pCOLSRihJWcn097DRPxLjPdlejsjHJFRs9jHIzLujZU,6247
|
|
323
323
|
khoj/routers/email.py,sha256=hhxyLdmgSUfeHTXTco7g4aWDAEaVzF82mV-hshxzHsg,3695
|
|
324
|
-
khoj/routers/helpers.py,sha256=
|
|
324
|
+
khoj/routers/helpers.py,sha256=mw94UTGrcGC7wtSMRx2AaZ9WfsrSNaa-HxDHBtdn5GU,62566
|
|
325
325
|
khoj/routers/notion.py,sha256=0iG_DPVjg8n_LBWGHA8M6eHnJJDL-isARSEHTYStz6c,2809
|
|
326
326
|
khoj/routers/storage.py,sha256=9ZfBsr_omxdFV-Lcj6p30xTQcF_7wwCZ9XFJukzjITE,1429
|
|
327
327
|
khoj/routers/subscription.py,sha256=qEyV7m7mrY6MGtaij8W3v61tpzX2a7ydm2B-E8h_R-M,4285
|
|
@@ -346,8 +346,8 @@ khoj/utils/models.py,sha256=Q5tcC9-z25sCiub048fLnvZ6_IIO1bcPNxt5payekk0,2009
|
|
|
346
346
|
khoj/utils/rawconfig.py,sha256=luk7Vb_ODuoTdMd_IG-yVXGoyoU-RktyapBG5D1N_VI,3985
|
|
347
347
|
khoj/utils/state.py,sha256=x4GTewP1YhOA6c_32N4wOjnV-3AA3xG_qbY1-wC2Uxc,1559
|
|
348
348
|
khoj/utils/yaml.py,sha256=H0mfw0ZvBFUvFmCQn8pWkfxdmIebsrSykza7D8Wv6wQ,1430
|
|
349
|
-
khoj-1.20.
|
|
350
|
-
khoj-1.20.
|
|
351
|
-
khoj-1.20.
|
|
352
|
-
khoj-1.20.
|
|
353
|
-
khoj-1.20.
|
|
349
|
+
khoj-1.20.3.dev1.dist-info/METADATA,sha256=PSNeqEbV0adQXDfBgaLxpWqyNru-5QMwE-R8AftozdA,6875
|
|
350
|
+
khoj-1.20.3.dev1.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
351
|
+
khoj-1.20.3.dev1.dist-info/entry_points.txt,sha256=KBIcez5N_jCgq_ER4Uxf-e1lxTBMTE_BBjMwwfeZyAg,39
|
|
352
|
+
khoj-1.20.3.dev1.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
|
|
353
|
+
khoj-1.20.3.dev1.dist-info/RECORD,,
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
div.agents_titleBar__FzYbY{padding:16px 0;text-align:left}.agents_agentPersonality__o0Ysz p{white-space:inherit;overflow:hidden;height:77px;line-height:1.5}div.agents_agentPersonality__o0Ysz{text-align:left;grid-column:span 3;overflow:hidden}div.agents_pageLayout__gR3S3{max-width:60vw;margin:auto auto 2rem}div.agents_sidePanel__wGVGc{position:fixed;height:100%}button.agents_infoButton__NqI7E{border:none;background-color:transparent!important;text-align:left;font-family:inherit;font-size:medium}div.agents_agentList__XVx4A{display:grid;gap:20px;padding-top:30px;margin-right:auto;grid-auto-flow:row;grid-template-columns:1fr 1fr;margin-left:auto}@media only screen and (max-width:768px){div.agents_agentList__XVx4A{width:100%;padding:0;margin-right:auto;margin-left:auto;grid-template-columns:1fr}div.agents_pageLayout__gR3S3{max-width:90vw}div.agents_sidePanel__wGVGc{position:relative;height:100%}}div.sidePanel_session__R9wgH{padding:.5rem;margin-bottom:.25rem;border-radius:.5rem;cursor:pointer;max-width:14rem;font-size:medium;display:grid;grid-template-columns:minmax(auto,400px) 1fr;gap:0}div.sidePanel_compressed__YBPtM{grid-template-columns:minmax(12rem,100%) 1fr 1fr}div.sidePanel_sessionHover__iwfo8,div.sidePanel_session__R9wgH:hover{background-color:hsla(var(--popover))}div.sidePanel_session__R9wgH:hover{color:hsla(var(--popover-foreground))}div.sidePanel_session__R9wgH a{text-decoration:none}button.sidePanel_button__ihOfG{border:none;outline:none;background-color:transparent;cursor:pointer;color:var(--main-text-color);width:24px}button.sidePanel_showMoreButton__dt9Zw{border-radius:.5rem;padding:8px}div.sidePanel_panel__VZ8ye{display:flex;flex-direction:column;padding:1rem;overflow-y:auto;max-width:auto;transition:background-color .5s}div.sidePanel_expanded__ZjTHo{gap:1rem;background-color:hsla(var(--muted));height:100%}div.sidePanel_collapsed__OjVmG{display:grid;grid-template-columns:1fr;height:-moz-fit-content;height:fit-content;padding:1rem 0 0 1rem}p.sidePanel_session__R9wgH{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-align:left;font-size:small}div.sidePanel_header__d5cGA{display:grid;grid-template-columns:1fr auto}div.sidePanel_profile__x0w58{display:grid;grid-template-columns:auto 1fr;gap:1rem;align-items:center;margin-top:auto}div.sidePanel_panelWrapper__k_lal{display:grid;grid-template-rows:1fr auto auto;height:100%}div.sidePanel_modalSessionsList__nKe2n{position:fixed;top:0;left:0;width:100%;height:100%;background-color:hsla(var(--frosted-background-color));z-index:1;display:flex;justify-content:center;align-items:center;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}div.sidePanel_modalSessionsList__nKe2n div.sidePanel_content__Wq20_{max-width:80%;max-height:80%;background-color:hsla(var(--frosted-background-color));overflow:auto;padding:20px;border-radius:10px}div.sidePanel_modalSessionsList__nKe2n div.sidePanel_session__R9wgH{max-width:100%;text-overflow:ellipsis}@media screen and (max-width:768px){div.sidePanel_panel__VZ8ye{padding:.25rem;width:100%}div.sidePanel_expanded__ZjTHo{z-index:1}div.sidePanel_singleReference__r9z1n{padding:4px}div.sidePanel_panelWrapper__k_lal{width:100%;padding:0 1rem}div.sidePanel_session__R9wgH.sidePanel_compressed__YBPtM{max-width:100%;display:grid;grid-template-columns:70vw auto;justify-content:space-between}div.sidePanel_session__R9wgH{max-width:100%;grid-template-columns:minmax(auto,70vw) 1fr}}menu.navMenu_menu__fqlFF a{text-decoration:none;font-size:medium;font-weight:400;padding:0 4px;border-radius:4px;display:flex;justify-self:center;margin:0;align-items:center;gap:4px}a.navMenu_selected__A__aP{background-color:hsl(var(--accent))}div.navMenu_titleBar__HJoio{display:flex;justify-content:space-between;align-content:space-evenly;align-items:start}div.navMenu_titleBar__HJoio menu{padding:0;margin:0;border-radius:.5rem;display:grid;grid-auto-flow:column;gap:32px}div.navMenu_settingsMenuProfile__3npiK img{border-radius:50%;width:32px;height:32px;margin:0}div.navMenu_settingsMenu__X2i2U{padding:0 4px;border-radius:4px;display:flex;justify-self:center;margin:0;align-items:center}div.navMenu_settingsMenuOptions__KWnLv{display:block;grid-auto-flow:row;position:absolute;background-color:var(--background-color);box-shadow:0 8px 16px 0 rgba(0,0,0,.2);top:64px;text-align:left;padding:8px;border-radius:8px}@media screen and (max-width:600px){menu.navMenu_menu__fqlFF span{display:none}div.navMenu_settingsMenuOptions__KWnLv{right:4px}div.navMenu_titleBar__HJoio{padding:8px}}div.chatHistory_chatHistory__CoaVT{display:flex;flex-direction:column;height:100%}div.chatHistory_chatLayout__ABli_{height:80vh;overflow-y:auto;margin:0 auto}div.chatHistory_agentIndicator__wOU1f a{display:flex;text-align:center;align-content:center;align-items:center}div.chatHistory_trainOfThought__mMWSR{border:1px solid var(--border-color);border-radius:16px;padding:8px 16px;margin:12px}div.search_searchLayout__fP3m0{display:grid;grid-template-columns:1fr;gap:1rem;height:100vh}div.search_sidePanel__myfc9{position:fixed;height:100%}@media screen and (max-width:768px){div.search_searchLayout__fP3m0{gap:0}div.search_sidePanel__myfc9{position:relative;height:100%}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
div.automations_automationsLayout__Atoh_{display:grid;grid-template-columns:1fr 1fr;gap:1rem}div.automations_automationCard__BKidA{display:grid;grid-template-rows:auto 1fr auto}div.automations_pageLayout__OaoYA{max-width:60vw;margin:auto auto 2rem}div.automations_sidePanel__MPciO{position:fixed;height:100%}@media screen and (max-width:768px){div.automations_automationsLayout__Atoh_{grid-template-columns:1fr}div.automations_pageLayout__OaoYA{max-width:90vw}div.automations_sidePanel__MPciO{position:relative;height:100%}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
div.page_main__nw1Wk{height:100dvh;color:hsla(var(--foreground))}div.page_suggestions__Y8EqU{overflow-x:none;height:-moz-fit-content;height:fit-content;padding:10px;white-space:nowrap;gap:1rem}div.page_inputBox__LrcZ4{border:1px solid var(--border-color);margin-bottom:20px;align-content:center}input.page_inputBox__LrcZ4{border:none}input.page_inputBox__LrcZ4:focus{outline:none;background-color:transparent}div.page_inputBox__LrcZ4:focus{box-shadow:0 8px 16px 0 rgba(0,0,0,.2)}div.page_chatBodyFull__Qu2T2{display:grid;grid-template-columns:1fr;height:100%}button.page_inputBox__LrcZ4{border:none;outline:none;background-color:transparent;cursor:pointer;border-radius:.5rem;padding:.5rem;background:linear-gradient(var(--calm-green),var(--calm-blue))}div.page_chatBody__IirQQ{display:grid;grid-template-columns:1fr 1fr;height:100%}.page_inputBox__LrcZ4{color:hsla(var(--foreground))}div.page_chatLayout__bJUjP{display:grid;grid-template-columns:1fr;gap:1rem}div.page_chatBox__gsR6V{display:grid}div.page_titleBar__3btUI{display:grid;grid-template-columns:1fr auto}div.page_chatBoxBody__xORKr,div.page_homeGreetings__VjQhh{display:grid;height:100%;margin:auto}div.page_homeGreetings__VjQhh{grid-template-rows:1fr 2fr}div.page_sidePanel__mxpxa{position:fixed;height:100%}@media screen and (max-width:768px){div.page_inputBox__LrcZ4{margin-bottom:0}div.page_chatBody__IirQQ{grid-template-columns:0fr 1fr}div.page_chatBoxBody__xORKr{width:100%;grid-template-rows:auto}div.page_sidePanel__mxpxa{position:relative}div.page_chatBox__gsR6V{padding:0;height:100%}div.page_chatLayout__bJUjP{gap:0;grid-template-columns:1fr}div.page_chatLayout__bJUjP,div.page_homeGreetings__VjQhh{grid-template-rows:auto 1fr}}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|