Skip to content

Commit

Permalink
Update OllamaApiClient.cs
Browse files Browse the repository at this point in the history
Fixed a bug that truncated AI response.
  • Loading branch information
dmitryporotnikov committed Jul 30, 2024
1 parent cabe8f3 commit 8f8987b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GrammarLlama/OllamaApiClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public async Task<string> SendMessageAsync(string message)
stream = false,
options = new
{
num_predict = 100
num_predict = -1 // Unlimited response generation
},
system = _system
};
Expand Down

0 comments on commit 8f8987b

Please sign in to comment.