]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
main.cpp fixes, refactoring (#571)
authoranzz1 <redacted>
Tue, 28 Mar 2023 14:09:55 +0000 (17:09 +0300)
committerGitHub <redacted>
Tue, 28 Mar 2023 14:09:55 +0000 (17:09 +0300)
commit7b8dbcb78b2f65c4676e41da215800d65846edd0
treeab17f652bb706aac95699ee323c6aaa36a1f4706
parent4b8efff0e3945090379aa2f897ff125c8f9cdbae
main.cpp fixes, refactoring (#571)

- main: entering empty line passes back control without new input in interactive/instruct modes
- instruct mode: keep prompt fix
- instruct mode: duplicate instruct prompt fix
- refactor: move common console code from main->common
examples/common.cpp
examples/common.h
examples/main/main.cpp