mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 04:14:52 +00:00
fix tests
This commit is contained in:
parent
d2f7751d39
commit
2c3772528d
@ -321,9 +321,9 @@ mod tests {
|
|||||||
|
|
||||||
fn default_entry() -> (
|
fn default_entry() -> (
|
||||||
Entry,
|
Entry,
|
||||||
flume::Receiver<Result<InferStreamResponse, InferError>>,
|
mpsc::UnboundedReceiver<Result<InferStreamResponse, InferError>>,
|
||||||
) {
|
) {
|
||||||
let (response_tx, receiver_tx) = flume::unbounded();
|
let (response_tx, receiver_tx) = mpsc::unbounded_channel();
|
||||||
|
|
||||||
let entry = Entry {
|
let entry = Entry {
|
||||||
request: ValidGenerateRequest {
|
request: ValidGenerateRequest {
|
||||||
|
Loading…
Reference in New Issue
Block a user