mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-14 22:14:23 +00:00
8e9c2b1125
This PR introduces a separate backend service for making LLM calls. It exposes an HTTP interface that can be called by Zed clients. To call these endpoints, the client must provide a `Bearer` token. These tokens are issued/refreshed by the collab service over RPC. We're adding this in a backwards-compatible way. Right now the access tokens can only be minted for Zed staff, and calling this separate LLM service is behind the `llm-service` feature flag (which is not automatically enabled for Zed staff). Release Notes: - N/A --------- Co-authored-by: Marshall <marshall@zed.dev> Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
28 lines
887 B
TOML
28 lines
887 B
TOML
DATABASE_URL = "postgres://postgres@localhost/zed"
|
|
# DATABASE_URL = "sqlite:////root/0/zed/db.sqlite3?mode=rwc"
|
|
DATABASE_MAX_CONNECTIONS = 5
|
|
HTTP_PORT = 8080
|
|
API_TOKEN = "secret"
|
|
INVITE_LINK_PREFIX = "http://localhost:3000/invites/"
|
|
ZED_ENVIRONMENT = "development"
|
|
LIVE_KIT_SERVER = "http://localhost:7880"
|
|
LIVE_KIT_KEY = "devkey"
|
|
LIVE_KIT_SECRET = "secret"
|
|
BLOB_STORE_ACCESS_KEY = "the-blob-store-access-key"
|
|
BLOB_STORE_SECRET_KEY = "the-blob-store-secret-key"
|
|
BLOB_STORE_BUCKET = "the-extensions-bucket"
|
|
BLOB_STORE_URL = "http://127.0.0.1:9000"
|
|
BLOB_STORE_REGION = "the-region"
|
|
ZED_CLIENT_CHECKSUM_SEED = "development-checksum-seed"
|
|
SEED_PATH = "crates/collab/seed.default.json"
|
|
LLM_API_SECRET = "llm-secret"
|
|
|
|
# CLICKHOUSE_URL = ""
|
|
# CLICKHOUSE_USER = "default"
|
|
# CLICKHOUSE_PASSWORD = ""
|
|
# CLICKHOUSE_DATABASE = "default"
|
|
|
|
# SLACK_PANICS_WEBHOOK = ""
|
|
|
|
# RUST_LOG=info
|
|
# LOG_JSON=true
|