mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-27 17:35:07 +01:00
Enable/disable logging telemetry by setting bool in khoj.yml config
We log usage telemetry by default, unless setting explicitly set in khoj.yml
This commit is contained in:
parent
131b8407b5
commit
9ca61d62ff
1 changed files with 5 additions and 0 deletions
|
@ -89,10 +89,15 @@ class ProcessorConfig(ConfigBase):
|
|||
conversation: Optional[ConversationProcessorConfig]
|
||||
|
||||
|
||||
class AppConfig(ConfigBase):
|
||||
should_log_telemetry: bool
|
||||
|
||||
|
||||
class FullConfig(ConfigBase):
|
||||
content_type: Optional[ContentConfig]
|
||||
search_type: Optional[SearchConfig]
|
||||
processor: Optional[ProcessorConfig]
|
||||
app: Optional[AppConfig] = AppConfig(should_log_telemetry=True)
|
||||
|
||||
|
||||
class SearchResponse(ConfigBase):
|
||||
|
|
Loading…
Reference in a new issue