pub async fn resolve_response_tokens_with_rag( body: Value, rag_config: RagConfig, ) -> Result<Value, String>
Resolve tokens in a JSON response body with RAG support