yyqdbngt opened a new pull request, #3497:
URL: https://github.com/apache/rocketmq-dashboard/pull/3497
### Summary
`buildLlmFailureResult` normalizes an LLM test failure into a stable `{
success: false, msg, code, hint }` shape. It had no tests.
### Changes
- The provider error message wins, with code/hint carried through
- A missing provider message falls back to the supplied one
- A `null` result yields only the fallback message
### Testing
`vitest run src/pages/studio/llmFailureResult.test.ts` passes: 3 tests, 0
failures (first coverage for this module). `tsc --noEmit` and `eslint` are
clean.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]