We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9e05382 + a2bf282 commit 1fb10cdCopy full SHA for 1fb10cd
1 file changed
pkg/model/provider/anthropic/client.go
@@ -89,6 +89,9 @@ func NewClient(ctx context.Context, cfg *latest.ModelConfig, env environment.Pro
89
requestOptions = append(requestOptions,
90
option.WithAPIKey(authToken),
91
)
92
+ if cfg.BaseURL != "" {
93
+ requestOptions = append(requestOptions, option.WithBaseURL(cfg.BaseURL))
94
+ }
95
} else {
96
authToken := desktop.GetToken(ctx)
97
if authToken == "" {
0 commit comments