mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-03 09:12:50 +00:00
commit
f76b612506
@ -47,7 +47,8 @@ type OpenAIRequest struct {
|
|||||||
|
|
||||||
// Prompt is read only by completion API calls
|
// Prompt is read only by completion API calls
|
||||||
Prompt string `json:"prompt"`
|
Prompt string `json:"prompt"`
|
||||||
// Messages is readh only by chat/completion API calls
|
|
||||||
|
// Messages is read only by chat/completion API calls
|
||||||
Messages []Message `json:"messages"`
|
Messages []Message `json:"messages"`
|
||||||
|
|
||||||
// Common options between all the API calls
|
// Common options between all the API calls
|
||||||
|
Loading…
x
Reference in New Issue
Block a user