🔃 refactor: Clear MCP only on Model Spec Selection without MCP Servers (#10273)
Some checks are pending
Docker Dev Branch Images Build / build (Dockerfile, lc-dev, node) (push) Waiting to run
Docker Dev Branch Images Build / build (Dockerfile.multi, lc-dev-api, api-build) (push) Waiting to run
Docker Dev Images Build / build (Dockerfile, librechat-dev, node) (push) Waiting to run
Docker Dev Images Build / build (Dockerfile.multi, librechat-dev-api, api-build) (push) Waiting to run
Sync Locize Translations & Create Translation PR / Sync Translation Keys with Locize (push) Waiting to run
Sync Locize Translations & Create Translation PR / Create Translation PR on Version Published (push) Blocked by required conditions

This commit is contained in:
Danny Avila 2025-10-27 20:33:51 -04:00 committed by GitHub
parent 0446d0e190
commit 7973cb42ef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 43 additions and 7 deletions

View file

@ -9,7 +9,7 @@ import { getModelSpec, applyModelSpecEphemeralAgent } from '~/utils';
*/
export function useApplyModelSpecEffects() {
const updateEphemeralAgent = useUpdateEphemeralAgent();
const applyPresetModelSpec = useCallback(
const applyModelSpecEffects = useCallback(
({
convoId,
specName,
@ -37,7 +37,7 @@ export function useApplyModelSpecEffects() {
[updateEphemeralAgent],
);
return applyPresetModelSpec;
return applyModelSpecEffects;
}
export function useApplyAgentTemplate() {