Skip to content

Conversation

oesteve
Copy link
Contributor

@oesteve oesteve commented Sep 28, 2025

Q A
Bug fix? yes
New feature? no
Docs? no
Issues Fix #528
License MIT

I've noted an interesting initiative at #574 to handle non-valid response codes in a more structured and scalable way. This approach makes sense to me, but it may require further reflection. With this PR, I aim to contribute a humble and specific use case for OpenAI, along with an Exception class that could be reused for the other bridges.

@carsonbot carsonbot added Bug Something isn't working Platform Issues & PRs about the AI Platform component Status: Needs Review labels Sep 28, 2025
@OskarStark OskarStark changed the title [Platform] Improve error reporting for Bad Request response for OpenAI GPT [Platform][OpenAI] Improve error reporting for Bad Request Sep 28, 2025
@chr-hertel
Copy link
Member

Thank you @oesteve.

@chr-hertel chr-hertel merged commit 5019069 into symfony:main Sep 28, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Platform Issues & PRs about the AI Platform component Status: Reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Platform] Expose API errors for better Developer Experience
4 participants