yyqdbngt opened a new pull request, #3711:
URL: https://github.com/apache/rocketmq-dashboard/pull/3711

   ### Summary
   
   Adds the first dedicated unit test suite for `LlmModelsResultVO`, the model 
listing envelope returned by the LLM models endpoint.
   
   The class exposes provider/builtin/fallback source constants and two 
constructors. The tests pin the constants, the builtin-source default and the 
full warning-carrying form.
   
   ### Changes
   
   - 
`server/src/test/java/org/apache/rocketmq/studio/ops/ai/LlmModelsResultVOTest.java`
     - `exposesSourceConstants`: the three source constants.
     - `shortConstructorDefaultsToBuiltinSource`: status/data with builtin 
source.
     - `fullConstructorCarriesWarningState`: fallback source with 
warning/code/hint.
   
   ### Testing
   
   - `mvn -B test -Dtest=LlmModelsResultVOTest` passes (3 tests, all green).


-- 
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]

Reply via email to