Merge branch 'main' into main

This commit is contained in:
kuwork authored and GitHub committed 2025-02-04 22:52:37 +08:00
commit fdebb6e6e8
42 files changed
+385 -110

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ type BaiduMessage struct {
type BaiduChatRequest struct {
Messages []BaiduMessage `json:"messages"`
Temperature float64 `json:"temperature,omitempty"`
Temperature *float64 `json:"temperature,omitempty"`
TopP float64 `json:"top_p,omitempty"`
PenaltyScore float64 `json:"penalty_score,omitempty"`
Stream bool `json:"stream,omitempty"`