Skip to content

cli: improve auto-completion code#21745

Merged
CISC merged 1 commit intoggml-org:masterfrom
matthiasstraka:cli-string-cleanup
Apr 23, 2026
Merged

cli: improve auto-completion code#21745
CISC merged 1 commit intoggml-org:masterfrom
matthiasstraka:cli-string-cleanup

Conversation

@matthiasstraka
Copy link
Copy Markdown
Contributor

Overview

This PR cleans up the code for cli auto-completion and makes it more efficient.
It also adds a string_starts_with helper function - compatible with future C++20 upgrades.
There are no side-effects outside the auto_completion_callback function.

References

#19985

Requirements

@matthiasstraka matthiasstraka requested review from a team and ngxson as code owners April 10, 2026 21:04
Comment thread tools/cli/cli.cpp Outdated
Comment thread tools/cli/cli.cpp Outdated
Comment thread tools/cli/cli.cpp
@CISC CISC merged commit 0dd7f91 into ggml-org:master Apr 23, 2026
46 of 47 checks passed
@matthiasstraka matthiasstraka deleted the cli-string-cleanup branch April 23, 2026 19:46
IntelNav pushed a commit to IntelNav/llama.cpp that referenced this pull request Apr 29, 2026
IntelNav pushed a commit to IntelNav/llama.cpp that referenced this pull request Apr 29, 2026
rsenthilkumar6 pushed a commit to rsenthilkumar6/llama.cpp that referenced this pull request May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants