Expand description
This module contains the procedural macro for deriving LanguageModelBatchWorkflow
.
We break down the macro into discrete subroutines for clearer testing and maintainability.
Each subroutine has a corresponding test module that validates its behavior at an interface level.
We must place this file in our proc-macro
crate (e.g. src/lib.rs
), adjusting as appropriate.
Remember to add syn = "2.0"
, quote = "1.0"
, proc-macro2 = "1.0"
, and async-trait = "0.1"
to your Cargo.toml
. This macro also uses the tracing
crate for robust logging.