25 lines
706 B
TOML
25 lines
706 B
TOML
# Copy this file to $XDG_CONFIG_HOME/shd-capture/config.toml and adjust local limits.
|
|
# The utility reads the OpenAI key from the named environment variable only.
|
|
|
|
[server]
|
|
# Only loopback IP literals are valid: 127.0.0.1 or ::1.
|
|
host = "127.0.0.1"
|
|
port = 8765
|
|
|
|
[lifecycle]
|
|
# One local process owns this instance name and releases its runtime lock on shutdown.
|
|
instance_name = "shd-capture"
|
|
lock_timeout_seconds = 5
|
|
shutdown_timeout_seconds = 30
|
|
|
|
[limits]
|
|
max_image_bytes = 33554432
|
|
max_video_bytes = 4294967296
|
|
max_queue_items = 64
|
|
max_ocr_text_characters = 20000
|
|
|
|
[openai]
|
|
# Set this name in the process environment. Do not put the key in this file.
|
|
api_key_env = "OPENAI_API_KEY"
|
|
model = "gpt-4.1-mini"
|