fix error

This commit is contained in:
wxg
2025-09-25 12:25:24 +08:00
parent 4fdab3e7cd
commit b28b6aa25d
2 changed files with 8 additions and 6 deletions
+5 -3
View File
@@ -1,6 +1,6 @@
pub mod qwen2_5vl;
pub mod minicpm4;
pub mod base_modules;
pub mod minicpm4;
pub mod qwen2_5vl;
use anyhow::Result;
use candle_core::{DType, Device};
@@ -17,5 +17,7 @@ pub trait GenerateModel {
fn generate_stream(
&mut self,
mes: ChatCompletionParameters,
) -> Result<impl Stream<Item = Result<ChatCompletionChunkResponse, anyhow::Error>>>;
) -> Result<impl Stream<Item = Result<ChatCompletionChunkResponse, anyhow::Error>>>
where
Self: Sized;
}