Skip to content

Multiple type/method redeclarations in server-sdk-go v0.3.0 #3

Description

@hassan-ptpal

Issue Description

When using server-sdk-go v0.3.0, multiple type and method redeclaration errors are occurring in the generated code. This makes it impossible to build projects that depend on this SDK.

Error Messages

Getting the following compilation errors:

  • Multiple declarations of type Unknown
  • Multiple declarations of method VisitUnknown
  • Multiple declarations of method ClientMessageToolCallsToolWithToolCallListItem.GetUnknown
  • Multiple declarations of method ServerMessageToolCallsToolWithToolCallListItem.GetUnknown

Environment

  • Go version: 1.22.3
  • SDK version: v0.3.0
  • OS: Linux
Image

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions