This commit is contained in:
2023-11-24 13:19:32 +00:00
parent 19fcda864f
commit c4a823d46e
2 changed files with 24 additions and 14 deletions

View File

@@ -423,6 +423,7 @@ function conversationSummary(a::T) where {T<:agent}
error("undefied condition role = $role")
end
end
prompt = replace(prompt, "{conversation}" => conversation)
result = sendReceivePrompt(a, prompt)
summary = result === nothing ? "nothing" : result