Require explicit switch to enable operator locally for now

Operator is still early in development. To enable it:
- Set KHOJ_OPERATOR_ENABLE environment variable to true
- Run any one of the commands below:
  - `pip install khoj[local]'
  - `pip install khoj[dev]'
  - `pip install playwright'
This commit is contained in:
Debanjum
2025-05-09 00:41:39 -06:00
parent b395a438d0
commit 1be3986537
6 changed files with 31 additions and 4 deletions

View File

@@ -93,7 +93,6 @@ dependencies = [
"resend == 1.0.1",
"email-validator == 2.2.0",
"e2b-code-interpreter ~= 1.0.0",
"playwright >= 1.49.0",
]
dynamic = ["version"]
@@ -114,6 +113,7 @@ prod = [
]
local = [
"pgserver == 0.1.4",
"playwright >= 1.49.0",
]
dev = [
"khoj[prod,local]",