OpenAI 500 Error Handling Test

Test 1: OpenAI 500 Error

This test simulates a 500 Internal Server Error from the OpenAI API and verifies that it's handled gracefully with fallback to Dictionary API.

Test 2: Network Error

This test simulates a network connectivity issue with the OpenAI API and verifies proper fallback behavior.

Test 3: Request Timeout

This test simulates a timeout from the OpenAI API and verifies that the request is properly aborted after 10 seconds.

Run a test to see results here...