Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions crates/symphony/src/json/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
//! JSON as models write it: values that are still arriving.
//!
//! Tool-call arguments stream in as a JSON prefix that grows with every chunk. [`partial`] parses
//! such a prefix into the value it determines so far and says how many bytes it understood, which
//! is what an argument stream needs to emit prefix-stable fragments. The assembler that turns a
//! growing prefix into fragments builds on it in a later change.

pub mod partial;

pub use partial::{is_complete, PartialJson, PartialJsonError};
Loading
Loading