Alexander01998
Checking out on OpenRouter. Any recommendations for a free model that works well for the AutoComplete? A free model has already been included, but it still doesn’t seem to work.
In the log:
[STDOUT]: {"stop":"\n","max_tokens":100,"temperature":1.79,"top_p":1.0,"presence_penalty":-1.04,"frequency_penalty":-1.01,"n":4,"model":"meta-llama/llama-4-scout:free","messages":[{"role":"system","content":"Complete the following text. Reply only with the completion. You are not an assistant."},{"role":"user","content":"=== Minecraft chat log ===\n<System> \n<System> Games! \n<achi> "}]}
[AutoComplete API Call/INFO]: [STDERR]: net.wurstclient.util.json.JsonException: Use JsonReader.setStrictness(Strictness.LENIENT) to accept malformed JSON at line 1 column 12 path $
See google/gsonblob/main/Troubleshooting.md#malformed-json
[AutoComplete API Call/INFO]: [STDERR]: at knot//net.wurstclient.util.json.JsonUtils.parseConnection(JsonUtils.java:111)
[AutoComplete API Call/INFO]: [STDERR]: at knot//net.wurstclient.util.json.JsonUtils.parseConnectionToObject(JsonUtils.java:134)
[AutoComplete API Call/INFO]: [STDERR]: at knot//net.wurstclient.hacks.autocomplete.OpenAiMessageCompleter.requestCompletions(OpenAiMessageCompleter.java:106)
[AutoComplete API Call/INFO]: [STDERR]: at knot//net.wurstclient.hacks.autocomplete.MessageCompleter.completeChatMessage(MessageCompleter.java:44)
[AutoComplete API Call/INFO]: [STDERR]: at knot//net.wurstclient.hacks.AutoCompleteHack.lambda$onUpdate$2(AutoCompleteHack.java:128)
[AutoComplete API Call/INFO]: [STDERR]: at java.base/java.lang.Thread.run(Thread.java:1583)
[AutoComplete API Call/INFO]: [STDERR]: Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setStrictness(Strictness.LENIENT) to accept malformed JSON at line 1 column 12 path $
See google/gsonblob/main/Troubleshooting.md#malformed-json
[AutoComplete API Call/INFO]: [STDERR]: at knot//com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1754)
[19:11:16] [AutoComplete API Call/INFO]: [STDERR]: at knot//com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1550)
[19:11:16] [AutoComplete API Call/INFO]: [STDERR]: at knot//com.google.gson.stream.JsonReader.doPeek(JsonReader.java:625)
[19:11:16] [AutoComplete API Call/INFO]: [STDERR]: at knot//com.google.gson.stream.JsonReader.peek(JsonReader.java:507)
[19:11:16] [AutoComplete API Call/INFO]: [STDERR]: at knot//com.google.gson.JsonParser.parseReader(JsonParser.java:111)
[19:11:16] [AutoComplete API Call/INFO]: [STDERR]: at knot//net.wurstclient.util.json.JsonUtils.parseConnection(JsonUtils.java:106)
[AutoComplete API Call/INFO]: [STDERR]: ... 5 more
To update — a model mistralai/mistral-7b-instruct:free
has hit its daily request limit. In the error:
"Rate limit exceeded: free-models-per-day. Add 10 credits to unlock 1000 free model requests per day"
Any advice or suggestions?