add dummy backend
This commit is contained in:
parent
230f2a415a
commit
2bcc87bb02
|
@ -790,6 +790,18 @@ dependencies = [
|
||||||
"windows-sys 0.48.0",
|
"windows-sys 0.48.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "dummy"
|
||||||
|
version = "2.0.5-dev0"
|
||||||
|
dependencies = [
|
||||||
|
"async-trait",
|
||||||
|
"clap",
|
||||||
|
"text-generation-router",
|
||||||
|
"thiserror",
|
||||||
|
"tokio",
|
||||||
|
"tokio-stream",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "either"
|
name = "either"
|
||||||
version = "1.12.0"
|
version = "1.12.0"
|
||||||
|
|
|
@ -2,10 +2,11 @@
|
||||||
members = [
|
members = [
|
||||||
# "benchmark",
|
# "benchmark",
|
||||||
"backends/v3",
|
"backends/v3",
|
||||||
|
"backends/dummy",
|
||||||
# "backends/client",
|
# "backends/client",
|
||||||
"backends/grpc-metadata",
|
"backends/grpc-metadata",
|
||||||
"launcher"
|
"launcher"
|
||||||
]
|
, "backends/dummy"]
|
||||||
resolver = "2"
|
resolver = "2"
|
||||||
|
|
||||||
[workspace.package]
|
[workspace.package]
|
||||||
|
|
|
@ -1052,7 +1052,7 @@ impl From<CompatGenerateRequest> for GenerateRequest {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Serialize, ToSchema)]
|
#[derive(Debug, Serialize, ToSchema, Clone)]
|
||||||
pub struct PrefillToken {
|
pub struct PrefillToken {
|
||||||
#[schema(example = 0)]
|
#[schema(example = 0)]
|
||||||
pub id: u32,
|
pub id: u32,
|
||||||
|
|
Loading…
Reference in New Issue