mirror of
https://github.com/langchain-ai/memory-agent-js.git
synced 2026-07-01 20:04:03 -04:00
[PR #2] fixes runtime configuration of model #4
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langchain-ai/memory-agent-js/pull/2
Author: @shawnzhu
Created: 2/17/2025
Status: 🔄 Open
Base:
main← Head:model-provider📝 Commits (1)
5fac1a2fixes runtime configuration of model📊 Changes
1 file changed (+4 additions, -4 deletions)
View changed files
📝
src/memory_agent/utils.ts(+4 -4)📄 Description
I was trying to use models from Bedrock but could not get it work. Then I found the parameter's name should be.
modelProviderinstead ofprovider: https://github.com/langchain-ai/langchainjs/blob/dfb54dcd0d63603221ff93b1143f2a51c803f777/langchain/src/chat_models/universal.ts#L67-L80🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.