khoj 1.20.1.dev3__py3-none-any.whl → 1.20.1.dev5__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/database/adapters/__init__.py +2 -2
- khoj/database/admin.py +2 -0
- {khoj-1.20.1.dev3.dist-info → khoj-1.20.1.dev5.dist-info}/METADATA +1 -1
- {khoj-1.20.1.dev3.dist-info → khoj-1.20.1.dev5.dist-info}/RECORD +7 -7
- {khoj-1.20.1.dev3.dist-info → khoj-1.20.1.dev5.dist-info}/WHEEL +0 -0
- {khoj-1.20.1.dev3.dist-info → khoj-1.20.1.dev5.dist-info}/entry_points.txt +0 -0
- {khoj-1.20.1.dev3.dist-info → khoj-1.20.1.dev5.dist-info}/licenses/LICENSE +0 -0
|
@@ -752,7 +752,7 @@ class ConversationAdapters:
|
|
|
752
752
|
voice_model_config = await UserVoiceModelConfig.objects.filter(user=user).prefetch_related("setting").afirst()
|
|
753
753
|
if voice_model_config:
|
|
754
754
|
return voice_model_config.setting
|
|
755
|
-
return
|
|
755
|
+
return await VoiceModelOption.objects.afirst()
|
|
756
756
|
|
|
757
757
|
@staticmethod
|
|
758
758
|
def get_voice_model_options():
|
|
@@ -763,7 +763,7 @@ class ConversationAdapters:
|
|
|
763
763
|
voice_model_config = UserVoiceModelConfig.objects.filter(user=user).prefetch_related("setting").first()
|
|
764
764
|
if voice_model_config:
|
|
765
765
|
return voice_model_config.setting
|
|
766
|
-
return
|
|
766
|
+
return VoiceModelOption.objects.first()
|
|
767
767
|
|
|
768
768
|
@staticmethod
|
|
769
769
|
def get_default_conversation_config():
|
khoj/database/admin.py
CHANGED
|
@@ -27,6 +27,7 @@ from khoj.database.models import (
|
|
|
27
27
|
Subscription,
|
|
28
28
|
TextToImageModelConfig,
|
|
29
29
|
UserSearchModelConfig,
|
|
30
|
+
UserVoiceModelConfig,
|
|
30
31
|
VoiceModelOption,
|
|
31
32
|
)
|
|
32
33
|
from khoj.utils.helpers import ImageIntentType
|
|
@@ -99,6 +100,7 @@ admin.site.register(UserSearchModelConfig)
|
|
|
99
100
|
admin.site.register(ClientApplication)
|
|
100
101
|
admin.site.register(GithubConfig)
|
|
101
102
|
admin.site.register(NotionConfig)
|
|
103
|
+
admin.site.register(UserVoiceModelConfig)
|
|
102
104
|
admin.site.register(VoiceModelOption)
|
|
103
105
|
|
|
104
106
|
|
|
@@ -8,10 +8,10 @@ khoj/app/asgi.py,sha256=soh3C1xazlgHt_bDgKzrfzo2TKXbNYJsckcXNEgTip8,388
|
|
|
8
8
|
khoj/app/settings.py,sha256=rNgaIXT0Z4l2ozNNleBm6mQsh1fWEmQ6cxDbBnAgPIw,6146
|
|
9
9
|
khoj/app/urls.py,sha256=7ECnusoAPAfbO_H_b5FUzYGvnb4LLdWaRDyKNvYuBvg,869
|
|
10
10
|
khoj/database/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
-
khoj/database/admin.py,sha256=
|
|
11
|
+
khoj/database/admin.py,sha256=ztXOIjsHMKAuZqJ10xZi3wRIrnug_Rg5o85QFzRevjE,8882
|
|
12
12
|
khoj/database/apps.py,sha256=pM4tkX5Odw4YW_hLLKK8Nd5kqGddf1en0oMCea44RZw,153
|
|
13
13
|
khoj/database/tests.py,sha256=mrbGGRNg5jwbTJtWWa7zSKdDyeB4vmgZCRc2nk6VY-g,60
|
|
14
|
-
khoj/database/adapters/__init__.py,sha256=
|
|
14
|
+
khoj/database/adapters/__init__.py,sha256=oM6S85bdRVHu4lYrgx5hT7Li4DrVycazIy_XmAse02o,49726
|
|
15
15
|
khoj/database/management/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
16
|
khoj/database/management/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
17
|
khoj/database/management/commands/change_generated_images_url.py,sha256=w52FwRlyOL4YRpp9O6jJUjSIuGLxVhaS2w1D7gtQgOE,2644
|
|
@@ -193,8 +193,8 @@ khoj/utils/models.py,sha256=Q5tcC9-z25sCiub048fLnvZ6_IIO1bcPNxt5payekk0,2009
|
|
|
193
193
|
khoj/utils/rawconfig.py,sha256=luk7Vb_ODuoTdMd_IG-yVXGoyoU-RktyapBG5D1N_VI,3985
|
|
194
194
|
khoj/utils/state.py,sha256=x4GTewP1YhOA6c_32N4wOjnV-3AA3xG_qbY1-wC2Uxc,1559
|
|
195
195
|
khoj/utils/yaml.py,sha256=H0mfw0ZvBFUvFmCQn8pWkfxdmIebsrSykza7D8Wv6wQ,1430
|
|
196
|
-
khoj-1.20.1.
|
|
197
|
-
khoj-1.20.1.
|
|
198
|
-
khoj-1.20.1.
|
|
199
|
-
khoj-1.20.1.
|
|
200
|
-
khoj-1.20.1.
|
|
196
|
+
khoj-1.20.1.dev5.dist-info/METADATA,sha256=tORh_g-DxYk6U5UmTcwam9_KPtAz-ILd7Li9SEWar9w,6875
|
|
197
|
+
khoj-1.20.1.dev5.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
198
|
+
khoj-1.20.1.dev5.dist-info/entry_points.txt,sha256=KBIcez5N_jCgq_ER4Uxf-e1lxTBMTE_BBjMwwfeZyAg,39
|
|
199
|
+
khoj-1.20.1.dev5.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
|
|
200
|
+
khoj-1.20.1.dev5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|