mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-12 02:45:49 +02:00
wip: added ChatGPT settings
This commit is contained in:
parent
9d741b493a
commit
53f183c161
3 changed files with 64 additions and 25 deletions
|
@ -71,7 +71,7 @@ func MakeChatCompletionRequest(c *gin.Context) {
|
|||
ctx := context.Background()
|
||||
|
||||
req := openai.ChatCompletionRequest{
|
||||
Model: openai.GPT3Dot5Turbo0301,
|
||||
Model: settings.OpenAISettings.Model,
|
||||
Messages: messages,
|
||||
Stream: true,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue