Skip to content

Ollama doesnt work in a graalvm native image #6043

@joshlong

Description

@joshlong

for my trivial example, I had to register a RuntimeHintsRegistrar with the following types:

 // ollama
            for (var c : new Class[]{ThinkOption.ThinkOptionDeserializer.class,
                    ThinkOption.ThinkOptionSerializer.class}) {
                hints.reflection().registerType(c, MemberCategory.values());
            }

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions