mirror of
https://github.com/carlrobertoh/ProxyAI.git
synced 2026-05-12 14:10:29 +00:00
fix: replace hard coded max tokens for edit code request
This commit is contained in:
parent
f7ac956da5
commit
468da234f1
1 changed files with 1 additions and 1 deletions
|
|
@ -135,7 +135,7 @@ public class CompletionRequestProvider {
|
|||
new OpenAIChatCompletionStandardMessage("user", context)))
|
||||
.setModel(model)
|
||||
.setStream(true)
|
||||
.setMaxTokens(2048)
|
||||
.setMaxTokens(ConfigurationSettings.getCurrentState().getMaxTokens())
|
||||
.build();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue