ci: add release workflow + install script #2

Merged
aweiker merged 13 commits from ci/release-workflow into main 2026-05-01 19:24:16 +00:00
Showing only changes of commit b6277216f7 - Show all commits
+2 -2
View File
@@ -37,7 +37,7 @@ type Message struct {
type ChatRequest struct {
Model string `json:"model"`
Messages []Message `json:"messages"`
Temperature float64 `json:"temperature"`
Temperature float64 `json:"temperature,omitempty"`
}
// ChatResponse is the response from the API.
@@ -54,7 +54,7 @@ func (c *Client) Complete(messages []Message) (string, error) {
reqBody := ChatRequest{
Model: c.Model,
Messages: messages,
Temperature: 0.1,
}
data, err := json.Marshal(reqBody)