Golang Server SDK Broken
# support
s
I am seeing errors in GitHub actions on the main repo: https://github.com/VapiAI/server-sdk-go Would like to know if the generated Golang SDK is working fine.
v
@shehbaj I'm here to help! To check if the generated Golang SDK is working fine, we would typically need to run tests or build the SDK to see if there are any issues. However, as a support bot, I don't have direct access to external repositories or the ability to execute code. For the errors you're seeing in GitHub Actions, I would recommend checking the logs of the failed actions to identify the specific errors. If the errors are related to the SDK itself, you might need to look into the test results or build output for more details. If you have any specific error messages or logs that you'd like assistance with, please share them, and I'll do my best to guide you through troubleshooting the issue. If the issue is beyond my capabilities, you may need to reach out to the repository maintainers or ask for support from the GitHub community.
You can continue this conversation by mentioning me in the message.
s
Yeah it seems like the Golang SDK is broken When I try to build my Golang app with the Vapi SDK I get the same error as seen in Github actions
Copy code
# github.com/VapiAI/server-sdk-go
../../../go/pkg/mod/github.com/!vapi!a!i/server-sdk-go@v0.2.0/types.go:7531:2: Unknown redeclared
        ../../../go/pkg/mod/github.com/!vapi!a!i/server-sdk-go@v0.2.0/types.go:7530:2: other declaration of Unknown
../../../go/pkg/mod/github.com/!vapi!a!i/server-sdk-go@v0.2.0/types.go:7532:2: Unknown redeclared
        ../../../go/pkg/mod/github.com/!vapi!a!i/server-sdk-go@v0.2.0/types.go:7530:2: other declaration of Unknown
../../../go/pkg/mod/github.com/!vapi!a!i/server-sdk-go@v0.2.0/types.go:7565:58: method ClientMessageToolCallsToolWithToolCallListItem.GetUnknown already declared at ../../../go/pkg/mod/github.com/!vapi!a!i/server-sdk-go@v0.2.0/types.go:7558:58
../../../go/pkg/mod/github.com/!vapi!a!i/server-sdk-go@v0.2.0/types.go:7572:58: method ClientMessageToolCallsToolWithToolCallListItem.GetUnknown already declared at ../../../go/pkg/mod/github.com/!vapi!a!i/server-sdk-go@v0.2.0/types.go:7558:58
Copy code
../../../go/pkg/mod/github.com/!vapi!a!i/server-sdk-go@v0.2.0/types.go:7646:2: duplicate method VisitUnknown
        ../../../go/pkg/mod/github.com/!vapi!a!i/server-sdk-go@v0.2.0/types.go:7645:2: other declaration of VisitUnknown
../../../go/pkg/mod/github.com/!vapi!a!i/server-sdk-go@v0.2.0/types.go:7647:2: duplicate method VisitUnknown
        ../../../go/pkg/mod/github.com/!vapi!a!i/server-sdk-go@v0.2.0/types.go:7645:2: other declaration of VisitUnknown
../../../go/pkg/mod/github.com/!vapi!a!i/server-sdk-go@v0.2.0/types.go:38795:2: Unknown redeclared
        ../../../go/pkg/mod/github.com/!vapi!a!i/server-sdk-go@v0.2.0/types.go:38794:2: other declaration of Unknown
../../../go/pkg/mod/github.com/!vapi!a!i/server-sdk-go@v0.2.0/types.go:38796:2: Unknown redeclared
        ../../../go/pkg/mod/github.com/!vapi!a!i/server-sdk-go@v0.2.0/types.go:38794:2: other declaration of Unknown
../../../go/pkg/mod/github.com/!vapi!a!i/server-sdk-go@v0.2.0/types.go:38829:58: method ServerMessageToolCallsToolWithToolCallListItem.GetUnknown already declared at ../../../go/pkg/mod/github.com/!vapi!a!i/server-sdk-go@v0.2.0/types.go:38822:58
Copy code
../../../go/pkg/mod/github.com/!vapi!a!i/server-sdk-go@v0.2.0/types.go:38836:58: method ServerMessageToolCallsToolWithToolCallListItem.GetUnknown already declared at ../../../go/pkg/mod/github.com/!vapi!a!i/server-sdk-go@v0.2.0/types.go:38822:58
../../../go/pkg/mod/github.com/!vapi!a!i/server-sdk-go@v0.2.0/types.go:7647:2: too many errors
s
@shehbaj can you report this issue over golang-sdk it will be faster to get a resolution for this over there.
2 Views