Skip to content

Add OpenAI-compatible HTTP server (LlamaServer)#242

Merged
bernardladenthin merged 3 commits into
mainfrom
claude/cool-curie-ym3acr
Jun 18, 2026
Merged

Add OpenAI-compatible HTTP server (LlamaServer)#242
bernardladenthin merged 3 commits into
mainfrom
claude/cool-curie-ym3acr

Trim cross-repo note from assembly comments; add SSE server TODO

e595af6
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jun 18, 2026 in 33s

Quality Gate failed

Annotations

Check warning on line 86 in src/main/java/net/ladenthin/llama/server/OaiRouter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to use the more specialised Functional Interface 'UnaryOperator<String>'

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

Check warning on line 72 in src/main/java/net/ladenthin/llama/server/LlamaServerArgs.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code in order to not assign to this loop counter from within the loop body.

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

Check warning on line 91 in src/main/java/net/ladenthin/llama/server/LlamaServerArgs.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code in order to not assign to this loop counter from within the loop body.

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

Check warning on line 142 in src/test/java/net/ladenthin/llama/server/OaiRouterTest.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=AZ7dCnk4mUk2Yti1jSdV&open=AZ7dCnk4mUk2Yti1jSdV&pullRequest=242

Check warning on line 91 in src/test/java/net/ladenthin/llama/server/OaiRouterTest.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=AZ7dCnk4mUk2Yti1jSdO&open=AZ7dCnk4mUk2Yti1jSdO&pullRequest=242

Check warning on line 81 in src/test/java/net/ladenthin/llama/server/OaiRouterTest.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=AZ7dCnk4mUk2Yti1jSdN&open=AZ7dCnk4mUk2Yti1jSdN&pullRequest=242

Check warning on line 150 in src/test/java/net/ladenthin/llama/server/OaiRouterTest.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=AZ7dCnk4mUk2Yti1jSdW&open=AZ7dCnk4mUk2Yti1jSdW&pullRequest=242

Check warning on line 120 in src/test/java/net/ladenthin/llama/server/OaiRouterTest.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=AZ7dCnk4mUk2Yti1jSdS&open=AZ7dCnk4mUk2Yti1jSdS&pullRequest=242

Check warning on line 84 in src/main/java/net/ladenthin/llama/server/LlamaServerArgs.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code in order to not assign to this loop counter from within the loop body.

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

Check warning on line 109 in src/test/java/net/ladenthin/llama/server/LlamaServerArgsTest.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=AZ7dCnpAmUk2Yti1jSdh&open=AZ7dCnpAmUk2Yti1jSdh&pullRequest=242

Check warning on line 99 in src/test/java/net/ladenthin/llama/server/OaiRouterTest.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=AZ7dCnk4mUk2Yti1jSdP&open=AZ7dCnk4mUk2Yti1jSdP&pullRequest=242

Check warning on line 80 in src/test/java/net/ladenthin/llama/server/LlamaServerArgsTest.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=AZ7dCnpAmUk2Yti1jSdd&open=AZ7dCnpAmUk2Yti1jSdd&pullRequest=242

Check warning on line 21 in src/test/java/net/ladenthin/llama/server/LlamaServerArgsTest.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=AZ7dCnpAmUk2Yti1jSdY&open=AZ7dCnpAmUk2Yti1jSdY&pullRequest=242

Check warning on line 102 in src/test/java/net/ladenthin/llama/server/LlamaServerArgsTest.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=AZ7dCnpAmUk2Yti1jSdg&open=AZ7dCnpAmUk2Yti1jSdg&pullRequest=242

Check warning on line 135 in src/test/java/net/ladenthin/llama/server/OaiRouterTest.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=AZ7dCnk4mUk2Yti1jSdU&open=AZ7dCnk4mUk2Yti1jSdU&pullRequest=242

Check warning on line 128 in src/test/java/net/ladenthin/llama/server/OaiRouterTest.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=AZ7dCnk4mUk2Yti1jSdT&open=AZ7dCnk4mUk2Yti1jSdT&pullRequest=242

Check warning on line 57 in src/test/java/net/ladenthin/llama/server/LlamaServerArgsTest.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=AZ7dCnpAmUk2Yti1jSda&open=AZ7dCnpAmUk2Yti1jSda&pullRequest=242

Check warning on line 80 in src/main/java/net/ladenthin/llama/server/LlamaServerArgs.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code in order to not assign to this loop counter from within the loop body.

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

Check warning on line 73 in src/test/java/net/ladenthin/llama/server/LlamaServerArgsTest.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=AZ7dCnpAmUk2Yti1jSdc&open=AZ7dCnpAmUk2Yti1jSdc&pullRequest=242

Check warning on line 94 in src/test/java/net/ladenthin/llama/server/LlamaServerArgsTest.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=AZ7dCnpAmUk2Yti1jSdf&open=AZ7dCnpAmUk2Yti1jSdf&pullRequest=242

Check warning on line 106 in src/test/java/net/ladenthin/llama/server/OaiRouterTest.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=AZ7dCnk4mUk2Yti1jSdQ&open=AZ7dCnk4mUk2Yti1jSdQ&pullRequest=242

Check warning on line 35 in src/test/java/net/ladenthin/llama/server/LlamaServerArgsTest.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=AZ7dCnpAmUk2Yti1jSdZ&open=AZ7dCnpAmUk2Yti1jSdZ&pullRequest=242

Check warning on line 60 in src/test/java/net/ladenthin/llama/server/OaiHttpServerIntegrationTest.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=AZ7dCnpHmUk2Yti1jSdj&open=AZ7dCnpHmUk2Yti1jSdj&pullRequest=242

Check warning on line 67 in src/test/java/net/ladenthin/llama/server/LlamaServerArgsTest.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=AZ7dCnpAmUk2Yti1jSdb&open=AZ7dCnpAmUk2Yti1jSdb&pullRequest=242

Check warning on line 76 in src/main/java/net/ladenthin/llama/server/LlamaServerArgs.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code in order to not assign to this loop counter from within the loop body.

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