镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.
This repository was archived by the owner on Oct 15, 2025. It is now read-only.

SDK doesn't compile #3

Open
Open

Description

@averyaube

I've received these errors when trying to build the SDK locally:

src/main/java/com/vapi/api/types/FallbackTavusVoiceVoiceId.java:66: error: method of(String) is already defined in class FallbackTavusVoiceVoiceId
    public static FallbackTavusVoiceVoiceId of(String value) {
                                            ^

src/main/java/com/vapi/api/types/FallbackTavusVoiceVoiceId.java:73: error: method visit(String) is already defined in interface Visitor
        T visit(String value);
          ^

src/main/java/com/vapi/api/types/TavusVoiceVoiceId.java:66: error: method of(String) is already defined in class TavusVoiceVoiceId
    public static TavusVoiceVoiceId of(String value) {
                                    ^

src/main/java/com/vapi/api/types/TavusVoiceVoiceId.java:73: error: method visit(String) is already defined in interface Visitor
        T visit(String value);
          ^

src/main/java/com/vapi/api/resources/logs/LogsClient.java:122: error: incompatible types: int cannot be converted to Double
                double newPageNumber = request.getPage().map(page -> page + 1).orElse(1);
                                                                                      ^

These same issues appear to happen in your CI pipelines: https://github.com/VapiAI/server-sdk-java/actions/runs/12910973646/job/36002288938

Thanks!

Activity

  1. SkankHunt3r42 commented on Feb 5, 2025

    @SkankHunt3r42

    LoL i receiving errors when i only trying to instal mvn dependency in pom xml

    How did u do that?

  2. ssatir commented on Feb 20, 2025

    @ssatir

    This so called API is a joke

  3. sionsmith commented on May 1, 2025

    @sionsmith

    You are not wrong - I have even fixed it for them but they don't want to look at my PR

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