Update crates/tabby/src/serve/completions.rs

sweep/improve-logging-information
sweep-ai[bot] 2023-07-27 09:56:43 +00:00 committed by GitHub
parent c69638b60c
commit 8f29730850
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ use ctranslate2_bindings::{
use hyper::StatusCode;
use serde::{Deserialize, Serialize};
use tabby_common::{config::Config, events, path::ModelDir};
use tracing::{debug, instrument};
use tracing::{debug, info, instrument};
use utoipa::ToSchema;
use self::languages::get_stop_words;
@ -143,7 +143,7 @@ impl CompletionState {
.compute_type(compute_type)
.build()
.unwrap();
debug!("Initializing TextInferenceEngine...");
info!("Initializing TextInferenceEngine...");
let engine = TextInferenceEngine::create(options);
Self {
engine,