From 696a77a483b37499987e96b6bace88982f730c34 Mon Sep 17 00:00:00 2001 From: tonaerospace Date: Fri, 14 Mar 2025 19:15:42 +0700 Subject: [PATCH] update --- src/interface.jl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/interface.jl b/src/interface.jl index 2f11832..88e343d 100644 --- a/src/interface.jl +++ b/src/interface.jl @@ -217,7 +217,7 @@ function decisionMaker(state::T1, context, text2textInstructLLM::Function, # put in model format prompt = GeneralUtils.formatLLMtext(_prompt; formatname="qwen") - response = text2textInstructLLM(prompt) #BUG response === nothing + response = text2textInstructLLM(prompt) # LLM tends to generate observation given that it is in the input response = @@ -611,11 +611,11 @@ function reflector(config::T1, state::T2)::String where {T1<:AbstractDict, T2<:A externalService = config[:externalservice][:text2textinstruct] msgMeta = GeneralUtils.generate_msgMeta( - externalService[:mqtttopic], + externalService[:mqtttopic]; senderName= "reflector", senderId= string(uuid4()), receiverName= "text2textinstruct", - mqttBroker= config[:mqttServerInfo][:broker], + mqttBrokerAddress= config[:mqttServerInfo][:broker], mqttBrokerPort= config[:mqttServerInfo][:port], ) @@ -892,7 +892,7 @@ function query(query::T, executeSQL::Function, text2textInstructLLM::Function; insertSQLVectorDB(resultState[:thoughtHistory][:question], sql) end - if extracted === nothing #BUG + if extracted === nothing println("query() return nothing") end