mirror of
https://github.com/ritonioz/minecraft-ai-companion-mod-EMVs12-Project.git
synced 2026-03-18 07:10:20 +01:00
Merge branch 'main' of https://github.com/ritonioz/minecraft-ai-companion-mod-EMVs12-Project
This commit is contained in:
@@ -137,6 +137,8 @@ public class Aicompanion2_0 implements ModInitializer {
|
||||
System.out.println("[" + MOD_ID + "] MOD GELADEN!");
|
||||
}
|
||||
|
||||
// Innerhalb deiner Klasse Aicompanion2_0
|
||||
|
||||
private String callOllama(String prompt) throws Exception {
|
||||
String json = "{\"model\":\"" + jsonEscape(MODEL) + "\",\"messages\":[{\"role\":\"user\",\"content\":\""
|
||||
+ jsonEscape(prompt) + "\"}],\"stream\":false}";
|
||||
|
||||
Reference in New Issue
Block a user