mirror of
https://github.com/openai/codex.git
synced 2026-04-26 23:55:25 +00:00
feat: adding stream parser (#12666)
Add a stream parser to extract citations (and others) from a stream. This support cases where markers are split in differen tokens. Codex never manage to make this code work so everything was done manually. Please review correctly and do not touch this part of the code without a very clear understanding of it
This commit is contained in:
6
codex-rs/utils/stream-parser/BUILD.bazel
Normal file
6
codex-rs/utils/stream-parser/BUILD.bazel
Normal file
@@ -0,0 +1,6 @@
|
||||
load("//:defs.bzl", "codex_rust_crate")
|
||||
|
||||
codex_rust_crate(
|
||||
name = "stream-parser",
|
||||
crate_name = "codex_utils_stream_parser",
|
||||
)
|
||||
Reference in New Issue
Block a user