You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "Aias00 (via GitHub)" <gi...@apache.org> on 2026/08/19 02:06:56 UTC

[PR] fix(ai): refresh models after connection test [rocketmq-dashboard]

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

   Closes #2386
   
   ## Changes
   
   - Add `POST /api/llm/models/preview` to list models with the current, unpersisted LLM configuration.
   - Validate the preview request and preserve existing environment-token precedence.
   - Do not persist the preview API key or runtime overrides.
   - Refresh the model selector after a successful connection test, while discarding stale form responses.
   
   ## Validation
   
   - `JAVA_HOME=/Users/aias/Library/Java/JavaVirtualMachines/openjdk-21.0.2/Contents/Home mvn -q -Dtest=LlmConfigServiceTest,LlmControllerTest test`
   - `npm test -- --run src/pages/settings/__tests__/AiAssistantTab.test.tsx`
   - `npm run build`


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] feat(ai): refresh models after connection test [rocketmq-dashboard]

Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins merged PR #2387:
URL: https://github.com/apache/rocketmq-dashboard/pull/2387


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org