#
Configuration File
Disclaimer
This documentation may be obsolete, incomplete, or incorrect. Please refer to the default config.yaml in your installation for the most up-to-date list of settings.
config.yaml
is the main configuration file for the SillyTavern server that you can find in the repository root directory after completing the installation. It is a YAML file that contains various settings, such as the network settings, security settings, and backend-specific options. The changes made to this file will take effect after restarting the server.
New settings that added to the upstream version will be automatically populated with the default values when you run npm install
(or specifically, the post-install.js
script) after updating the repository. You can then modify these settings as needed.
For nested settings, dot notation is used to indicate the hierarchy. For example, protocol.ipv6: false
refers to the ipv6
setting under the protocol
section with a value of false
.
protocol:
ipv6: false
#
Data Configuration
#
Network Configuration
#
Security Configuration
#
User Authentication
#
Request Proxy Configuration
#
AutoRun Configuration
#
Advanced Configuration
#
Extensions Configuration
#
Server Plugins
#
API Integration Settings
#
OpenAI Configuration
#
MistralAI Configuration
#
Ollama Configuration
#
Claude Configuration
IMPORTANT!
Use with caution and only when the prompt prefix is static and doesn't change between requests. {{random}} macro, lorebooks, vectors, summaries, etc. will likely invalidate the cache and you'll just waste money on cache misses. Behavior may be unpredictable and no guarantees can or will be made.
See: Prompt Caching