Skip to content

adding TextMessage Dependency #6277

Description

What is the doc issue?

Describe the issue
Text Message dependency is missing, in custom agents Custom Agents
What do you want to see in the doc?
add from autogen_agentchat.messages import TextMessage
Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Link to the doc page, if applicable

https://microsoft.github.io/autogen/stable/user-guide/agentchat-user-guide/custom-agents.html

Activity

  1. added a commit that references this issue on May 11, 2026
    5c3b186
  2. JaneIllario commented on May 11, 2026

    @JaneIllario
    Contributor

    I opened a PR with the documentation fix for this issue:

    #7676

    Summary of fix:

    • Added the missing TextMessage import in the ArithmeticAgent example in the Custom Agents docs.
    • This makes the snippet self-consistent and runnable when copied.

    Please let me know if you want me to adjust anything in the PR description or scope.

  3. Xsidz commented on Aug 16, 2026

    @Xsidz

    Working on this in PR #8067.

  4. LeonxLJX commented on Sep 1, 2026

    @LeonxLJX

    I'd like to take this one (adding TextMessage Dependency). I'll dig into the root cause and follow up with a PR shortly. (claiming via Stella (@LeonxLJX))

  5. LeonxLJX commented on Sep 1, 2026

    @LeonxLJX

    I'd like to take this one (adding TextMessage Dependency). I'll look into the root cause and follow up with a PR. (claiming via Stella (@LeonxLJX))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions