Aias00 opened a new issue, #2017: URL: https://github.com/apache/rocketmq-dashboard/issues/2017
## Problem When the runtime data-mode toggle is set to Mock, the Studio home page still requests `GET /api/llm/config` during mount. A local backend without a valid authenticated session responds with `401`. The global Axios response interceptor treats this as an authenticated API failure and assigns `window.location.href = '/'`. The browser then reloads the home page, which requests the same endpoint again. The result is a visible full-page flicker/reload loop and a continuous stream of `config 401` requests. The home screen also applies continuous full-surface hue/filter and large blurred-orb animations, which amplify perceived instability during this loop. ## Proposed fix - In Mock mode, use the built-in home model list without requesting the optional LLM configuration endpoint. - Keep configured-model discovery in non-Mock mode. - Keep the home background static by removing continuous full-surface filter/orb animations. - Add regression coverage proving Mock mode does not call `getLlmConfig`. ## Reproduction 1. Start Studio with a backend that returns `401` for `/api/llm/config`. 2. Enable the `Mock` data-mode toggle. 3. Open `/` and inspect Network: repeated `config` 401s coincide with visible homepage reload/flicker. -- 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]
