Add mvp-system/src/mvp_chat.rs with a run_from_args entrypoint wiring swactor runtime, dashboard, chat datastream, and a PromptLoop. Add a mock integration test; refresh mvp-chat and MVP_SYSTEM specs. Signed-off-by: Zachery Aaron Shores-Chmielewski <zacheryasc@gmail.com>
66 lines
1.5 KiB
TOML
66 lines
1.5 KiB
TOML
[package]
|
|
name = "mvp-system"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
publish = false
|
|
autobins = false
|
|
|
|
[features]
|
|
default = []
|
|
|
|
[dependencies]
|
|
datastream = { path = "../datastream" }
|
|
dashboard = { path = "../dashboard" }
|
|
serde_json = "1"
|
|
serde = { version = "1", features = ["derive"] }
|
|
swactor = { path = "../..", features = ["serde", "transport"] }
|
|
swactor-transport = { path = "../transport" }
|
|
distribution = { path = "../distribution" }
|
|
iroh-driver = { path = "../iroh-driver" }
|
|
iroh = "0.98"
|
|
tokio = { version = "1", features = ["rt-multi-thread", "macros", "process", "io-util", "sync", "time", "net", "signal"] }
|
|
swactor-vastai = { path = "../../tools/vastai" }
|
|
parking_lot = "0.12"
|
|
blake3 = "1"
|
|
toml = "0.8"
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
libc = "0.2"
|
|
signal-hook = "0.3"
|
|
|
|
[dev-dependencies]
|
|
iroh-relay = { version = "0.98", features = ["server", "test-utils"] }
|
|
|
|
[[bin]]
|
|
name = "mvp-worker-node"
|
|
path = "src/bin/worker_node.rs"
|
|
|
|
[[bin]]
|
|
name = "mvp-orchestrator"
|
|
path = "src/bin/orchestrator.rs"
|
|
|
|
[[bin]]
|
|
name = "mvp-chat"
|
|
path = "src/bin/mvp_chat.rs"
|
|
|
|
[[test]]
|
|
name = "local_unmocked_mvp_e2e"
|
|
path = "tests/local_unmocked_mvp_e2e.rs"
|
|
harness = false
|
|
required-features = ["local-e2e"]
|
|
|
|
[[test]]
|
|
name = "gpu_worker_node_e2e"
|
|
path = "tests/gpu_worker_node_e2e.rs"
|
|
required-features = ["local-e2e"]
|
|
|
|
[[test]]
|
|
name = "local-e2e-cluster"
|
|
path = "tests/local_e2e_cluster.rs"
|
|
harness = false
|
|
required-features = ["local-e2e"]
|
|
|
|
[[test]]
|
|
name = "mvp_chat_mock"
|
|
path = "tests/mvp_chat_mock.rs"
|
|
harness = false
|