mirror of
https://github.com/carlrobertoh/ProxyAI.git
synced 2026-05-12 22:31:24 +00:00
Include default parameters for llama client (#281)
This commit is contained in:
parent
845c7b4cee
commit
5c8a7c0e2b
1 changed files with 3 additions and 3 deletions
|
|
@ -55,9 +55,9 @@ public class CompletionClientProvider {
|
|||
}
|
||||
|
||||
public static LlamaClient getLlamaClient() {
|
||||
return new LlamaClient.Builder()
|
||||
.setPort(LlamaSettingsState.getInstance().getServerPort())
|
||||
.build();
|
||||
var builder = new LlamaClient.Builder()
|
||||
.setPort(LlamaSettingsState.getInstance().getServerPort());
|
||||
return (LlamaClient) addDefaultClientParams(builder).build();
|
||||
}
|
||||
|
||||
private static OpenAIClient.Builder getOpenAIClientBuilder() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue