Skip to content

Feature wave: Android AAR + Kotlin facade, server attach/router modes, LangChain4j streaming, GGUF tooling (llama.cpp b9878)#298

Merged
bernardladenthin merged 20 commits into
mainfrom
claude/java-llama-cpp-features-l4tl6v
Jul 5, 2026
Merged

Feature wave: Android AAR + Kotlin facade, server attach/router modes, LangChain4j streaming, GGUF tooling (llama.cpp b9878)#298
bernardladenthin merged 20 commits into
mainfrom
claude/java-llama-cpp-features-l4tl6v

Upgrade llama.cpp from b9876 to b9878

ad48793
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jul 5, 2026 in 31s

Annotations

Check warning on line 112 in llama/src/main/java/net/ladenthin/llama/GgufInspector.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This block of commented-out lines of code should be removed.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8yOMxKFE7g6XUVRsGh&open=AZ8yOMxKFE7g6XUVRsGh&pullRequest=298

Check warning on line 119 in llama/src/test/java/net/ladenthin/llama/value/GgufMetadataTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8yOMtDFE7g6XUVRsEs&open=AZ8yOMtDFE7g6XUVRsEs&pullRequest=298

Check warning on line 62 in llama/src/main/java/net/ladenthin/llama/LlamaModel.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Split this “Monster Class” into smaller and more specialized ones to reduce its dependencies on other classes from 22 to the maximum authorized 20 or less.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8yOMxoFE7g6XUVRsGi&open=AZ8yOMxoFE7g6XUVRsGi&pullRequest=298

Check warning on line 45 in llama/src/test/java/net/ladenthin/llama/json/EmbeddingResponseParserTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8yOMtTFE7g6XUVRsE5&open=AZ8yOMtTFE7g6XUVRsE5&pullRequest=298

Check warning on line 73 in llama/src/test/java/net/ladenthin/llama/RuntimeLoraIntegrationTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8yOMuwFE7g6XUVRsF6&open=AZ8yOMuwFE7g6XUVRsF6&pullRequest=298

Check warning on line 116 in llama/src/test/java/net/ladenthin/llama/server/RouterClientTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8yOMuoFE7g6XUVRsFs&open=AZ8yOMuoFE7g6XUVRsFs&pullRequest=298

Check warning on line 96 in llama/src/test/java/net/ladenthin/llama/json/LoraAdapterResponseParserTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8yOMtcFE7g6XUVRsFK&open=AZ8yOMtcFE7g6XUVRsFK&pullRequest=298

Check warning on line 42 in llama/src/test/java/net/ladenthin/llama/value/SessionCheckpointTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8yOMs7FE7g6XUVRsEe&open=AZ8yOMs7FE7g6XUVRsEe&pullRequest=298

Check warning on line 177 in llama/src/test/java/net/ladenthin/llama/SessionStateTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8yOMvxFE7g6XUVRsGW&open=AZ8yOMvxFE7g6XUVRsGW&pullRequest=298

Check warning on line 99 in llama/src/test/java/net/ladenthin/llama/json/RouterModelsResponseParserTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8yOMtLFE7g6XUVRsE2&open=AZ8yOMtLFE7g6XUVRsE2&pullRequest=298

Check warning on line 25 in llama/src/test/java/net/ladenthin/llama/server/NativeServerWorkerCommandTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8yOMtzFE7g6XUVRsFi&open=AZ8yOMtzFE7g6XUVRsFi&pullRequest=298

Check warning on line 205 in llama/src/test/java/net/ladenthin/llama/server/RouterClientTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8yOMuoFE7g6XUVRsFz&open=AZ8yOMuoFE7g6XUVRsFz&pullRequest=298

Check warning on line 139 in llama/src/test/java/net/ladenthin/llama/server/RouterClientTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8yOMuoFE7g6XUVRsFv&open=AZ8yOMuoFE7g6XUVRsFv&pullRequest=298

Check warning on line 24 in llama/src/test/java/net/ladenthin/llama/value/GgufMetadataTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8yOMtDFE7g6XUVRsEt&open=AZ8yOMtDFE7g6XUVRsEt&pullRequest=298

Check warning on line 97 in llama/src/test/java/net/ladenthin/llama/value/GgufMetadataTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8yOMtDFE7g6XUVRsEu&open=AZ8yOMtDFE7g6XUVRsEu&pullRequest=298

Check warning on line 206 in llama/src/test/java/net/ladenthin/llama/GgufInspectorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8yOMu4FE7g6XUVRsGG&open=AZ8yOMu4FE7g6XUVRsGG&pullRequest=298

Check warning on line 69 in llama/src/test/java/net/ladenthin/llama/json/EmbeddingResponseParserTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8yOMtTFE7g6XUVRsE7&open=AZ8yOMtTFE7g6XUVRsE7&pullRequest=298

Check warning on line 88 in llama/src/test/java/net/ladenthin/llama/json/EmbeddingResponseParserTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8yOMtTFE7g6XUVRsE-&open=AZ8yOMtTFE7g6XUVRsE-&pullRequest=298

Check warning on line 195 in llama/src/test/java/net/ladenthin/llama/server/RouterClientTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8yOMuoFE7g6XUVRsFy&open=AZ8yOMuoFE7g6XUVRsFy&pullRequest=298

Check warning on line 25 in llama/src/test/java/net/ladenthin/llama/json/RouterModelsResponseParserTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8yOMtLFE7g6XUVRsEv&open=AZ8yOMtLFE7g6XUVRsEv&pullRequest=298

Check warning on line 90 in llama/src/test/java/net/ladenthin/llama/value/GgufMetadataTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8yOMtDFE7g6XUVRsEp&open=AZ8yOMtDFE7g6XUVRsEp&pullRequest=298

Check warning on line 99 in llama/src/test/java/net/ladenthin/llama/server/NativeServerAttachIntegrationTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8yOMtjFE7g6XUVRsFV&open=AZ8yOMtjFE7g6XUVRsFV&pullRequest=298

Check warning on line 83 in llama/src/test/java/net/ladenthin/llama/value/RouterModelTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8yOMssFE7g6XUVRsEW&open=AZ8yOMssFE7g6XUVRsEW&pullRequest=298

Check warning on line 68 in llama/src/test/java/net/ladenthin/llama/value/RouterModelTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8yOMssFE7g6XUVRsEU&open=AZ8yOMssFE7g6XUVRsEU&pullRequest=298

Check warning on line 106 in llama/src/test/java/net/ladenthin/llama/server/NativeServerAttachIntegrationTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AZ8yOMtjFE7g6XUVRsFW&open=AZ8yOMtjFE7g6XUVRsFW&pullRequest=298