Browse Source

make tracing optional

make-qwen-llm-configurable
haixuantao 5 months ago
parent
commit
7f44357e98
5 changed files with 8 additions and 1 deletions
  1. +2
    -0
      Cargo.lock
  2. +1
    -0
      binaries/cli/src/command/coordinator.rs
  3. +1
    -0
      binaries/cli/src/command/daemon.rs
  4. +1
    -0
      binaries/cli/src/command/run.rs
  5. +3
    -1
      node-hub/dora-openai-websocket/Cargo.toml

+ 2
- 0
Cargo.lock View File

@@ -3444,6 +3444,8 @@ dependencies = [
"dora-cli",
"dora-node-api",
"fastwebsockets",
"futures-concurrency",
"futures-util",
"http-body-util",
"hyper 1.6.0",
"hyper-util",


+ 1
- 0
binaries/cli/src/command/coordinator.rs View File

@@ -9,6 +9,7 @@ use dora_tracing::TracingBuilder;
use eyre::Context;
use std::net::{IpAddr, SocketAddr};
use tokio::runtime::Builder;
#[cfg(feature = "tracing")]
use tracing::level_filters::LevelFilter;

#[derive(Debug, clap::Args)]


+ 1
- 0
binaries/cli/src/command/daemon.rs View File

@@ -14,6 +14,7 @@ use std::{
path::PathBuf,
};
use tokio::runtime::Builder;
#[cfg(feature = "tracing")]
use tracing::level_filters::LevelFilter;

#[derive(Debug, clap::Args)]


+ 1
- 0
binaries/cli/src/command/run.rs View File

@@ -12,6 +12,7 @@ use crate::{
session::DataflowSession,
};
use dora_daemon::{flume, Daemon, LogDestination};
#[cfg(feature = "tracing")]
use dora_tracing::TracingBuilder;
use eyre::Context;
use tokio::runtime::Builder;


+ 3
- 1
node-hub/dora-openai-websocket/Cargo.toml View File

@@ -7,7 +7,7 @@ edition = "2021"

[dependencies]
dora-node-api = { workspace = true }
dora-cli = { workspace = true, default-features = false }
dora-cli = { path = "../../binaries/cli", default-features = false }
tokio = { version = "1.25.0", features = ["full", "macros"] }
tokio-rustls = "0.24.0"
rustls-pemfile = "1.0"
@@ -27,3 +27,5 @@ serde = "1.0.219"
base = "0.1.0"
base64 = "0.22.1"
rand = "0.9.2"
futures-util = "0.3.31"
futures-concurrency = "7.6.3"

Loading…
Cancel
Save