🌐 fix: Expose Gemini Models to Vertex AI Agents (#15234)

* 🌐 fix: Expose Gemini Models to Vertex AI Agents

* ♻️ refactor: Resolve Shared Vertex Model Catalogs

* fix: Preserve Exact Vertex Model Catalogs

* style: Format Agent Model Selection

* test: Preserve Native FS in Stable Diffusion Spec
This commit is contained in:
Danny Avila 2026-08-27 06:50:23 -04:00 committed by GitHub
parent 3d808dc906
commit 8b1fcc0fc2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 287 additions and 34 deletions

View file

@ -3,7 +3,6 @@ const axios = require('axios');
const mockApplySSRFSafeAgentIfDirect = jest.fn();
jest.mock('axios', () => ({ post: jest.fn() }), { virtual: true });
jest.mock('fs');
jest.mock('sharp', () => jest.fn(), { virtual: true });
jest.mock('uuid', () => ({ v4: jest.fn() }), { virtual: true });
jest.mock('@librechat/data-schemas', () => ({
@ -24,14 +23,10 @@ jest.mock(
}),
{ virtual: true },
);
jest.mock(
'@librechat/api',
() => ({
applySSRFSafeAgentIfDirect: (...args) => mockApplySSRFSafeAgentIfDirect(...args),
getBasePath: jest.fn(),
}),
{ virtual: true },
);
jest.mock('@librechat/api', () => ({
applySSRFSafeAgentIfDirect: (...args) => mockApplySSRFSafeAgentIfDirect(...args),
getBasePath: jest.fn(),
}));
jest.mock('~/config/paths', () => ({}), { virtual: true });
const StableDiffusionAPI = require('./StableDiffusion');