Options

allow_origins
List[str]
default:["*"]
Authorized origins to access the app/copilot.
transports
List[str]
Socket.io client transports option
user_env
List[str]
List of environment variables to be provided by each user to use the app. If empty, no environment variables will be asked to the user.
lc_cache_path
str
Path to the local langchain cache database
session_timeout
int
default:300
Duration (in seconds) during which the session is saved when the connection is lost
user_session_timeout
int
default:1296000
Duration (in seconds) of the user session expiry. 15 days by default
cache
bool
default:false
Enable third parties caching (e.g LangChain cache)

Default configuration

[project]
# List of environment variables to be provided by each user to use the app.
user_env = []

# Duration (in seconds) during which the session is saved when the connection is lost
session_timeout = 3600

# Duration (in seconds) of the user session expiry
user_session_timeout = 1296000  # 15 days

# Enable third parties caching (e.g., LangChain cache)
cache = false

# Authorized origins
allow_origins = ["*"]