Update README

7c7de3d9650645acac1a3d90207d06dc88dac218

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +40 -16Showing whitespace changes
.github/readme.md+40 -16
@@ -317,29 +317,34 @@ Start.bat --port 8000 --listen false
317317
318318### Supported arguments
319319
320+> \[!TIP]
321+> None of the arguments are required. If you don't provide them, SillyTavern will use the settings in `config.yaml`.
322+
320323| Option | Description | Type |
321324|-------------------------|------------------------------------------------------------------------------------------------------|----------|
322325| `--version` | Show version number | boolean |
323-| `--enableIPv6` | Enables IPv6. | boolean |
324-| `--enableIPv4` | Enables IPv4. | boolean |
325-| `--port` | Sets the port under which SillyTavern will run. If not provided falls back to yaml config 'port'. | number |
326-| `--dnsPreferIPv6` | Prefers IPv6 for dns. If not provided falls back to yaml config 'preferIPv6'. | boolean |
327-| `--autorun` | Automatically launch SillyTavern in the browser. If not provided falls back to yaml config 'autorun'.| boolean |
328-| `--autorunHostname` | The autorun hostname, probably best left on 'auto'. | string |
329-| `--autorunPortOverride` | Overrides the port for autorun. | string |
330-| `--listen` | SillyTavern is listening on all network interfaces. If not provided falls back to yaml config 'listen'.| boolean |
331-| `--corsProxy` | Enables CORS proxy. If not provided falls back to yaml config 'enableCorsProxy'. | boolean |
332-| `--disableCsrf` | Disables CSRF protection | boolean |
333-| `--ssl` | Enables SSL | boolean |
334-| `--certPath` | Path to your certificate file. | string |
335-| `--keyPath` | Path to your private key file. | string |
336-| `--whitelist` | Enables whitelist mode | boolean |
337326| `--dataRoot` | Root directory for data storage | string |
338327| `--avoidLocalhostport` | AvoidsSets usingthe 'localhost'port forunder autorunwhich inSillyTavern autowill mode. run | boolean number |
328+| `--listen` | SillyTavern will listen on all network interfaces | boolean |
329+| `--whitelist` | Enables whitelist mode | boolean |
339330| `--basicAuthMode` | Enables basic authentication | boolean |
331+| `--enableIPv4` | Enables IPv4 protocol | boolean |
332+| `--enableIPv6` | Enables IPv6 protocol | boolean |
333+| `--listenAddressIPv4` | Specific IPv4 address to listen to | string |
334+| `--listenAddressIPv6` | Specific IPv6 address to listen to | string |
335+| `--dnsPreferIPv6` | Prefers IPv6 for DNS | boolean |
336+| `--ssl` | Enables SSL | boolean |
337+| `--certPath` | Path to your certificate file | string |
338+| `--keyPath` | Path to your private key file | string |
339+| `--autorun` | Automatically launch SillyTavern in the browser | boolean |
340+| `--autorunHostname` | Autorun hostname | string |
341+| `--autorunPortOverride` | Overrides the port for autorun | string |
342+| `--avoidLocalhost` | Avoids using 'localhost' for autorun in auto mode | boolean |
343+| `--corsProxy` | Enables CORS proxy | boolean |
340344| `--requestProxyEnabled` | Enables a use of proxy for outgoing requests | boolean |
341345| `--requestProxyUrl` | Request proxy URL (HTTP or SOCKS protocols) | string |
342346| `--requestProxyBypass` | Request proxy bypass list (space separated list of hosts) | array |
347+| `--disableCsrf` | Disables CSRF protection (NOT RECOMMENDED) | boolean |
343348
344349## Remote connections
345350
@@ -351,10 +356,29 @@ You may also want to configure SillyTavern user profiles with (optional) passwor
351356
352357## Performance issues?
353358
359+### General tips
360+
3543611. Disable the Blur Effect and enable Reduced Motion on the User Settings panel (UI Theme toggles category).
3553622. If using response streaming, set the streaming FPS to a lower value (10-15 FPS is recommended).
3563633. Make sure the browser is enabled to use GPU acceleration for rendering.
357364
365+### Input lag
366+
367+Performance degradation, particularly input lag, is most commonly attributed to browser extensions. Known problematic extensions include:
368+
369+* iCloud Password Manager
370+* DeepL Translation
371+* AI-based grammar correction tools
372+* Various ad-blocking extensions
373+
374+If you experience performance issues and cannot identify the cause, or suspect an issue with SillyTavern itself, please:
375+
376+1. [Record a performance profile](https://developer.chrome.com/docs/devtools/performance/reference)
377+2. Export the profile as a JSON file
378+3. Submit it to the development team for analysis
379+
380+We recommend first testing with all browser extensions and third-party SillyTavern extensions disabled to isolate the source of the performance degradation.
381+
358382## License and credits
359383
360384**This program is distributed in the hope that it will be useful,