Skip to content

Commit 550eed8

Browse files
committed
chore: update package
1 parent 9032220 commit 550eed8

File tree

3 files changed

+10
-32
lines changed

3 files changed

+10
-32
lines changed

package-lock.json

Lines changed: 8 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/agent-api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"@langchain/core": "^1.0.0",
2727
"@langchain/langgraph": "^1.0.0",
2828
"@langchain/mcp-adapters": "^1.0.0",
29-
"@langchain/openai": "^1.0.0",
29+
"@langchain/openai": "^1.1.2",
3030
"@modelcontextprotocol/sdk": "^1.20.0",
3131
"@opentelemetry/exporter-trace-otlp-http": "^0.206.0",
3232
"@opentelemetry/instrumentation": "^0.206.0",

packages/agent-api/src/functions/chats-get.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ async function getChats(request: HttpRequest, context: InvocationContext): Promi
4141
if (sessionId) {
4242
const messages = await chatHistory.getMessages();
4343
const chatMessages = messages.map((message) => ({
44-
role: message.getType() === 'human' ? 'user' : 'assistant',
44+
role: message.type === 'human' ? 'user' : 'assistant',
4545
content: message.content,
4646
}));
4747
return { jsonBody: chatMessages };

0 commit comments

Comments
 (0)