chore: add prettier linter

This commit is contained in:
AnotiaWang
2025-02-28 16:20:15 +08:00
parent c45d75fad2
commit 3eb93e034a
5 changed files with 23 additions and 6 deletions

View File

@ -76,7 +76,9 @@ export async function* parseStreamingJson<T extends z.ZodType>(
// If the last chunk parses failed, return an error
if (!isParseSuccessful) {
console.warn(`[parseStreamingJson] Failed to parse JSON: ${removeJsonMarkdown(rawText)}`)
console.warn(
`[parseStreamingJson] Failed to parse JSON: ${removeJsonMarkdown(rawText)}`,
)
yield {
type: 'bad-end',
rawText,