Describe the bug
I have followed the options and instructions with Microsoft 365 Agents Toolkit to create a LangChain weather agent - I didn't write any code and just took the default generated from the Toolkit. However, I was failed to run the agent even in Playground.
To Reproduce
Steps to reproduce the behavior:
- Create a custom engine agent with Microsoft 365 Agent Toolkit using VS Code.
- Select "Weather Agent" and then "OpenAI".
- Paste the OpenAI key.
- Select a folder and provide a name of the agent.
- Agent created. Goto Microsoft 365 Agents Toolkit extension and select "local" under "ENVIRONMENT".
- Select "Debug in Microsoft 365 Agent Playground".
- Encounter the following errors: "TypeError: Cannot read properties of undefined (reading 'prototype')
at 53918 (/opt/homebrew/lib/node_modules/@microsoft/m365agentsplayground/dist/index.js:2:2480393)
at webpack_require (/opt/homebrew/lib/node_modules/@microsoft/m365agentsplayground/dist/index.js:8:3085)
at 6816 (/opt/homebrew/lib/node_modules/@microsoft/m365agentsplayground/dist/index.js:2:313944)
at webpack_require (/opt/homebrew/lib/node_modules/@microsoft/m365agentsplayground/dist/index.js:8:3085)
at 32670 (/opt/homebrew/lib/node_modules/@microsoft/m365agentsplayground/dist/index.js:2:1544654)
at webpack_require (/opt/homebrew/lib/node_modules/@microsoft/m365agentsplayground/dist/index.js:8:3085)
at 23410 (/opt/homebrew/lib/node_modules/@microsoft/m365agentsplayground/dist/index.js:2:1201025)
at webpack_require (/opt/homebrew/lib/node_modules/@microsoft/m365agentsplayground/dist/index.js:8:3085)
at 62049 (/opt/homebrew/lib/node_modules/@microsoft/m365agentsplayground/dist/index.js:2:2750125)
at webpack_require (/opt/homebrew/lib/node_modules/@microsoft/m365agentsplayground/dist/index.js:8:3085)"
Expected behavior
Can test the generated agent.
Screenshots
If applicable, add screenshots to help explain your problem.
VS Code Extension Information (please complete the following information):
- OS: [e.g. MacOS 15.5]
- Version [e.g. 1.107.1]
Additional context
Add any other context about the problem here.
Describe the bug
I have followed the options and instructions with Microsoft 365 Agents Toolkit to create a LangChain weather agent - I didn't write any code and just took the default generated from the Toolkit. However, I was failed to run the agent even in Playground.
To Reproduce
Steps to reproduce the behavior:
at 53918 (/opt/homebrew/lib/node_modules/@microsoft/m365agentsplayground/dist/index.js:2:2480393)
at webpack_require (/opt/homebrew/lib/node_modules/@microsoft/m365agentsplayground/dist/index.js:8:3085)
at 6816 (/opt/homebrew/lib/node_modules/@microsoft/m365agentsplayground/dist/index.js:2:313944)
at webpack_require (/opt/homebrew/lib/node_modules/@microsoft/m365agentsplayground/dist/index.js:8:3085)
at 32670 (/opt/homebrew/lib/node_modules/@microsoft/m365agentsplayground/dist/index.js:2:1544654)
at webpack_require (/opt/homebrew/lib/node_modules/@microsoft/m365agentsplayground/dist/index.js:8:3085)
at 23410 (/opt/homebrew/lib/node_modules/@microsoft/m365agentsplayground/dist/index.js:2:1201025)
at webpack_require (/opt/homebrew/lib/node_modules/@microsoft/m365agentsplayground/dist/index.js:8:3085)
at 62049 (/opt/homebrew/lib/node_modules/@microsoft/m365agentsplayground/dist/index.js:2:2750125)
at webpack_require (/opt/homebrew/lib/node_modules/@microsoft/m365agentsplayground/dist/index.js:8:3085)"
Expected behavior
Can test the generated agent.
Screenshots
If applicable, add screenshots to help explain your problem.
VS Code Extension Information (please complete the following information):
Additional context
Add any other context about the problem here.