Skip to content

Commit 9e6e49e

Browse files
authored
fix: typo in comments for openai example (#293)
1 parent e3547db commit 9e6e49e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/llm-chain-openai/examples/simple_sequential_generation_stream.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
3030
.unwrap();
3131

3232
// Print the result to the console
33-
// Call `res.primary_textual_output()` explictly to get the streamed response.
33+
// Call `res.primary_textual_output()` explicitly to get the streamed response.
3434
let mut stream = res.as_stream().await?;
3535
while let Some(v) = stream.next().await {
3636
print!("{}", v);

0 commit comments

Comments
 (0)