Skip to main content

render_text

Function render_text 

Source
pub fn render_text(action: &Tool, provider: ProviderKind) -> Result<String>
Expand description

Render an Tool into provider-native text (Hermes, Llama31, Markdown, SML).

Returns DejaDbError::ToolRenderUnsupported (MEM-E107) when the provider is JSON-shaped.