khoj 1.42.2.dev19__py3-none-any.whl → 1.42.3__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 (51) hide show
  1. khoj/database/models/__init__.py +3 -3
  2. khoj/interface/compiled/404/index.html +2 -2
  3. khoj/interface/compiled/_next/static/chunks/2327-024b9e0bd6d8c9eb.js +1 -0
  4. khoj/interface/compiled/_next/static/chunks/7127-a6dc754bce8b6855.js +1 -0
  5. khoj/interface/compiled/_next/static/chunks/app/agents/{page-774c78ff0f55a228.js → page-e18e67cff45758c8.js} +1 -1
  6. khoj/interface/compiled/_next/static/chunks/app/automations/{page-fc4f5a3ca7201154.js → page-1c2280ae9678b4ce.js} +1 -1
  7. khoj/interface/compiled/_next/static/chunks/app/chat/layout-d5ae861e1ade9d08.js +1 -0
  8. khoj/interface/compiled/_next/static/chunks/app/chat/page-0cb925fc23ccec3b.js +1 -0
  9. khoj/interface/compiled/_next/static/chunks/app/{page-f7a0286dfc31ad6b.js → page-a4b97dd0c2a70cfb.js} +1 -1
  10. khoj/interface/compiled/_next/static/chunks/app/search/{page-f1a7f278c89e09b6.js → page-44072d929427ee56.js} +1 -1
  11. khoj/interface/compiled/_next/static/chunks/app/settings/{page-5d9134d4a97f8834.js → page-4e8fdd30a3238357.js} +1 -1
  12. khoj/interface/compiled/_next/static/chunks/app/share/chat/layout-b3f7ae1ef8871d30.js +1 -0
  13. khoj/interface/compiled/_next/static/chunks/app/share/chat/{page-bcc8f41edcfbcb6c.js → page-27560c92db5fc2d9.js} +1 -1
  14. khoj/interface/compiled/_next/static/chunks/{webpack-f39eedae8f597e56.js → webpack-f0484435351746ec.js} +1 -1
  15. khoj/interface/compiled/_next/static/css/1e9b757ee2a2b34b.css +1 -0
  16. khoj/interface/compiled/_next/static/css/ee66643a6a5bf71c.css +1 -0
  17. khoj/interface/compiled/agents/index.html +2 -2
  18. khoj/interface/compiled/agents/index.txt +2 -2
  19. khoj/interface/compiled/automations/index.html +2 -2
  20. khoj/interface/compiled/automations/index.txt +2 -2
  21. khoj/interface/compiled/chat/index.html +2 -2
  22. khoj/interface/compiled/chat/index.txt +2 -2
  23. khoj/interface/compiled/index.html +2 -2
  24. khoj/interface/compiled/index.txt +2 -2
  25. khoj/interface/compiled/search/index.html +2 -2
  26. khoj/interface/compiled/search/index.txt +2 -2
  27. khoj/interface/compiled/settings/index.html +2 -2
  28. khoj/interface/compiled/settings/index.txt +2 -2
  29. khoj/interface/compiled/share/chat/index.html +2 -2
  30. khoj/interface/compiled/share/chat/index.txt +2 -2
  31. khoj/processor/conversation/anthropic/utils.py +9 -2
  32. khoj/processor/conversation/openai/utils.py +46 -6
  33. khoj/processor/conversation/utils.py +8 -8
  34. khoj/processor/image/generate.py +3 -3
  35. khoj/processor/operator/operator_environment_computer.py +2 -2
  36. khoj/routers/api_chat.py +6 -2
  37. khoj/routers/helpers.py +32 -30
  38. {khoj-1.42.2.dev19.dist-info → khoj-1.42.3.dist-info}/METADATA +2 -2
  39. {khoj-1.42.2.dev19.dist-info → khoj-1.42.3.dist-info}/RECORD +44 -44
  40. khoj/interface/compiled/_next/static/chunks/2327-aa22697ed9c8d54a.js +0 -1
  41. khoj/interface/compiled/_next/static/chunks/7127-79a3af5138960272.js +0 -1
  42. khoj/interface/compiled/_next/static/chunks/app/chat/layout-33934fc2d6ae6838.js +0 -1
  43. khoj/interface/compiled/_next/static/chunks/app/chat/page-14cf05b18e3c00ad.js +0 -1
  44. khoj/interface/compiled/_next/static/chunks/app/share/chat/layout-abb6c5f4239ad7be.js +0 -1
  45. khoj/interface/compiled/_next/static/css/37a73b87f02df402.css +0 -1
  46. khoj/interface/compiled/_next/static/css/4398afc6d5a37666.css +0 -1
  47. /khoj/interface/compiled/_next/static/{oXUhXGFp7bJNGngoyQu8D → 1FCYUr9vdVqeRJWN1tmu0}/_buildManifest.js +0 -0
  48. /khoj/interface/compiled/_next/static/{oXUhXGFp7bJNGngoyQu8D → 1FCYUr9vdVqeRJWN1tmu0}/_ssgManifest.js +0 -0
  49. {khoj-1.42.2.dev19.dist-info → khoj-1.42.3.dist-info}/WHEEL +0 -0
  50. {khoj-1.42.2.dev19.dist-info → khoj-1.42.3.dist-info}/entry_points.txt +0 -0
  51. {khoj-1.42.2.dev19.dist-info → khoj-1.42.3.dist-info}/licenses/LICENSE +0 -0
khoj/routers/helpers.py CHANGED
@@ -1,3 +1,4 @@
1
+ import asyncio
1
2
  import base64
2
3
  import concurrent.futures
3
4
  import hashlib
@@ -136,6 +137,7 @@ from khoj.utils.rawconfig import (
136
137
  LocationData,
137
138
  SearchResponse,
138
139
  )
140
+ from khoj.utils.state import SearchType
139
141
 
140
142
  logger = logging.getLogger(__name__)
141
143
 
@@ -1245,7 +1247,7 @@ async def search_documents(
1245
1247
  user if not should_limit_to_agent_knowledge else None,
1246
1248
  f"{query} {filters_in_query}",
1247
1249
  n=n,
1248
- t=state.SearchType.All,
1250
+ t=SearchType.All,
1249
1251
  r=True,
1250
1252
  max_distance=d,
1251
1253
  dedupe=False,
@@ -1337,7 +1339,7 @@ async def execute_search(
1337
1339
  user: KhojUser,
1338
1340
  q: str,
1339
1341
  n: Optional[int] = 5,
1340
- t: Optional[state.SearchType] = None,
1342
+ t: Optional[SearchType] = None,
1341
1343
  r: Optional[bool] = False,
1342
1344
  max_distance: Optional[Union[float, None]] = None,
1343
1345
  dedupe: Optional[bool] = True,
@@ -1361,7 +1363,7 @@ async def execute_search(
1361
1363
  user_query = q.strip()
1362
1364
  results_count = n or 5
1363
1365
  t = t or state.SearchType.All
1364
- search_futures: List[concurrent.futures.Future] = []
1366
+ search_tasks = []
1365
1367
 
1366
1368
  # return cached results, if available
1367
1369
  if user:
@@ -1376,38 +1378,38 @@ async def execute_search(
1376
1378
  defiltered_query = filter.defilter(defiltered_query)
1377
1379
 
1378
1380
  encoded_asymmetric_query = None
1379
- if t != state.SearchType.Image:
1381
+ if t.value != SearchType.Image.value:
1380
1382
  with timer("Encoding query took", logger=logger):
1381
1383
  search_model = await sync_to_async(get_default_search_model)()
1382
1384
  encoded_asymmetric_query = state.embeddings_model[search_model.name].embed_query(defiltered_query)
1383
1385
 
1384
- with concurrent.futures.ThreadPoolExecutor() as executor:
1385
- if t in [
1386
- state.SearchType.All,
1387
- state.SearchType.Org,
1388
- state.SearchType.Markdown,
1389
- state.SearchType.Github,
1390
- state.SearchType.Notion,
1391
- state.SearchType.Plaintext,
1392
- state.SearchType.Pdf,
1393
- ]:
1394
- # query markdown notes
1395
- search_futures += [
1396
- executor.submit(
1397
- text_search.query,
1398
- user_query,
1399
- user,
1400
- t,
1401
- question_embedding=encoded_asymmetric_query,
1402
- max_distance=max_distance,
1403
- agent=agent,
1404
- )
1405
- ]
1386
+ # Use asyncio to run searches in parallel
1387
+ if t.value in [
1388
+ SearchType.All.value,
1389
+ SearchType.Org.value,
1390
+ SearchType.Markdown.value,
1391
+ SearchType.Github.value,
1392
+ SearchType.Notion.value,
1393
+ SearchType.Plaintext.value,
1394
+ SearchType.Pdf.value,
1395
+ ]:
1396
+ # query markdown notes
1397
+ search_tasks.append(
1398
+ text_search.query(
1399
+ user_query,
1400
+ user,
1401
+ t,
1402
+ question_embedding=encoded_asymmetric_query,
1403
+ max_distance=max_distance,
1404
+ agent=agent,
1405
+ )
1406
+ )
1406
1407
 
1407
- # Query across each requested content types in parallel
1408
- with timer("Query took", logger):
1409
- for search_future in concurrent.futures.as_completed(search_futures):
1410
- hits = await search_future.result()
1408
+ # Query across each requested content types in parallel
1409
+ with timer("Query took", logger):
1410
+ if search_tasks:
1411
+ hits_list = await asyncio.gather(*search_tasks)
1412
+ for hits in hits_list:
1411
1413
  # Collate results
1412
1414
  results += text_search.collate_results(hits, dedupe=dedupe)
1413
1415
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: khoj
3
- Version: 1.42.2.dev19
3
+ Version: 1.42.3
4
4
  Summary: Your Second Brain
5
5
  Project-URL: Homepage, https://khoj.dev
6
6
  Project-URL: Documentation, https://docs.khoj.dev
@@ -20,7 +20,7 @@ Classifier: Programming Language :: Python :: 3.12
20
20
  Classifier: Topic :: Internet :: WWW/HTTP :: Indexing/Search
21
21
  Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
22
22
  Classifier: Topic :: Scientific/Engineering :: Human Machine Interfaces
23
- Requires-Python: >=3.10
23
+ Requires-Python: <3.13,>=3.10
24
24
  Requires-Dist: aiohttp~=3.9.0
25
25
  Requires-Dist: anthropic==0.52.0
26
26
  Requires-Dist: anyio~=4.8.0
@@ -123,22 +123,24 @@ khoj/database/migrations/0088_ratelimitrecord.py,sha256=CxlkfbA8eTO57pv0AvJYfGRp
123
123
  khoj/database/migrations/0089_chatmodel_price_tier_and_more.py,sha256=EJ1Yf6MMzhGMwJOS3AECaU6ks4NfRW0utyDa7lreNwQ,1211
124
124
  khoj/database/migrations/0090_alter_khojuser_uuid.py,sha256=2h9v-DiuqFuZKpAyWYwueqZkBHvxZbm-_guRjNaZzxg,3802
125
125
  khoj/database/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
126
- khoj/database/models/__init__.py,sha256=u9_0j7UEBVSKq2bwc7ClfgSFHLddb2cL4_L4XO-lSqY,31192
126
+ khoj/database/models/__init__.py,sha256=K7KiZXBmWpJtDzWd-QHPLXwKYDBCbSCuzs9NP3BS8Wk,31227
127
127
  khoj/interface/compiled/agents.svg,sha256=yFCRwIM-Qawa0C5ggAo3ekb-Q1ElmotBOKIGhtfIQqM,1722
128
128
  khoj/interface/compiled/automation.svg,sha256=o7L2XYwJWRSMvl8h6TBv6Pt28RTRVMHqF04EPY0AFj0,1467
129
129
  khoj/interface/compiled/chat.svg,sha256=l2JoYRRgk201adTTdvJ-buKUrc0WGfsudix5xEvtM3A,2424
130
130
  khoj/interface/compiled/close.svg,sha256=hQ2iFLkNzHk0_iyTrSbwnWAeXYlgA-c2Eof2Iqh76n4,417
131
131
  khoj/interface/compiled/copy-button-success.svg,sha256=byqWAYD3Pn9IOXRjOKudJ-TJbP2UESbQGvtLWazNGjY,829
132
132
  khoj/interface/compiled/copy-button.svg,sha256=05bKM2eRxksfBlAPT7yMaoNJEk85bZCxQg67EVrPeHo,669
133
- khoj/interface/compiled/index.html,sha256=if-sn9a-5XzFlPTYY3xCXtQx0ztmwChq6EyaRpXDcJs,53043
134
- khoj/interface/compiled/index.txt,sha256=n4zs9ubKh8DrqIUc67LluSwr4hGszWnDy808VOIV1a0,7616
133
+ khoj/interface/compiled/index.html,sha256=2bMnB8ZbBLovZkG58rcXSjzg2v8oG4moRBrHC6ASYKE,53353
134
+ khoj/interface/compiled/index.txt,sha256=uTlWL3k7ytCzmfXPUu96xYHFYxhkVuzvNuuInPP02oY,7749
135
135
  khoj/interface/compiled/khoj.webmanifest,sha256=9wOK2BMS6xH5NKd2eaUgTLg9WepIxB2K2U33KU89LD8,2543
136
136
  khoj/interface/compiled/logo.svg,sha256=_QCKVYM4WT2Qhcf7aVFImjq_s5CwjynGXYAOgI7yf8w,8059
137
137
  khoj/interface/compiled/send.svg,sha256=VdavOWkVddcwcGcld6pdfmwfz7S91M-9O28cfeiKJkM,635
138
138
  khoj/interface/compiled/share.svg,sha256=91lwo75PvMDrgocuZQab6EQ62CxRbubh9Bhw7CWMKbg,1221
139
139
  khoj/interface/compiled/thumbs-down.svg,sha256=JGNl-DwoRmH2XFMPWwFFklmoYtKxaQbkLE3nuYKe8ZY,1019
140
140
  khoj/interface/compiled/thumbs-up.svg,sha256=yS1wxTRtiztkN-6nZciLoYQUB_KTYNPV8xFRwH2TQFw,1036
141
- khoj/interface/compiled/404/index.html,sha256=OW0u3uPhY6UkUQemPzsUXcs5WfWXXFunnKmC3oaH2u4,17097
141
+ khoj/interface/compiled/404/index.html,sha256=64OmNxxNvB481IpXx93Rms2LF0mErc5oYucIloDr0VM,17097
142
+ khoj/interface/compiled/_next/static/1FCYUr9vdVqeRJWN1tmu0/_buildManifest.js,sha256=f2_nYnw25hHWQJ-39Lf5OH1u6kgdbOInyfplqgjvAV4,224
143
+ khoj/interface/compiled/_next/static/1FCYUr9vdVqeRJWN1tmu0/_ssgManifest.js,sha256=Z49s4suAsf5y_GfnQSvm4qtq2ggxEbZPfEDTXjy6XgA,80
142
144
  khoj/interface/compiled/_next/static/chunks/1243.ea2826fb35adb15a.js,sha256=Y6ceAwyTH4HSGDvBRoBB-RVXRCzGGr8NSPcspYF5OM8,182
143
145
  khoj/interface/compiled/_next/static/chunks/133.392ae90c3b2a67f2.js,sha256=IK-mb9ZlF6uJUdU8AuXsppc99tFL8svJvZtKNZGNtcY,411
144
146
  khoj/interface/compiled/_next/static/chunks/1592.b069bdb7aaddd2eb.js,sha256=VUaP2gjX3W9tA9pOH_VIPG_2BIg7Wk1AICrfU5iHgrk,71096
@@ -146,7 +148,7 @@ khoj/interface/compiled/_next/static/chunks/1915-1943ee8a628b893c.js,sha256=qArq
146
148
  khoj/interface/compiled/_next/static/chunks/2069.f060659791c0c484.js,sha256=C_oat_BkZcLOHsyJlNN_5I55fB7ee1zkkZ9FT5zOzn4,186
147
149
  khoj/interface/compiled/_next/static/chunks/2117-056a00add390772b.js,sha256=lTuiCOTU8XMmlt22c10pK0DmvUgmNwebKYEeobCK56A,123994
148
150
  khoj/interface/compiled/_next/static/chunks/2170.45431769330fa5b7.js,sha256=C7Puu9x18DhdR5Sh8XXvTzPdP_HTK6WhsJDNW-NoB7o,24019
149
- khoj/interface/compiled/_next/static/chunks/2327-aa22697ed9c8d54a.js,sha256=vfsI4C3PymQROGRo1xU6iMUjLlw_xT6gUTzmq5BSdnk,127496
151
+ khoj/interface/compiled/_next/static/chunks/2327-024b9e0bd6d8c9eb.js,sha256=l3VGIAvh81XqmkVt-Hf474IViXNpVQQ6rbG4dhFBaso,127524
150
152
  khoj/interface/compiled/_next/static/chunks/3237.c4754f02f1a388cb.js,sha256=Z5iOEX0mPj-5tuoU4Bq_IjpAlyc4MURKlBoaExsULTk,177
151
153
  khoj/interface/compiled/_next/static/chunks/3305.1fc7297ba154ee95.js,sha256=mfrpv-asuYmBmbqIh1p3UnPMAxg2pKlxE3Rzmth8O6s,37266
152
154
  khoj/interface/compiled/_next/static/chunks/3332.6313db5217bb1b67.js,sha256=4lNF9JhPQdTX2xDojGOvvanM0Y0VScwM3kmF4p0RHFg,3776
@@ -176,7 +178,7 @@ khoj/interface/compiled/_next/static/chunks/5854-745bea90ea77a1c7.js,sha256=ZxxH
176
178
  khoj/interface/compiled/_next/static/chunks/5978.ddc72cd73130aadc.js,sha256=G2kFfcVjqIA6Rqf3BdZUU6E1TJTcb0wRaJd4pSgFsY8,178
177
179
  khoj/interface/compiled/_next/static/chunks/6434.7afea9648e238ad5.js,sha256=kx0Emzxp_59WehJjGu7yS7vbgtHZhBKZgyiAg7dC0As,36261
178
180
  khoj/interface/compiled/_next/static/chunks/6663-133d5db72d2d5f24.js,sha256=XIWY3DhytwBlgJNrryOTTcTtmzYJU93_P5kwifLJV9Q,86271
179
- khoj/interface/compiled/_next/static/chunks/7127-79a3af5138960272.js,sha256=7pkrrH4qxZlJRl5ZeSg8N_Zm4UziW8i8AESa61Tmuug,42840
181
+ khoj/interface/compiled/_next/static/chunks/7127-a6dc754bce8b6855.js,sha256=V5WaHLMHuzeOFqBpw5Jq2LJd6_kwdQ0XmealdH3YPB4,42868
180
182
  khoj/interface/compiled/_next/static/chunks/7140.4be689873f6a2d1f.js,sha256=-77DqIa_YjhKPwY8UvYjH11SaQpSO6FGa6kOvfnnSY8,76618
181
183
  khoj/interface/compiled/_next/static/chunks/7200-cabc57d26c4b32da.js,sha256=xrBbOYRHGcox-mh5cLLDZd1Mj9Qtqq4oeJlnWVFthAU,11380
182
184
  khoj/interface/compiled/_next/static/chunks/7211-7fedd2ee3655239c.js,sha256=3JC88Dq5U23hOoGTfoW-wc0JlARo29My_XioYz9Lzqg,1631697
@@ -204,32 +206,32 @@ khoj/interface/compiled/_next/static/chunks/framework-8e0e0f4a6b83a956.js,sha256
204
206
  khoj/interface/compiled/_next/static/chunks/main-63d6432f34cdf74b.js,sha256=bXVce22CrDNgnPypCNcoRkRMzcxj0OXFhFE1ZTZDgjo,111290
205
207
  khoj/interface/compiled/_next/static/chunks/main-app-de1f09df97a3cfc7.js,sha256=bqnztujKItXfFBzQlaBmDZyfJpQt_M93CXOuchJfpD0,471
206
208
  khoj/interface/compiled/_next/static/chunks/polyfills-42372ed130431b0a.js,sha256=CXPB1kyIrcjjyVBBDLWLKI9yEY1ZZbeASUON648vloM,112594
207
- khoj/interface/compiled/_next/static/chunks/webpack-f39eedae8f597e56.js,sha256=DE4X-iAaTTTLIiRHZCmvnPIcw6diML1NcVKUPMJPYkA,4891
209
+ khoj/interface/compiled/_next/static/chunks/webpack-f0484435351746ec.js,sha256=41X4r60EHNqm8AEHSW2DK3zkrQhNRRDZq9ol_ihqE4Y,4891
208
210
  khoj/interface/compiled/_next/static/chunks/app/layout-baa6e7974e560a7a.js,sha256=7JZS2Pr995Lwu3FeQpAvheLS1Bn5w5HOFsecV2_kyQA,3880
209
- khoj/interface/compiled/_next/static/chunks/app/page-f7a0286dfc31ad6b.js,sha256=2IVko37SGOhH4OO1_TL5k8xdulAbDTnJwqVyZjXRfMY,31218
211
+ khoj/interface/compiled/_next/static/chunks/app/page-a4b97dd0c2a70cfb.js,sha256=-e-_1VGYqUHJuazmfJVP1kipnL3sH6ySmj2tjltBSoM,31223
210
212
  khoj/interface/compiled/_next/static/chunks/app/_not-found/page-0ec97c4970898f2d.js,sha256=zElhiTkdu2JqrEvJ8Lrxh4HCyfLmPllBHHWOuDtrVlw,1755
211
213
  khoj/interface/compiled/_next/static/chunks/app/agents/layout-e00fb81dca656a10.js,sha256=Prg_1BSPDnJDTXEx-Ai9RtlK0nesPWDFIVFFCMuVUiw,180
212
- khoj/interface/compiled/_next/static/chunks/app/agents/page-774c78ff0f55a228.js,sha256=lnKW5X-xvNpxPv3-KoHm5P9Dmkrl-9qd88Xfq4ipBL4,18314
214
+ khoj/interface/compiled/_next/static/chunks/app/agents/page-e18e67cff45758c8.js,sha256=MJyQGfY0kfSn0MZkW0EUiSiSts2mDfPj5a5ViLF9c8Q,18319
213
215
  khoj/interface/compiled/_next/static/chunks/app/automations/layout-7f5c33a70e46b3af.js,sha256=s2wHeQ-ai9rKyU9EjOGY1Yo51L4ZEkjLtML85BqN3Zc,5143
214
- khoj/interface/compiled/_next/static/chunks/app/automations/page-fc4f5a3ca7201154.js,sha256=i-8Y6748e7BLKjGNEkfRmtJ_uMS9ZHumdAsUZ6Hk9bY,34830
215
- khoj/interface/compiled/_next/static/chunks/app/chat/layout-33934fc2d6ae6838.js,sha256=zKdgnv4zZCkeNWFODWPJKYB3VjkTq4X5LtTCs0sqxaQ,180
216
- khoj/interface/compiled/_next/static/chunks/app/chat/page-14cf05b18e3c00ad.js,sha256=OC5QOZooWI4ZgmQP3qdbjUzx8dsAiPS3CmjbPMLC5ug,29016
216
+ khoj/interface/compiled/_next/static/chunks/app/automations/page-1c2280ae9678b4ce.js,sha256=G8wMPGryNiZkmFHmJA5KhsR3FqzYFKYkGwiAg0JAFq4,34835
217
+ khoj/interface/compiled/_next/static/chunks/app/chat/layout-d5ae861e1ade9d08.js,sha256=oe6TgLOEOch5Nr3Z-DEdMIp3MD5vd0rH7dTp-mdEXYg,180
218
+ khoj/interface/compiled/_next/static/chunks/app/chat/page-0cb925fc23ccec3b.js,sha256=oHQd153j82C88TYgxTxPpTnbejBNwZv5ffFnmxNmwGQ,29137
217
219
  khoj/interface/compiled/_next/static/chunks/app/search/layout-f5881c7ae3ba0795.js,sha256=Bm4Y73ylR-j9_LdKXVUjgLppZJ6JRdLTUgYAsZCOBkQ,180
218
- khoj/interface/compiled/_next/static/chunks/app/search/page-f1a7f278c89e09b6.js,sha256=KnZkmDhLxwikGTsG3voC5ks8LvoO0iRCWQLimf2r2KQ,32714
220
+ khoj/interface/compiled/_next/static/chunks/app/search/page-44072d929427ee56.js,sha256=2AifbLIuS66yikfv6atAxGwnRsLPxdPyz9GVpscoT20,32714
219
221
  khoj/interface/compiled/_next/static/chunks/app/settings/layout-8a22f370d3eaeed3.js,sha256=dIfmM5C_Al-Zh_uqaJmniSxjXbu3LqPzrEw4SQ7vs0I,6132
220
- khoj/interface/compiled/_next/static/chunks/app/settings/page-5d9134d4a97f8834.js,sha256=Kn02UECOHZ3VWMJDmsck_e698P-iXOw_4VtDKMNL-oc,27893
221
- khoj/interface/compiled/_next/static/chunks/app/share/chat/layout-abb6c5f4239ad7be.js,sha256=_HdxnZ70IoB5eHZ5e__Z0jt-2ElBo_BsNPboM-2SMLg,180
222
- khoj/interface/compiled/_next/static/chunks/app/share/chat/page-bcc8f41edcfbcb6c.js,sha256=8a5VPQzxgjTup7hHROiwC2e1EVSzCD9Fu7dQGDVC3Ls,5563
222
+ khoj/interface/compiled/_next/static/chunks/app/settings/page-4e8fdd30a3238357.js,sha256=jD7jk7qEEKep63XodcXWciD2h10KURvlMaN99O61Qmc,27898
223
+ khoj/interface/compiled/_next/static/chunks/app/share/chat/layout-b3f7ae1ef8871d30.js,sha256=JsEyiIoEsN1WLgEjun_x908uUc85ve2k3cNY4YF2yyw,180
224
+ khoj/interface/compiled/_next/static/chunks/app/share/chat/page-27560c92db5fc2d9.js,sha256=eMcbyZrwbnda_LM-Bn_QOiylJvzO9hHvHO3hsIdtxdk,5568
223
225
  khoj/interface/compiled/_next/static/chunks/pages/_app-3c9ca398d360b709.js,sha256=UqtikLsCsOWtDUJOW6Tuk9P-bV1V3MhYd3ghrQuEmfs,286
224
226
  khoj/interface/compiled/_next/static/chunks/pages/_error-cf5ca766ac8f493f.js,sha256=w_It3VzKT8O1M3CrJ_hZHsaU7M7dq3EAaVG8KvJ-fhU,253
225
- khoj/interface/compiled/_next/static/css/37a73b87f02df402.css,sha256=hp0vlekKu0K2eITR5YIqFmLHQPqV3JETFnRd_-Uh0mk,165
226
- khoj/interface/compiled/_next/static/css/4398afc6d5a37666.css,sha256=L3JiJFYwMoIydyJcNoSLzGwlPxZ_ckAbyL6vnzWlPus,9736
227
+ khoj/interface/compiled/_next/static/css/1e9b757ee2a2b34b.css,sha256=9TB4U1wbKtOA-SphUhahi-6WeepK7lOWRKvX3bJW2C0,6795
227
228
  khoj/interface/compiled/_next/static/css/7017ee76c2f2cd87.css,sha256=crgwDRN7r35lT_QXQDaW3_i48PPhIekfbPdHBz3IIv4,3075782
228
229
  khoj/interface/compiled/_next/static/css/76c658ee459140a9.css,sha256=7tI24VB66ZUsAPUxRdQhboopun0AXLUnF64uv9RkC08,1833
229
230
  khoj/interface/compiled/_next/static/css/7889a30fe9c83846.css,sha256=IUkZhkx4GpYOIhN-EJw9T1DqGMO3Wa3mNpUwaOBuZoY,7204
230
231
  khoj/interface/compiled/_next/static/css/e1bf03aa79521f86.css,sha256=9xq6l9J50f_3jqvzx6WKCa3rh2Oc79thkurRHujLUNM,30589
231
232
  khoj/interface/compiled/_next/static/css/e4eb883b5265d372.css,sha256=6LaW-lQ_ZpgOJNWYwU1Q1egXZ1aqJDEuRj66oRCIU_E,17748
232
233
  khoj/interface/compiled/_next/static/css/ea5485b3f3859a5a.css,sha256=tn6qi2xSLTWhtzDUE8UlC8iipH9QGV6A9oGj1ap-Sk4,1659
234
+ khoj/interface/compiled/_next/static/css/ee66643a6a5bf71c.css,sha256=3JbJLrnwlX_IHdvjmS3l9y3Vgp5_V0XbfFI44ekLh9E,3106
233
235
  khoj/interface/compiled/_next/static/media/1d8a05b60287ae6c-s.p.woff2,sha256=IzKBwB_bpSGvO7C9aRv29Js-jAbZPRDI-D-P4H2P918,14508
234
236
  khoj/interface/compiled/_next/static/media/2aa11a72f7f24b58-s.woff2,sha256=QjuuSKmViymmy-itXLB1UbSARxFNHWuMiPpCrYqClFI,22728
235
237
  khoj/interface/compiled/_next/static/media/383a65b63658737d-s.woff2,sha256=VH1XkI87HdFVhsurH5D5ekEjG_ZORTVBVg6xz7p87C8,16704
@@ -307,10 +309,8 @@ khoj/interface/compiled/_next/static/media/flags.3afdda2f.webp,sha256=M2AW_HLpBn
307
309
  khoj/interface/compiled/_next/static/media/flags@2x.5fbe9fc1.webp,sha256=BBeRPBZkxY3-aKkMnYv5TSkxmbeMbyUH4VRIPfrWg1E,137406
308
310
  khoj/interface/compiled/_next/static/media/globe.98e105ca.webp,sha256=g3ofb8-W9GM75zIhlvQhaS8I2py9TtrovOKR3_7Jf04,514
309
311
  khoj/interface/compiled/_next/static/media/globe@2x.974df6f8.webp,sha256=I_N7Yke3IOoS-0CC6XD8o0IUWG8PdPbrHmf6lpgWlZY,1380
310
- khoj/interface/compiled/_next/static/oXUhXGFp7bJNGngoyQu8D/_buildManifest.js,sha256=f2_nYnw25hHWQJ-39Lf5OH1u6kgdbOInyfplqgjvAV4,224
311
- khoj/interface/compiled/_next/static/oXUhXGFp7bJNGngoyQu8D/_ssgManifest.js,sha256=Z49s4suAsf5y_GfnQSvm4qtq2ggxEbZPfEDTXjy6XgA,80
312
- khoj/interface/compiled/agents/index.html,sha256=B3KXFaqW_Tl1wvjrNFPzj8g69P6LeYpnpgINvBuP0uA,16224
313
- khoj/interface/compiled/agents/index.txt,sha256=lyuEvZmUnqjcgwqMljQnrGt_dHQdBLNAh3rcT2M9bM4,7220
312
+ khoj/interface/compiled/agents/index.html,sha256=GERap5a8Qy66I-APSmwd-AUaLqBaY6oFxIfA4tVNcG4,16535
313
+ khoj/interface/compiled/agents/index.txt,sha256=mCDal0SFa3_6PZzujkiedNrH7LBNBxXZTJL0PdjyXWw,7353
314
314
  khoj/interface/compiled/assets/icons/khoj_lantern.ico,sha256=eggu-B_v3z1R53EjOFhIqqPnICBGdoaw1xnc0NrzHck,174144
315
315
  khoj/interface/compiled/assets/icons/khoj_lantern.svg,sha256=I_8XP5X84gEOoCRhCRKOQn_GKZrz3SUBXct7WxHvY7c,8767
316
316
  khoj/interface/compiled/assets/icons/khoj_lantern_1200x1200.png,sha256=xDx0bbD-WMflgg8zck9oPIIuTIvywtuED2k7CjSQS4w,66194
@@ -325,16 +325,16 @@ khoj/interface/compiled/assets/samples/desktop-remember-plan-sample.png,sha256=i
325
325
  khoj/interface/compiled/assets/samples/phone-browse-draw-sample.png,sha256=Dd4fPwtFl6BWqnHjeb1mCK_ND0hhHsWtx8sNE7EiMuE,406179
326
326
  khoj/interface/compiled/assets/samples/phone-plain-chat-sample.png,sha256=DEDaNRCkfEWUeh3kYZWIQDTVK1a6KKnYdwj5ZWisN_Q,82985
327
327
  khoj/interface/compiled/assets/samples/phone-remember-plan-sample.png,sha256=Ma3blirRmq3X4oYSsDbbT7MDn29rymDrjwmUfA9BMuM,236285
328
- khoj/interface/compiled/automations/index.html,sha256=65ty6rYkW6neFmn5Q8Qxk60vOsXy3tEUpqbWRFKuVXA,54094
329
- khoj/interface/compiled/automations/index.txt,sha256=_F6MpA8QH537m4psHZIKRdWHYp3W_xeZ6gmFyQQPEow,7449
330
- khoj/interface/compiled/chat/index.html,sha256=8b0fH49GtnMxp7rs1tZ0uJ0qMWIgx9b1XatqQf093Fs,53222
331
- khoj/interface/compiled/chat/index.txt,sha256=BUrdMtEKlpJD6Ky3USQqAiK-ZL6IudhxuvmKjOU2aCs,7858
332
- khoj/interface/compiled/search/index.html,sha256=cLwm0e9bxy6o63DrnfXSRG8d7NgUkZCmvsKU1lzEV7I,55304
333
- khoj/interface/compiled/search/index.txt,sha256=swDBKeOrtv6M8kXNcCYpYRXjTKQbKHB7TaFlpWyBsFA,6567
334
- khoj/interface/compiled/settings/index.html,sha256=XFTiFTvoYxDjPfGI-t8o2QEhNdJdesKcfB0AuKSD_o8,52743
335
- khoj/interface/compiled/settings/index.txt,sha256=7SmmKSUtLKZ2sfHNHsZFVCfZw3kafzIQzHZEDVbYfwo,7703
336
- khoj/interface/compiled/share/chat/index.html,sha256=wGDS-UAaqmpq1xTljDAopq3gHf4wmeK8F3LcmCJWQZI,53802
337
- khoj/interface/compiled/share/chat/index.txt,sha256=t7x43gJi3FJ6ltG85b-9_gQUOGAY6k04Gf6QbvPExw4,8320
328
+ khoj/interface/compiled/automations/index.html,sha256=iwTqvZeFusORfb92vGYZDz-J6v9hpkgcD6Fhz4KObwc,54405
329
+ khoj/interface/compiled/automations/index.txt,sha256=ea7USl9uz1EPMXrYOynHQsobtoAYGBz6l6VQ8ucKcgw,7582
330
+ khoj/interface/compiled/chat/index.html,sha256=mWS77cr29pqinT0v4olb8lBaQFoovWVtn7sbJeHvsM0,53532
331
+ khoj/interface/compiled/chat/index.txt,sha256=kH2Uh1j_fwbdY9CKqjvb4kXUR8cqfP_HhvsAnorp3Rk,7991
332
+ khoj/interface/compiled/search/index.html,sha256=mSBD3B91x1IVfaqcEBwhMTKe7oyJN3_mRi9-lgt67VE,55304
333
+ khoj/interface/compiled/search/index.txt,sha256=wc-u9bbGmvbejkT5L-uSiKkgV0OkhQp5jPnMQ2jTfbQ,6567
334
+ khoj/interface/compiled/settings/index.html,sha256=7eTijaqnpjIh8Mx4-J-8hU40ek0C9sEs-ZVxH7IP-lw,53053
335
+ khoj/interface/compiled/settings/index.txt,sha256=F5VR-HovBmh_WZmH--h1kjnP0PrEQFA3tagx1Me5EwM,7836
336
+ khoj/interface/compiled/share/chat/index.html,sha256=t4sAtTpd2m6R0gjWWBuceTpWSMvnkOzkole7Y8gIBmI,54112
337
+ khoj/interface/compiled/share/chat/index.txt,sha256=VezjxI6M0EuhRpjQQEqSzAHObzNW6bY7V2Z1umVlcgk,8453
338
338
  khoj/interface/email/feedback.html,sha256=xksuPFamx4hGWyTTxZKRgX_eiYQQEuv-eK9Xmkt-nwU,1216
339
339
  khoj/interface/email/magic_link.html,sha256=372ESbTPKM9acekuZcOIKOw6kBl-KikFg_L9MOHqJkg,2094
340
340
  khoj/interface/email/task.html,sha256=tY7a0gzVeQ2lSQNu7WyXR_s7VYeWTrxWEj1iHVuoVE4,2813
@@ -387,10 +387,10 @@ khoj/processor/content/plaintext/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRk
387
387
  khoj/processor/content/plaintext/plaintext_to_entries.py,sha256=wFZwK_zIc7gWbRtO9sOHo9KvfhGAzL9psX_nKWYFduo,4975
388
388
  khoj/processor/conversation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
389
389
  khoj/processor/conversation/prompts.py,sha256=XkLuA8npw4gdfXQqBJqn-13uJd1xoGtnzOsnobFrw5g,54523
390
- khoj/processor/conversation/utils.py,sha256=L5jtIkKLG6Tx7JZC8faDT4b2zAA1ZIxN2NQV7rAYOE0,43799
390
+ khoj/processor/conversation/utils.py,sha256=oZn_gVKEgLHdyJGGZ-YeT3v79nttOlhf0ZoOIUzNOgc,43791
391
391
  khoj/processor/conversation/anthropic/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
392
392
  khoj/processor/conversation/anthropic/anthropic_chat.py,sha256=7QnT5no46slRahe3UlCEmPMVb7LrIcth0pkjVneaq0g,5290
393
- khoj/processor/conversation/anthropic/utils.py,sha256=P5xBr2VaqEgp5LJbgY0o9_C6z_nuHQYwsgYpYaY7l7I,16452
393
+ khoj/processor/conversation/anthropic/utils.py,sha256=1-hwqMSVgQ5295LhcjKxMmDjDsAKLJC8YCh-D03wEMA,16765
394
394
  khoj/processor/conversation/google/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
395
395
  khoj/processor/conversation/google/gemini_chat.py,sha256=L8a4NYstCGQlax_HHaeaqlu_qs6pITeCX7sD5BDeEC0,5659
396
396
  khoj/processor/conversation/google/utils.py,sha256=FmK09N4zp0uGv2AVdHnJBzKKb9kr6wG1cJOelI9zraY,16269
@@ -400,9 +400,9 @@ khoj/processor/conversation/offline/utils.py,sha256=51McImxl6u1qgRYvMt7uzsgLGSLq
400
400
  khoj/processor/conversation/offline/whisper.py,sha256=DJI-8y8DULO2cQ49m2VOvRyIZ2TxBypc15gM8O3HuMI,470
401
401
  khoj/processor/conversation/openai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
402
402
  khoj/processor/conversation/openai/gpt.py,sha256=_i0greQTSxLL5wOCqBot6cIPtdhtBL_y8fZsn8lRmYc,7174
403
- khoj/processor/conversation/openai/utils.py,sha256=Q8QrFdTD34QSdJRiLTdhvqeZfmpgM_F7L6R2DMB8DZQ,25419
403
+ khoj/processor/conversation/openai/utils.py,sha256=WcT6vIYS3bUJ7aVSXpmCYJaD2qS2zvV3upSnz741QXM,27402
404
404
  khoj/processor/conversation/openai/whisper.py,sha256=zoEeK1LNCg_tzP4xzYi5vRPzNPGuDGzpkrkG7d1LUn4,447
405
- khoj/processor/image/generate.py,sha256=4Hzq-rl3ZavnWml5Q6bjRfw1Y-ybDSRQTDs7sCrsXIA,10606
405
+ khoj/processor/image/generate.py,sha256=Om57Gz7_I0GgfYONNd2OoGOMbAE-QvUTInkWNKqMXM4,10566
406
406
  khoj/processor/operator/README.md,sha256=QaV00W1IB7i8ZrvhNkpjmFMVDtORFt-OASieRQGE_UE,2308
407
407
  khoj/processor/operator/__init__.py,sha256=ZdB1LfYBGiKC7Zrd97jRkMuGfCDJpyb2uwHY9zk8ap4,10198
408
408
  khoj/processor/operator/grounding_agent.py,sha256=uxLFpLQH63g5_jhuI8HFsIl6roxh0VseiT-46n5vbLQ,18911
@@ -414,7 +414,7 @@ khoj/processor/operator/operator_agent_binary.py,sha256=u8uRgsr5XGpj1IXomZX3t7iA
414
414
  khoj/processor/operator/operator_agent_openai.py,sha256=lGBX5MTLO1WpDFBSivIqb71Hpdhrbc5orwBdttJDk3A,23687
415
415
  khoj/processor/operator/operator_environment_base.py,sha256=nHvn8lB-h6bY-v7rOEp_VZcn3aooy_v9YJbVas2CfXg,1045
416
416
  khoj/processor/operator/operator_environment_browser.py,sha256=4SmLIRVECI53hplGEqBLrkwQJfNtESum637vnS3tGeA,17896
417
- khoj/processor/operator/operator_environment_computer.py,sha256=exzXsb6YQdvQpr11jzH8MgA7yZbLwslhOl8jf6X94lU,31591
417
+ khoj/processor/operator/operator_environment_computer.py,sha256=bqpnSqQEElRjqzzxtKL7hjgNm7uylsrtDZ_sUBpFJM8,31599
418
418
  khoj/processor/speech/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
419
419
  khoj/processor/speech/text_to_speech.py,sha256=Q7sapi5Hv6woXOumtrGqR0t6izZrFBkWXFOGrHM6dJ4,1929
420
420
  khoj/processor/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -424,14 +424,14 @@ khoj/routers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
424
424
  khoj/routers/api.py,sha256=BFiKwdYjkR-4aHBumM7Hu4XdN2RvQ0Z9V4_2Wd8aPiM,8633
425
425
  khoj/routers/api_agents.py,sha256=aEJJnQe1yogSkKO6W3Q8Ukl-xHMnqIAx3jB4M-kGNdY,17043
426
426
  khoj/routers/api_automation.py,sha256=SwQGsVcZmtf8g3w8Xz220YhTIT6D4mLwUp_YCYLpbCY,9389
427
- khoj/routers/api_chat.py,sha256=kL7Ug8Zzs6K2Y-tZHXcrtt_dp28QhoyJjsDcSgNCZ3M,58516
427
+ khoj/routers/api_chat.py,sha256=ZcfrGxURssTZNv0GXd534TjWQUwpGFJXwyP4VinZd2U,58606
428
428
  khoj/routers/api_content.py,sha256=uLO3eir36rERkhhKU1HOdEv8KTi_z_edT9cHMCZP1W8,24578
429
429
  khoj/routers/api_model.py,sha256=trYi5ZrG7OfkSvXmsVu8Dtzzm0n0B8XCqvaGuuJ5wSA,5255
430
430
  khoj/routers/api_phone.py,sha256=p9yfc4WeMHDC0hg3aQk60a2VBy8rZPdEnz9wdJ7DzkU,2208
431
431
  khoj/routers/api_subscription.py,sha256=qnbKwA6N1TWK8Aiu1FFLka_JhbPOuwqT262NSHGZDiQ,5569
432
432
  khoj/routers/auth.py,sha256=jk2lqAS_650lQsoaOFTlZd9W_LL8HbN5zhHTZza_lqs,11258
433
433
  khoj/routers/email.py,sha256=wvr6_fpk0RuKcTPC6suI8JDZPLYzJ9hAhz_G41yZytc,3923
434
- khoj/routers/helpers.py,sha256=7Ouj3XDSriQ-QV9VJ05sK1OyDDBXVa4pJSthVY3KFkk,106127
434
+ khoj/routers/helpers.py,sha256=l1qRWupwYtwDRVOytZnDkc9xEb1iOp36eQk5FGeakRU,105993
435
435
  khoj/routers/notion.py,sha256=g53xyYFmjr2JnuIrTW2vytbfkiK_UkoRTxqnnLSmD5o,2802
436
436
  khoj/routers/research.py,sha256=cqTVLnQ74UwVgtGJqOWagN25S13hsUfVHTp4bPgjeWU,22672
437
437
  khoj/routers/storage.py,sha256=lao0DvsF49QleZvOdjKM98RU2cGfCJDBb7WeoI7Rr3I,2172
@@ -456,8 +456,8 @@ khoj/utils/models.py,sha256=Q5tcC9-z25sCiub048fLnvZ6_IIO1bcPNxt5payekk0,2009
456
456
  khoj/utils/rawconfig.py,sha256=ASl_h3Ivaa_4lD4kCA0uZsMRgSYCjrgGUPm-Hw1jkLk,5083
457
457
  khoj/utils/state.py,sha256=s_GFWOqRzpEDx0eCPStuzBTK2VEw-qgRpH0aiEdGnDo,1791
458
458
  khoj/utils/yaml.py,sha256=qy1Tkc61rDMesBw_Cyx2vOR6H-Hngcsm5kYfjwQBwkE,1543
459
- khoj-1.42.2.dev19.dist-info/METADATA,sha256=7ybidyiCKaRZtUEgArzzLn-74wn8t7NUPG9keaepmDM,8967
460
- khoj-1.42.2.dev19.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
461
- khoj-1.42.2.dev19.dist-info/entry_points.txt,sha256=KBIcez5N_jCgq_ER4Uxf-e1lxTBMTE_BBjMwwfeZyAg,39
462
- khoj-1.42.2.dev19.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
463
- khoj-1.42.2.dev19.dist-info/RECORD,,
459
+ khoj-1.42.3.dist-info/METADATA,sha256=iuCrM9s58KFkcwIktI07ZaAAZBKa-zjIbnzr7sPM6ME,8967
460
+ khoj-1.42.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
461
+ khoj-1.42.3.dist-info/entry_points.txt,sha256=KBIcez5N_jCgq_ER4Uxf-e1lxTBMTE_BBjMwwfeZyAg,39
462
+ khoj-1.42.3.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
463
+ khoj-1.42.3.dist-info/RECORD,,