-
Notifications
You must be signed in to change notification settings - Fork 238
Open
Description
"Your organization must be verified to use the model gpt-5. Please go to: https://platform.openai.com/settings/organization/general and click on Verify Organization. If you just verified, it can take up to 15 minutes for access to propagate."
I have tried verifying organization on openai platform but still getting error for gpt-5, gpt-5-mini.
Same code block works for model gpt-4.1.
I am blocked on this, please suggest solution.
I read that streaming output was having an issue, but below code uses non-streaming generation. still get same error
resp, err := r.service.client.Chat.Completions.New(context.Background(), openai.ChatCompletionNewParams{
Model: r.model,
ResponseFormat: openai.ChatCompletionNewParamsResponseFormatUnion{
OfJSONSchema: &openai.ResponseFormatJSONSchemaParam{
JSONSchema: r.schema,
},
},
Temperature: openai.Float(r.temperature),
TopP: openai.Float(r.topP),
Messages: []openai.ChatCompletionMessageParamUnion{
openai.SystemMessage(r.systemInstruction),
openai.UserMessage(r.userInstruction),
},
ServiceTier: r.serviceTier,
}, option.WithMaxRetries(r.retries))Metadata
Metadata
Assignees
Labels
No labels