Aias00 opened a new issue, #863:
URL: https://github.com/apache/rocketmq-dashboard/issues/863

   ### What happened?
   
   On the Studio LLM settings page, the connection test action is expected to 
be a non-destructive probe. However, `handleTestConnection()` builds the tested 
config with `forceEnabled=true` and saves it after a successful test.
   
   This means clicking **Test Connection** can persist runtime configuration 
and enable the LLM gateway even when the enable switch was left off.
   
   ### Expected behavior
   
   Testing a provider should not change persisted configuration or the enabled 
state. The page should only save configuration when the user explicitly clicks 
save.
   
   ### Scope
   
   RocketMQ Studio AI Native / LLM settings.
   
   ### Suggested fix
   
   Keep the test request ephemeral, preserve the current enabled value, and 
avoid calling the save API from the test action.


-- 
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