[BUG] Exclude typical_p from Ollama text completion requests
Environment
Windows
System
Windows 11,
Version
24.15
Desktop Information
Not pertenent, this is a Ollama deprecation of typical_p as of the 2026-Sept-15 release.
BUT... Windows 11, running Ollama and SillyTavern on same laptop. after Ollama update, error occured.
Describe the problem
Recent Ollama versions reject generate requests containing the typical_p option. Excludes typical_p/typical from the payload specifically for the Ollama backend, following the same pattern used for epsilon_cutoff/eta_cutoff.
Additional info
fix for me was disabling tpyical and typical_p in \SillyTavern\public\scripts\textgen-settings.js lines 1607 and 1608: was... 'typical_p': settings.typical_p, 'typical': settings.typical_p, should become... 'typical_p': settings.type !== OLLAMA ? settings.typical_p : undefined, 'typical': settings.type !== OLLAMA ? settings.typical_p : undefined,
Please tick the boxes
- I have explained the issue clearly, and I included all relevant info
- I have checked that this issue hasn't already been raised
- I have checked the docs
- I confirm that my issue is not related to third-party content, unofficial extension or patch. If in doubt, check with a new user account and with extensions disabled
Source: SillyTavern/SillyTavern