update
This commit is contained in:
@@ -242,6 +242,10 @@ function jsoncorrection(a::T1, input::T2,
|
||||
break
|
||||
catch e
|
||||
@warn "Attempting correct JSON string. $attemptround"
|
||||
e = """$e"""
|
||||
if occursin("EOF", e)
|
||||
e = split(e, "EOF")[1] * "EOF"
|
||||
end
|
||||
incorrectjson = deepcopy(input)
|
||||
_prompt =
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user