diff --git a/backend/open_webui/utils/payload.py b/backend/open_webui/utils/payload.py index 98c84b41ec..1666e5726a 100644 --- a/backend/open_webui/utils/payload.py +++ b/backend/open_webui/utils/payload.py @@ -161,6 +161,7 @@ def apply_model_params_to_body_ollama(params: dict, form_data: dict) -> dict: 'repeat_last_n': int, 'top_k': int, 'min_p': float, + 'typical_p': float, 'repeat_penalty': float, 'presence_penalty': float, 'frequency_penalty': float, diff --git a/src/lib/components/chat/Settings/Advanced/AdvancedParams.svelte b/src/lib/components/chat/Settings/Advanced/AdvancedParams.svelte index 940011e0a3..93bf2b5a1a 100644 --- a/src/lib/components/chat/Settings/Advanced/AdvancedParams.svelte +++ b/src/lib/components/chat/Settings/Advanced/AdvancedParams.svelte @@ -34,6 +34,7 @@ mirostat_tau: null, repeat_last_n: null, tfs_z: null, + typical_p: null, repeat_penalty: null, use_mmap: null, use_mlock: null, @@ -1080,6 +1081,62 @@ {/if} +