This commit is contained in:
2023-11-26 06:51:45 +00:00
parent c33bf6923a
commit ff4be86439
2 changed files with 18 additions and 18 deletions

View File

@@ -281,7 +281,7 @@ function extract_number(text::T) where {T<:AbstractString}
number = parse(Int, match.match)
return number
else
error("No number found in the text")
error("No number found in the text $(@__LINE__)")
end
end
@@ -420,7 +420,7 @@ function conversationSummary(a::T) where {T<:agent}
elseif role == "assistant"
conversation *= "I: $content\n"
else
error("undefied condition role = $role")
error("undefied condition role = $role $(@__LINE__)")
end
end