diff --git a/internal/provider/provider.go b/internal/provider/provider.go index 76109cf..1308871 100644 --- a/internal/provider/provider.go +++ b/internal/provider/provider.go @@ -80,8 +80,7 @@ func (p *OpenAIProvider) Configure(ctx context.Context, req provider.ConfigureRe } if adminKey == "" { - resp.Diagnostics.AddError("admin_key is required", "admin_key is required") - return + resp.Diagnostics.AddWarning("admin_key is required", "admin_key is required") } else if !strings.HasPrefix(adminKey, "sk-admin-") { resp.Diagnostics.AddError("admin_key must start with 'sk-admin-'", "admin_key must start with 'sk-admin-'") return