fead: no idea

This commit is contained in:
didier committed 2026-07-03 13:59:06 -04:00
1 parent a65d39cea0
commit 57bcd549d1
3 files changed
+13 -4

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ func newEmbedder(apiKey, model, baseURL string) *embedder {
return &embedder{
apiKey: apiKey,
model: model,
baseURL: strings.TrimRight(baseURL, "/"),
baseURL: strings.TrimSuffix(strings.TrimRight(baseURL, "/"), "/v1"),
httpClient: &http.Client{
Timeout: 30 * time.Second,
},