mirror of
https://github.com/carlrobertoh/ProxyAI.git
synced 2026-05-13 15:32:25 +00:00
Add checkstyle rules (#274)
This commit is contained in:
parent
fe613afc74
commit
c4115e257b
72 changed files with 1129 additions and 564 deletions
|
|
@ -196,9 +196,9 @@ public final class ConversationService {
|
|||
return "YouCode";
|
||||
case LLAMA_CPP:
|
||||
var llamaSettings = LlamaSettingsState.getInstance();
|
||||
return llamaSettings.isUseCustomModel() ?
|
||||
llamaSettings.getCustomLlamaModelPath() :
|
||||
llamaSettings.getHuggingFaceModel().getCode();
|
||||
return llamaSettings.isUseCustomModel()
|
||||
? llamaSettings.getCustomLlamaModelPath()
|
||||
: llamaSettings.getHuggingFaceModel().getCode();
|
||||
default:
|
||||
throw new RuntimeException("Could not find corresponding service mapping");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue