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

   ### Motivation
   
   The existing `LlmControllerTest` covers the four happy paths of the 
config/models endpoints. The missing-body rejection of the save endpoint and 
the empty model list shape were untested.
   
   ### Changes
   
   - `saveConfigWithoutBodyIsRejected`: a JSON request without a body is a 400 
through the unreadable-body handler.
   - `listModelsEmptyReturnsEmptyData`: an empty model catalog returns a 
successful result with an empty data array.
   
   ### Verification
   
   ```
   mvn -B test -Dtest=LlmControllerTest
   [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0
   [INFO] BUILD SUCCESS
   ```


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