Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hassan-ptpal opened this issue Jan 17, 2025 · 0 comments
Open

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

hassan-ptpal opened this issue Jan 17, 2025 · 0 comments

Comments

@hassan-ptpal
Copy link

hassan-ptpal commented Jan 17, 2025

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant