Merge pull request #735 from jyc001/main

feat:Add Supoorts to FIM
This commit is contained in:
Calcium-Ion authored and GitHub committed 2025-02-17 14:37:06 +07:00
commit e661578515
2 files changed
+9

No files matched your search

+1
View File
@@ -18,6 +18,7 @@ type GeneralOpenAIRequest struct {
Model string `json:"model,omitempty"`
Messages []Message `json:"messages,omitempty"`
Prompt any `json:"prompt,omitempty"`
Suffix any `json:"suffix,omitempty"`
Stream bool `json:"stream,omitempty"`
StreamOptions *StreamOptions `json:"stream_options,omitempty"`
MaxTokens uint `json:"max_tokens,omitempty"`