fix the type of the logprobs

Signed-off-by: wozulong <>
This commit is contained in:
wozulong
2024-05-22 11:30:38 +08:00
parent d34b601dae
commit a25bcaa58f
2 changed files with 10 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ type GeneralOpenAIRequest struct {
ToolChoice any `json:"tool_choice,omitempty"`
User string `json:"user,omitempty"`
LogitBias any `json:"logit_bias"`
LogProbs bool `json:"logprobs,omitempty"`
LogProbs any `json:"logprobs,omitempty"`
TopLogProbs int `json:"top_logprobs,omitempty"`
}