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