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

   ### Motivation
   
   The AI engine locale test only covered Turkish-locale normalization. The 
readiness rules and registry rejection semantics behind the LLM settings form 
had no coverage. This PR grows the suite from 1 to 6 cases.
   
   ### Changes
   
   - `normalizeEngine` defaults to `http` when the engine is blank.
   - `isReady` requires both `enabled` and a model.
   - CLI engines (`claude-code`) are ready without gateway credentials.
   - HTTP gateways need an `apiBase`; local `ollama` providers skip the API-key 
requirement.
   - `AgentProviderRegistry.forEngine` rejects unknown and null engines with a 
400 `llm.config.unsupported_engine` exception.
   
   ### Verification
   
   - `mvn -B test -Dtest=AiEngineLocaleTest`: 6/6 passed, 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