🧩 fix: Human Message Content Handling for Legacy Content (#8525)

* wip: first pass content strings

* 📦 chore: update @langchain/core to v0.3.62 for data-provider dev dep.

* 📦 chore: bump @langchain/core to v0.3.62 for api dep.

* 📦 chore: move @langchain/core to peerDependencies in package.json and package-lock.json

* fix: update formatContentStrings to create HumanMessage directly from formatted content

* chore: import order
This commit is contained in:
Danny Avila 2025-07-17 18:34:24 -04:00 committed by GitHub
parent cd9c578907
commit 445e9eae85
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 398 additions and 39 deletions

View file

@ -8,6 +8,7 @@ const {
Tokenizer,
checkAccess,
memoryInstructions,
formatContentStrings,
createMemoryProcessor,
} = require('@librechat/api');
const {
@ -16,7 +17,6 @@ const {
GraphEvents,
formatMessage,
formatAgentMessages,
formatContentStrings,
getTokenCountForMessage,
createMetadataAggregator,
} = require('@librechat/agents');