mirror of
https://github.com/open-webui/pipelines
synced 2025-05-13 09:00:53 +00:00
Fix: make some MLX valves optional
This commit is contained in:
parent
47de6f1bb1
commit
54e83986e3
@ -23,9 +23,9 @@ class Pipeline:
|
|||||||
MLX_DEFAULT_MODEL: str = "mlx-community/Meta-Llama-3-8B-Instruct-8bit"
|
MLX_DEFAULT_MODEL: str = "mlx-community/Meta-Llama-3-8B-Instruct-8bit"
|
||||||
MLX_MODEL_FILTER: str = "mlx-community"
|
MLX_MODEL_FILTER: str = "mlx-community"
|
||||||
MLX_STOP: str = "<|start_header_id|>,<|end_header_id|>,<|eot_id|>"
|
MLX_STOP: str = "<|start_header_id|>,<|end_header_id|>,<|eot_id|>"
|
||||||
MLX_CHAT_TEMPLATE: str = ""
|
MLX_CHAT_TEMPLATE: str | None = None
|
||||||
MLX_USE_DEFAULT_CHAT_TEMPLATE: bool = False
|
MLX_USE_DEFAULT_CHAT_TEMPLATE: bool | None = None
|
||||||
HUGGINGFACE_TOKEN: str = ""
|
HUGGINGFACE_TOKEN: str | None = None
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
# Pipeline identification
|
# Pipeline identification
|
||||||
|
Loading…
Reference in New Issue
Block a user