mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 08:50:15 +01:00
* refactor: Improve Context for Agents
* 🔧 fix: Safeguard against undefined properties in OpenAIClient response handling
* refactor: log error before re-throwing for original stack trace
* refactor: remove toolResource state from useFileHandling, allow svg files
* refactor: prevent verbose logs from axios errors when using actions
* refactor: add silent method recordTokenUsage in AgentClient
* refactor: streamline token count assignment in BaseClient
* refactor: enhance safety settings handling for Gemini 2.0 model
* fix: capabilities structure in MCPConnection
* refactor: simplify civic integrity threshold handling in GoogleClient and llm
* refactor: update token count retrieval method in BaseClient tests
* ci: fix test for svg
21 lines
671 B
JavaScript
21 lines
671 B
JavaScript
const addCacheControl = require('./addCacheControl');
|
|
const formatMessages = require('./formatMessages');
|
|
const summaryPrompts = require('./summaryPrompts');
|
|
const handleInputs = require('./handleInputs');
|
|
const instructions = require('./instructions');
|
|
const titlePrompts = require('./titlePrompts');
|
|
const truncate = require('./truncate');
|
|
const createVisionPrompt = require('./createVisionPrompt');
|
|
const createContextHandlers = require('./createContextHandlers');
|
|
|
|
module.exports = {
|
|
addCacheControl,
|
|
...formatMessages,
|
|
...summaryPrompts,
|
|
...handleInputs,
|
|
...instructions,
|
|
...titlePrompts,
|
|
...truncate,
|
|
createVisionPrompt,
|
|
createContextHandlers,
|
|
};
|