Skip to content
This repository was archived by the owner on Oct 6, 2025. It is now read-only.

Commit 0f53979

Browse files
committed
Merge remote-tracking branch 'origin/backend-flag-support' into backend-flag-support
2 parents 511f5bc + 1191fca commit 0f53979

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

desktop/desktop.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ func (c *Client) doRequestWithAuth(method, path string, body io.Reader, backend,
613613
req.Header.Set("User-Agent", "docker-model-cli/"+Version)
614614

615615
// Add Authorization header for OpenAI backend
616-
if backend == "openai" && apiKey != "" {
616+
if apiKey != "" {
617617
req.Header.Set("Authorization", "Bearer "+apiKey)
618618
}
619619

0 commit comments

Comments
 (0)