mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-08-27 04:07:05 +00:00
🧩 feat: Enable Model Spec Subagents (#13598)
Some checks failed
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
GitNexus Index / index (push) Waiting to run
GitNexus Index / post-index (push) Blocked by required conditions
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
Sync Helm Chart Tags / Ignore non-main push (push) Waiting to run
Sync Helm Chart Tags / Sync chart tags (push) Waiting to run
Publish `@librechat/client` to NPM / pack (push) Has been cancelled
Publish `librechat-data-provider` to NPM / pack (push) Has been cancelled
Publish `@librechat/client` to NPM / publish-npm (push) Has been cancelled
Publish `librechat-data-provider` to NPM / publish-npm (push) Has been cancelled
Some checks failed
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
GitNexus Index / index (push) Waiting to run
GitNexus Index / post-index (push) Blocked by required conditions
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
Sync Helm Chart Tags / Ignore non-main push (push) Waiting to run
Sync Helm Chart Tags / Sync chart tags (push) Waiting to run
Publish `@librechat/client` to NPM / pack (push) Has been cancelled
Publish `librechat-data-provider` to NPM / pack (push) Has been cancelled
Publish `@librechat/client` to NPM / publish-npm (push) Has been cancelled
Publish `librechat-data-provider` to NPM / publish-npm (push) Has been cancelled
This commit is contained in:
parent
cb6dbc8f60
commit
fb87abe773
13 changed files with 303 additions and 19 deletions
|
|
@ -118,6 +118,16 @@ describe('applyModelSpecEphemeralAgent', () => {
|
|||
const agent = updateEphemeralAgent.mock.calls[0][1] as TEphemeralAgent;
|
||||
expect(agent.artifacts).toBe('custom-renderer');
|
||||
});
|
||||
|
||||
it('should not copy model spec subagents into client ephemeral agent state', () => {
|
||||
const subagents = { enabled: true, allowSelf: true, agent_ids: ['agent_private'] };
|
||||
const modelSpec = createModelSpec({ subagents });
|
||||
|
||||
applyModelSpecEphemeralAgent({ convoId: null, modelSpec, updateEphemeralAgent });
|
||||
|
||||
const agent = updateEphemeralAgent.mock.calls[0][1] as TEphemeralAgent;
|
||||
expect(agent.subagents).toBeUndefined();
|
||||
});
|
||||
});
|
||||
|
||||
// ─── Existing Conversations: Per-Conversation Persistence ──────────
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue