Skip to content

Commit

Permalink
CreateRequest will include missing numPredict
Browse files Browse the repository at this point in the history
  • Loading branch information
Puchaczov committed Jan 18, 2025
1 parent 7dc448d commit dd7d6a5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ private static GenerateRequest CreateRequest(OllamaPromptExecutionSettings setti
Temperature = settings.Temperature,
TopP = settings.TopP,
TopK = settings.TopK,
Stop = settings.Stop?.ToArray()
Stop = settings.Stop?.ToArray(),
NumPredict = settings.NumPredict
},
Model = selectedModel,
Stream = true
Expand Down

0 comments on commit dd7d6a5

Please sign in to comment.