Skip to content

Commit

Permalink
Merge pull request #446 from codestoryai/features/fix-things-for-deep…
Browse files Browse the repository at this point in the history
…seek

[sidecar] fix things for deepseek
  • Loading branch information
theskcd authored Feb 7, 2024
2 parents eece248 + f97e468 commit 0652b2e
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 0652b2e

Please sign in to comment.