mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-07-10 01:18:32 +00:00
lcpp ui think budget
This commit is contained in:
parent
44bcead521
commit
08fbef5049
1 changed files with 3 additions and 0 deletions
|
|
@ -2190,6 +2190,9 @@ def generate(genparams, stream_flag=False):
|
|||
else:
|
||||
pass #unrestricted
|
||||
|
||||
if reasoning_budget==-1 and genparams.get('thinking_budget_tokens',-1)!=-1: #lcpp compat thinking budget
|
||||
reasoning_budget = genparams.get('thinking_budget_tokens',-1)
|
||||
|
||||
inputs.max_context_length = max_context_length # this will resize the context buffer if changed
|
||||
inputs.max_length = max_length
|
||||
inputs.temperature = temperature
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue