Pass the schema text to the stream reader
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
32ab30df7e
commit
3d8addfec4
1 changed files with 2 additions and 2 deletions
|
|
@ -277,10 +277,10 @@ fn read_stream(
|
|||
child: &mut dyn RunningChild,
|
||||
deadline: Instant,
|
||||
model: &str,
|
||||
structured: bool,
|
||||
schema: Option<&str>,
|
||||
quota: &QuotaCell,
|
||||
) -> Result<Finished, Failure> {
|
||||
let mut state = StreamState::new(model, structured, quota);
|
||||
let mut state = StreamState::new(model, schema, quota);
|
||||
let finished = loop {
|
||||
match child.read_line(deadline) {
|
||||
StdoutRead::Line(line) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue