Skip to content

langchain node.js sample didn't work from MS Teams #231

@frankchen76

Description

@frankchen76

Description

Hi, I followed Quickstart: Set up and run the JavaScript LangChain sample agent and also setup blueprint, published with local setup and also configured the MS Teams dev center for blueprint. The local agent can also be tested successfully from Playground with dev-tunnel configured. after I created an agent instance and chat the agent from MS Teams, my agent endpoint hosted on local via dev-tunnel was able to receive agent lifecycle notification and an email message. however, when I type "hello" in the chat, my agent endpoint wasn't hit. can anyone tell me how I am able to troubleshooting what problems behind?
another thing I notice is when I called context.sendActivity() for agent lifecycle notification or typing message, I got 404 ERR_BAD_REQUEST issue.

Image

Expected behavior

the agent endpoint should receive the message.

SDK Version

0.1.0-preview.30

Language/Runtime

node.js v22.18.0

OS

Windows 11

How to Reproduce

  1. followed Quickstart: Set up and run the JavaScript LangChain sample agent to setup source code
  2. create blueprint via running "o365 config init" and "a365 setup all"
  3. publish without deploying "a365 publish"
  4. config in MS Teams dev center.
  5. request instance
  6. create instance
  7. type "hello" in MS Teams with that agent. got no response.

Output

No response

Screenshots

No response

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions