Skip to content

Commit 7714dd9

Browse files
committed
Improve error message formatting for context length in LlamaApp
1 parent f9639eb commit 7714dd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/example/LlamaApp.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ static void runInteractive(Llama model, Sampler sampler, Options options) {
186186
System.out.println(responseText);
187187
}
188188
if (stopToken == null) {
189-
System.err.println("Ran out of context length...\n Increase context length with by passing to llama-tornado --max-tokens XXX");
189+
System.err.println("\n Ran out of context length...\n Increase context length with by passing to llama-tornado --max-tokens XXX");
190190
break;
191191
}
192192
System.out.print("\n");

0 commit comments

Comments
 (0)