Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add newline after chat example in llama-server #9616

Merged

Conversation

StrangeBytesDev
Copy link
Contributor

Currently llama-server doesn't add a newline after the chat example in the log. Here's an example log output from B3812:

I main: model loaded
I main: chat template, built_in: 1, chat_example: '<|system|>
You are a helpful assistant<|end|>
<|user|>
Hello<|end|>
<|assistant|>
Hi there<|end|>
<|user|>
How are you?<|end|>
<|assistant|>

'I main: server is listening on 127.0.0.1:8080 - starting the main loop

This change simple puts a newline after the chat example.

@ggerganov ggerganov merged commit 0aa1501 into ggerganov:master Sep 24, 2024
1 check passed
dsx1986 pushed a commit to dsx1986/llama.cpp that referenced this pull request Oct 29, 2024
arthw pushed a commit to arthw/llama.cpp that referenced this pull request Nov 15, 2024
arthw pushed a commit to arthw/llama.cpp that referenced this pull request Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants