1 2 3 4 5 6 7 8 9 10 11 12 13 14
use simplify_baml_macros::{BamlSchema, baml_function}; #[derive(BamlSchema)] struct Output { result: String, } #[baml_function(client = "test")] fn bad_function(_text: String) -> Output { let x = "prompt"; x } fn main() {}