From e537fb82e4f396d13b735da888df4d99d47cd719 Mon Sep 17 00:00:00 2001 From: narawat lamaiin Date: Fri, 26 Apr 2024 21:34:41 +0700 Subject: [PATCH] update --- src/mcts.jl | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/mcts.jl b/src/mcts.jl index 3b6248b..99659de 100644 --- a/src/mcts.jl +++ b/src/mcts.jl @@ -294,10 +294,17 @@ function iterativeprompting(a::T, prompt::String, verification::Function) where msgMeta = GeneralUtils.generate_msgMeta( a.config[:thirdPartyService][:text2textinstruct], - + senderName= "iterativeprompting", + senderId= a.id, + receiverName= "text2textinstruct", ) - outgoing = + outgoingMsg = Dict( + :msgMeta, + :payload=> Dict( + :text=> prompt, + ) + ) # iteration loop while true