server: remove default "gpt-3.5-turbo" model name#17668
Merged
ngxson merged 4 commits intoggml-org:masterfrom Dec 2, 2025
Merged
server: remove default "gpt-3.5-turbo" model name#17668ngxson merged 4 commits intoggml-org:masterfrom
ngxson merged 4 commits intoggml-org:masterfrom
Conversation
pwilkin
approved these changes
Dec 1, 2025
Member
pwilkin
left a comment
There was a problem hiding this comment.
LGTM, should be a generally safer approach anyway.
Member
|
You might want to also check the stats under the assistant response, I think that's where it bugged out for me (if you have 'show statistics' and 'show model name' checked in settings). |
Contributor
Author
|
Hmm yeah, it reflects back the input model name from the request. I think it's also time to remove this behavior as it doesn't make much sense. |
Contributor
Author
|
@pwilkin could you confirm if the latest commit resolves the problem on your side? (maybe there are cases that I haven't tested) |
Member
|
Okay, pulling and will check. |
Member
|
@ngxson can confirm, works good now. |
Contributor
Author
|
Merging this once most workflows passed on the mirrored PR: ngxson#46 |
Anico2
added a commit
to Anico2/llama.cpp
that referenced
this pull request
Jan 15, 2026
* server: remove default "gpt-3.5-turbo" model name * do not reflect back model name from request * fix test
leelee85527
approved these changes
Feb 2, 2026
blime4
referenced
this pull request
in blime4/llama.cpp
Feb 5, 2026
* server: remove default "gpt-3.5-turbo" model name * do not reflect back model name from request * fix test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Fix #17666
Important
This PR changes the way how model name is handle (see below).
In addition to that, the
"model"field from input request no longer be reflected back to the response. If you need to use a custom model name, set it via--model-aliasargument insteadRemove the default
gpt-3.5-turbomodel name as was useful in the past, but no longer be the case.The model name is now decided based on this priority:
model_aliasis set, use it<user>/<model>:<tag>if available (for cached models)After the change, web UI display the model name correctly: