Files
rss-to-feishu-next/internal/silicon/types.go
2026-01-19 02:10:24 -06:00

22 lines
455 B
Go

package silicon
type Response struct {
Id string `json:"id"`
Type string `json:"type"`
Content []struct {
Text string `json:"text"`
} `json:"content"`
}
type RequestBody struct {
Model string `json:"model"`
Messages []*Message `json:"messages"`
Temperature float64 `json:"temperature"`
MaxTokens int `json:"max_tokens"`
}
type Message struct {
Role string `json:"role"`
Content string `json:"content"`
}