init
init
command initializes a Chainlit project by creating a configuration file located at .chainlit/config.toml
run
run
command starts a Chainlit application.
-w, --watch
: Reload the app when the module changes. When this option is specified, the file watcher will be started and any changes to files will cause the server to reload the app, allowing faster iterations.-h, --headless
: Prevents the app from opening in the browser.-d, --debug
: Sets the log level to debug. Default log level is error.-c, --ci
: Runs in CI mode.--no-cache
: Disables third parties cache, such as langchain.--host
: Specifies a different host to run the server on.--port
: Specifies a different port to run the server on.--root-path
: Specifies a subpath to run the server on.