update
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user