yyqdbngt opened a new pull request, #3410: URL: https://github.com/apache/rocketmq-dashboard/pull/3410
### Summary `LlmConfigVO.isReady` gates AI features on engine type, provider and credential presence, and `normalizeEngine` falls back to the HTTP engine for blank values. The VO suite only checked the Turkish-locale normalization case. ### Changes - Blank/`null` engines normalize to `http` - A disabled config or one without a model is never ready - CLI engines are ready without HTTP credentials - The `ollama` provider is ready without an API key while other HTTP providers are not - `apiBase` and `apiKey` are both required for non-Ollama HTTP providers - `apiKeyConfigured` reflects key presence ### Testing `mvn test -Dtest=LlmConfigVOTest` passes: 9 tests, 0 failures (up from 1). -- 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]
