Skip to content

Commit

Permalink
update llama binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
deleolajide committed Nov 27, 2023
1 parent cc4373c commit 6db8156
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 3 deletions.
Binary file modified classes/linux-64/server
Binary file not shown.
Binary file modified classes/win-64/ggml_shared.dll
Binary file not shown.
Binary file modified classes/win-64/llama.dll
Binary file not shown.
Binary file modified classes/win-64/llava_shared.dll
Binary file not shown.
Binary file modified classes/win-64/server.exe
Binary file not shown.
7 changes: 4 additions & 3 deletions src/java/org/ifsoft/llama/openfire/LLaMAConnection.java
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public void run() {
}
JSONObject systemPrompt = new JSONObject();
systemPrompt.put("prompt", JiveGlobals.getProperty("llama.system.prompt", LLaMA.getSystemPrompt()));
systemPrompt.put("anti_prompt", "/stop");
systemPrompt.put("anti_prompt", "User:");
systemPrompt.put("assistant_name", alias);

JSONObject testData = new JSONObject();
Expand Down Expand Up @@ -175,8 +175,9 @@ public void systemShutdown() {
public void deliver(Packet packet) throws UnauthorizedException {
// auto accept presence subscriptions

if (packet instanceof Presence) {
Presence presence = (Presence) packet;
if (packet instanceof Presence) {
Presence presence = (Presence) packet;
Log.debug("Incoming Presence " + packet.getFrom() + " " + presence.getType());

if (presence.getType() == Presence.Type.subscribe) {
Presence presence1 = new Presence();
Expand Down

0 comments on commit 6db8156

Please sign in to comment.