mirror of
https://github.com/carlrobertoh/ProxyAI.git
synced 2026-05-11 13:10:50 +00:00
fix: commit message generation for custom openai services (closes #496)
This commit is contained in:
parent
a9e147ffc7
commit
7d05d17797
1 changed files with 2 additions and 1 deletions
|
|
@ -116,7 +116,8 @@ public class CompletionRequestProvider {
|
|||
|
||||
public static Request buildCustomOpenAICompletionRequest(String system, String context) {
|
||||
return buildCustomOpenAIChatCompletionRequest(
|
||||
ApplicationManager.getApplication().getService(CustomServiceState.class)
|
||||
ApplicationManager.getApplication().getService(CustomServiceSettings.class)
|
||||
.getState()
|
||||
.getChatCompletionSettings(),
|
||||
List.of(
|
||||
new OpenAIChatCompletionStandardMessage("system", system),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue