This commit is contained in:
2025-03-21 10:04:22 +07:00
parent 568e0ff54f
commit 3d03a4d351
2 changed files with 13 additions and 26 deletions

View File

@@ -64,18 +64,6 @@ function text2textInstructLLM(prompt::String; maxattempt=3)
println("</text2textInstructLLM()> attempt $attempts/$maxattempt failed ", @__FILE__, ":", @__LINE__, " $(Dates.now())\n")
sleep(3)
end
# response = _response[:response][:text]
# if response !== nothing
# break
# else
# println("\n<text2textInstructLLM()> attempt $attempts/$maxattempt failed ", @__FILE__, ":", @__LINE__, " $(Dates.now())")
# pprintln(outgoingMsg)
# println("</text2textInstructLLM()> attempt $attempts/$maxattempt failed ", @__FILE__, ":", @__LINE__, " $(Dates.now())\n")
# sleep(3)
# end
end
return response