Merge pull request #735 from jyc001/main

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

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"`