LibreChat/api/app/clients/prompts
Danny Avila b35a8b78e2
🔧 refactor: Improve Agent Context & Minor Fixes (#5349)
* 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
2025-01-17 12:55:48 -05:00
..
shadcn-docs 🪄 feat: Code Artifacts (#3798) 2024-08-27 17:03:16 -04:00
addCacheControl.js 🐛 fix: Anthropic Prompt Caching Edge Case (#3690) 2024-08-18 19:03:03 -04:00
addCacheControl.spec.js 🐛 fix: Anthropic Prompt Caching Edge Case (#3690) 2024-08-18 19:03:03 -04:00
artifacts.js 🪄 feat: Code Artifacts (#3798) 2024-08-27 17:03:16 -04:00
createContextHandlers.js 🗃️ fix: revise RAG prompt (#3006) 2024-06-07 20:51:43 -04:00
createVisionPrompt.js 👓 feat: Vision Support for Assistants (#2195) 2024-03-24 23:43:00 -04:00
formatAgentMessages.spec.js 📦 fix: npm warnings; chore: bump deprecated packages (#4707) 2024-11-12 18:51:32 -05:00
formatGoogleInputs.js feat(Google): Support all Text/Chat Models, Response streaming, PaLM -> Google 🤖 (#1316) 2023-12-10 14:54:13 -05:00
formatGoogleInputs.spec.js feat(Google): Support all Text/Chat Models, Response streaming, PaLM -> Google 🤖 (#1316) 2023-12-10 14:54:13 -05:00
formatMessages.js 🎉 feat: Code Interpreter API and Agents Release (#4860) 2024-12-04 15:48:13 -05:00
formatMessages.spec.js 📦 fix: npm warnings; chore: bump deprecated packages (#4707) 2024-11-12 18:51:32 -05:00
handleInputs.js feat: ConversationSummaryBufferMemory (#973) 2023-09-26 21:02:28 -04:00
index.js 🔧 refactor: Improve Agent Context & Minor Fixes (#5349) 2025-01-17 12:55:48 -05:00
instructions.js ci(backend-review.yml): add linter step to the backend review workflow (#625) 2023-07-14 09:36:49 -04:00
summaryPrompts.js 📦 fix: npm warnings; chore: bump deprecated packages (#4707) 2024-11-12 18:51:32 -05:00
titlePrompts.js 📦 fix: npm warnings; chore: bump deprecated packages (#4707) 2024-11-12 18:51:32 -05:00
titlePrompts.spec.js 🎯 feat: Enhance Title Parameter Parsing with new Anthropic Format 2024-11-06 13:40:49 -05:00
truncate.js 🔧 refactor: Improve Agent Context & Minor Fixes (#5349) 2025-01-17 12:55:48 -05:00