Skip to content

Commit

Permalink
[sidecar] fix things for deepseek
Browse files Browse the repository at this point in the history
  • Loading branch information
theskcd committed Feb 7, 2024
1 parent eece248 commit f97e468
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion llm_client/src/clients/ollama.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ impl LLMClient for OllamaClient {
while let Some(chunk) = response.chunk().await? {
let value = serde_json::from_slice::<OllamaResponse>(chunk.to_vec().as_slice())?;
buffered_string.push_str(&value.response);
println!("{}", &buffered_string);
sender.send(LLMClientCompletionResponse::new(
buffered_string.to_owned(),
Some(value.response),
Expand Down
3 changes: 2 additions & 1 deletion sidecar/src/application/logging/tracing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ pub fn tracing_subscribe(config: &Configuration) -> bool {
.with_filter(
EnvFilter::from_default_env()
.add_directive("hyper=off".parse().unwrap())
.add_directive("tantivy=off".parse().unwrap()), // .add_directive("error".parse().unwrap()),
.add_directive("tantivy=off".parse().unwrap())
.add_directive("error".parse().unwrap()),
);
let file_appender = tracing_appender::rolling::daily(config.log_dir(), "codestory.log");
let (non_blocking, guard) = tracing_appender::non_blocking(file_appender);
Expand Down

0 comments on commit f97e468

Please sign in to comment.