mirror of
https://github.com/katanemo/plano.git
synced 2026-06-17 15:25:17 +02:00
removing unecessary trait implemenations
This commit is contained in:
parent
df3aa17d67
commit
3e107d935b
1 changed files with 0 additions and 9 deletions
|
|
@ -260,15 +260,6 @@ where
|
|||
}
|
||||
}
|
||||
|
||||
impl<'a> TryFrom<(&'a [u8], &'a ProviderId)> for SseChatCompletionIter<str::Lines<'a>> {
|
||||
type Error = OpenAIError;
|
||||
|
||||
fn try_from(input: (&'a [u8], &'a ProviderId)) -> Result<Self> {
|
||||
let s = std::str::from_utf8(input.0)?;
|
||||
// Use input.provider as needed
|
||||
Ok(SseChatCompletionIter::new(s.lines()))
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a> TryFrom<&'a [u8]> for SseChatCompletionIter<str::Lines<'a>> {
|
||||
type Error = OpenAIError;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue