发布

  • [OPIK-2922] [BE] Propagate error message to playground (#4124)

    frostbyte_neo 发布于 2025-11-20 14:41:32 +00:00

    • [OPIK-2922] [BE] Propagate LLM provider error details to playground console

    • Revision 2: Add InternalServerErrorExceptionMapper to expose underlying error details

    • Revision 3: Include underlying exception message in error response

    • Revision 4: Extract root cause message and pass original exception as cause

    • Revision 5: Fix streaming error handler to include detailed error message

    • Revision 6: Add user-friendly error messages with extensible switch pattern

    • Revision 7: Add ClosedChannelException to unreachable service error handling

    • code style

    • Revision 8: Extract duplicated error message construction to shared method

    • Revision 9: Add comprehensive unit tests for ChatCompletionService error handling

    • Revision 10: Refactor tests to use parameterized tests to reduce duplication

    • OPIK-2922 changed error message to be non-specific for local deployments

    • Revision 11: Address PR review comments - use Guava Throwables, add imports, remove duplicate comment

    下载附件