> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chainlit.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Project

## Options

<ParamField path="allow_origins" type="List[str]" default={["*"]}>
  Authorized origins to access the app/copilot.
</ParamField>

<ParamField path="transports" type="List[str]" optional>
  Socket.io client transports option
</ParamField>

<ParamField path="user_env" type="List[str]" optional>
  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.
</ParamField>

<ParamField path="persist_user_env" type="bool" default={false}>
  Whether to persist user environment variables (API keys) to the database. When enabled, users do not need to re-enter their keys on each session.
</ParamField>

<ParamField path="mask_user_env" type="bool" default={false}>
  Whether to mask user environment variables in the UI using a password-type input field.
</ParamField>

<ParamField path="lc_cache_path" type="str" optional>
  Path to the local langchain cache database
</ParamField>

<ParamField path="session_timeout" type="int" default={300}>
  Duration (in seconds) during which the session is saved when the connection is lost
</ParamField>

<ParamField path="user_session_timeout" type="int" default={1296000}>
  Duration (in seconds) of the user session expiry. 15 days by default
</ParamField>

<ParamField path="cache" type="bool" default={false}>
  Enable third parties caching (e.g LangChain cache)
</ParamField>

## Default configuration

```toml theme={null}
[project]
# List of environment variables to be provided by each user to use the app.
user_env = []

# Whether to persist user environment variables (API keys) to the database
persist_user_env = false

# Whether to mask user environment variables (API keys) in the UI with password type
mask_user_env = false

# 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 = ["*"]
```
