Spaces:
Runtime error
Runtime error
File size: 175 Bytes
2f7798c |
1 2 3 4 5 6 7 8 |
export function dirtyLLMResponseCleaner(input: string) {
return (
`${input || ""}`
.replaceAll("}}", "}")
.replaceAll("]]", "]")
.replaceAll(",,", ",")
)
} |