youngkermit8-coder opened a new pull request, #1932: URL: https://github.com/apache/rocketmq-dashboard/pull/1932
## Summary - prefer the runtime environment LLM token when config probes do not provide an explicit API key - avoid reading the persisted settings key when the environment token is available - keep the environment token runtime-only and never persist it ## Problem `getConfig` already treats `RMQ_LLM_TOKEN` as the authoritative runtime token, but `testConfig` could still probe with an older key from `rmq_settings`. That made connection tests fail even while normal LLM requests used the environment token. ## Tests - Added a regression test that fails before the fix: expected `env-token` but received the stored `sk-test` key. - `LlmConfigServiceTest`: 22 tests passed - Full backend suite: 1055 tests passed - Checkstyle: 0 violations Closes #1929 -- 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]
