Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions nodejs/langchain/sample-agent/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ OPENAI_API_KEY=
# MCP Tooling Configuration
TOOLS_MODE=MCPPlatform # Options: MockMCPServer | MCPPlatform
BEARER_TOKEN=
ENVIRONMENT_ID=
USE_ENVIRONMENT_ID=false

# MCPPlatform Configuration. Default to production values.
MCP_PLATFORM_ENDPOINT=
Expand All @@ -22,7 +22,7 @@ OTEL_SDK_DISABLED=false
CONNECTION_STRING=

# Use Agentic Authentication rather than OBO
USE_AGENTIC_AUTH=true
USE_AGENTIC_AUTH=false

# Service Connection Settings
connections__service_connection__settings__clientId=
Expand Down
5 changes: 2 additions & 3 deletions nodejs/langchain/sample-agent/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "langchain-sample",
"version": "2025.10.13",
"version": "2025.11.6",
"description": "Sample agent integrating LangChain Agents with Microsoft 365 Agents SDK and Agent365 SDK",
"main": "src/index.ts",
"scripts": {
Expand All @@ -17,8 +17,7 @@
"agent",
"ai"
],
"author": "jterrazas@microsoft.com",
"license": "See license file",
"license": "MIT",
"dependencies": {
"@langchain/core": "*",
"@langchain/langgraph": "*",
Expand Down
2 changes: 1 addition & 1 deletion nodejs/langchain/sample-agent/src/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class A365Agent extends AgentApplication<TurnState> {
});

// Route agent notifications
this.onAgentNotification("*", async (context: TurnContext, state: TurnState, agentNotificationActivity: AgentNotificationActivity) => {
this.onAgentNotification("agents:*", async (context: TurnContext, state: TurnState, agentNotificationActivity: AgentNotificationActivity) => {
await this.handleAgentNotificationActivity(context, state, agentNotificationActivity);
});

Expand Down