feat: add context.Context + unexport client fields #14

Merged
rodin merged 8 commits from fix/context-and-encapsulation into main 2026-05-01 21:10:37 +00:00
Showing only changes of commit 401e94d3e4 - Show all commits
+1 -1
View File
@@ -27,7 +27,7 @@ func NewClient(baseURL, apiKey, model string) *Client {
baseURL: strings.TrimRight(baseURL, "/"),
apiKey: apiKey,
model: model,
http: &http.Client{Timeout: 2 * time.Minute},
http: &http.Client{Timeout: 5 * time.Minute},
}
}