// <auto-generated by typra-emitter>
// Code generated by Typra emitter; DO NOT EDIT.
#![allow(
unused_imports,
dead_code,
non_camel_case_types,
unused_variables,
clippy::all
)]
use super::super::agent::prompty::Prompty;
/// Renders a template string with input values to produce the final prompt text.
#[async_trait::async_trait]
pub trait Renderer: Send + Sync {
/// Render the template string with input values
async fn render(
&self,
agent: &Prompty,
template: &String,
inputs: &serde_json::Value,
) -> Result<String, Box<dyn std::error::Error + Send + Sync>>;
}