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

   ## Summary
   
   Extends the existing `AgentProviderRegistryTest` (1 to 4 tests) to pin down 
provider selection for the configured CLI agent engine.
   
   Added cases:
   - engines resolve case-insensitively after trimming across multiple 
registered providers (`Claude-Code`, `QODER`);
   - unsupported engines are rejected with a `LlmGatewayException` (status 400) 
whose message names the offending engine, and a null engine is rejected the 
same way;
   - registering two providers under the same engine fails fast at construction 
with `IllegalStateException` (duplicate key), preventing silent provider 
shadowing.
   
   ## Why
   
   The registry decides which CLI agent backs AI tool execution; only locale 
independence was covered before.
   
   ## Testing
   
   `mvn -B test -Dtest=AgentProviderRegistryTest` — 4/4 pass; checkstyle 
(validate) 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]

Reply via email to