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

Some library classes in Kotlin are perceived as private and can't be instantiated in Java #48

Open
adrian-lorenzo opened this issue Aug 2, 2023 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@adrian-lorenzo
Copy link
Member

Because unknown reasons, some APIs of libraries that should be public aren’t accessible from Java code.

For example, if you want to make use of Timeout in this library that is needed in eLLMental.

You will get the following error: 'Timeout(kotlin.time.Duration, kotlin.time.Duration, kotlin.time.Duration)' has private access in 'com.aallam.openai.api.http.Timeout'.

@adrian-lorenzo adrian-lorenzo added bug Something isn't working good first issue Good for newcomers labels Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant