LibreChat/api/server/controllers/agents
Danny Avila 9393ee7f98
refactor(agents): extract agent log handler for improved clarity and reusability
Refactored the agent log handling logic by extracting it into a dedicated function, `agentLogHandler`, enhancing code clarity and reusability across different modules. Updated the event handlers in both the OpenAI and responses controllers to utilize the new handler, ensuring consistent logging behavior throughout the application.
2026-03-11 22:50:25 -04:00
..
__tests__ refactor(tests): simplify event handler setup in createResponse tests 2026-03-11 21:48:07 -04:00
callbacks.js refactor(agents): extract agent log handler for improved clarity and reusability 2026-03-11 22:50:25 -04:00
client.js refactor(agents): remove unused tokenCountMap and streamline calibration ratio handling 2026-03-11 22:35:52 -04:00
client.test.js
errors.js
openai.js refactor(agents): extract agent log handler for improved clarity and reusability 2026-03-11 22:50:25 -04:00
recordCollectedUsage.spec.js
request.js
responses.js refactor(agents): extract agent log handler for improved clarity and reusability 2026-03-11 22:50:25 -04:00
v1.js
v1.spec.js