Skip to content

Conversation

@jarrodfeaks
Copy link
Contributor

Support for prefilling assistant messages in the v1/chat/completions endpoint was added in #723 (directly ported over from mainline), but until now it has not been functional. I had a look and realised the author missed a few lines from the source implementation, responsible for actually appending the prefilled content to the chat. This change simply restores them.

@firecoperana
Copy link
Collaborator

Thanks for this PR. It was indeed what I missed. I will test it when I'm home.

@firecoperana
Copy link
Collaborator

LGTM

@ikawrakow ikawrakow merged commit c029d97 into ikawrakow:main Oct 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants