Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -746,6 +746,7 @@
"num_gpu": null,
"num_thread": null,
"num_predict": null, # Will use max_tokens
"reasoning": null, # Controls the reasoning/thinking mode for supported models. If None (Default), The model will use its default reasoning behavior.
"repeat_last_n": null,
"repeat_penalty": null,
"temperature": null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ def create_base_chat_model(self, config: Dict[str, Any],
num_gpu=config.get("num_gpu"),
num_thread=config.get("num_thread"),
num_predict=config.get("num_predict", config.get("max_tokens")),
reasoning=config.get("reasoning"),
repeat_last_n=config.get("repeat_last_n"),
repeat_penalty=config.get("repeat_penalty"),
temperature=config.get("temperature"),
Expand Down