Skip to content

Commit

Permalink
fix: wait loading large model #1313 (#1435)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikbry authored Dec 19, 2024
1 parent 06b15b4 commit 7fbd73f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/native/src/engines/llama_cpp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ impl LLamaCppEngine {
while let Some(event) = rx.recv().await {
if let CommandEvent::Stdout(line) = event {
println!("json={}", line);
if line.contains("HTTP server is listening") {
if line.contains("model loaded") { // line.contains("HTTP server is listening") {
println!("{}", model);
if
app
Expand Down

0 comments on commit 7fbd73f

Please sign in to comment.