mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 13:18:18 +00:00
Update the default configuration for the AppConfig
This commit is contained in:
@@ -99,14 +99,14 @@ class ProcessorConfig(ConfigBase):
|
||||
|
||||
|
||||
class AppConfig(ConfigBase):
|
||||
should_log_telemetry: bool
|
||||
should_log_telemetry: bool = True
|
||||
|
||||
|
||||
class FullConfig(ConfigBase):
|
||||
content_type: Optional[ContentConfig] = None
|
||||
search_type: Optional[SearchConfig] = None
|
||||
processor: Optional[ProcessorConfig] = None
|
||||
app: Optional[AppConfig] = AppConfig(should_log_telemetry=True)
|
||||
app: Optional[AppConfig] = AppConfig()
|
||||
version: Optional[str] = None
|
||||
|
||||
|
||||
|
||||
2
tests/data/config.yml
vendored
2
tests/data/config.yml
vendored
@@ -14,4 +14,4 @@ search-type:
|
||||
asymmetric:
|
||||
cross-encoder: cross-encoder/ms-marco-MiniLM-L-6-v2
|
||||
encoder: sentence-transformers/msmarco-MiniLM-L-6-v3
|
||||
version: 0.14.0
|
||||
version: 0.15.0
|
||||
|
||||
Reference in New Issue
Block a user