[azopenai] Fixing issue where you can't use whisper with m4a files. #22210
Azure Pipelines / go - azopenai
succeeded
Jan 8, 2024 in 9m 40s
Build #20240108.2 had test failures
Details
- Failed: 1 (0.08%)
- Passed: 1,180 (96.41%)
- Other: 43 (3.51%)
- Total: 1,224
- 853 of 2632 lines covered (32.41%)
Annotations
Check failure on line 1 in TestImageGeneration_OpenAI_Base64
azure-pipelines / go - azopenai
TestImageGeneration_OpenAI_Base64
Failed
Raw output
[Jan 8 22:55:05.898647] Retry: =====> Try=1
[Jan 8 22:55:05.898647] Request: ==> OUTGOING REQUEST (Try=1)
POST https://api.openai.com/v1/images/generations?api-version=2023-12-01-preview
Accept: application/json
Authorization: REDACTED
Content-Length: 121
Content-Type: application/json
User-Agent: azsdk-go-azopenai.Client/v0.4.1 (go1.18.10; Windows_NT)
--------------------------------------------------------------------------------
{"model":"dall-e-3","prompt":"acrylic painting of a sunflower with bees","response_format":"b64_json","size":"1024x1792"}
--------------------------------------------------------------------------------
[Jan 8 22:55:15.755305] Response: ==> REQUEST/RESPONSE (Try=1/9.8566725s, OpTime=9.8566725s) -- RESPONSE RECEIVED
POST https://api.openai.com/v1/images/generations?api-version=2023-12-01-preview
Accept: application/json
Authorization: REDACTED
Content-Length: 121
Content-Type: application/json
User-Agent: azsdk-go-azopenai.Client/v0.4.1 (go1.18.10; Windows_NT)
--------------------------------------------------------------------------------
RESPONSE Status: 400 Bad Request
Access-Control-Allow-Origin: REDACTED
Alt-Svc: REDACTED
Cf-Cache-Status: REDACTED
Cf-Ray: REDACTED
Content-Length: 404
Content-Type: application/json
Date: Mon, 08 Jan 2024 22:55:15 GMT
Openai-Organization: REDACTED
Openai-Processing-Ms: REDACTED
Openai-Version: REDACTED
Server: cloudflare
Set-Cookie: REDACTED
Strict-Transport-Security: REDACTED
X-Request-Id: REDACTED
--------------------------------------------------------------------------------
{
"error": {
"code": "content_policy_violation",
"message": "Your request was rejected as a result of our safety system. Image descriptions generated from your prompt may contain text that is not allowed by our safety system. If you believe this was done in error, your request may succeed if retried, or by adjusting your prompt.",
"param": null,
"type": "invalid_request_error"
}
}
--------------------------------------------------------------------------------
[Jan 8 22:55:15.755305] Retry: response 400
[Jan 8 22:55:15.755305] Retry: exit due to non-retriable status code
custom_client_image_test.go:79:
Loading