mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-22 08:12:00 +02:00

* refactor: support drag/drop files for agents, handle undefined tool_resource edge cases * refactor: consolidate endpoints config logic to dedicated getter * refactor: Enhance agent tools loading logic to respect capabilities and filter tools accordingly * refactor: Integrate endpoint capabilities into file upload dropdown for dynamic resource handling * refactor: Implement capability checks for agent file upload operations * fix: non-image tool_resource check
8 lines
257 B
JavaScript
8 lines
257 B
JavaScript
const { getEndpointsConfig } = require('~/server/services/Config');
|
|
|
|
async function endpointController(req, res) {
|
|
const endpointsConfig = await getEndpointsConfig(req);
|
|
res.send(JSON.stringify(endpointsConfig));
|
|
}
|
|
|
|
module.exports = endpointController;
|