Merge pull request #236 from Wizard-Guido/fix/some-typos-and-grammar

fix: typos and grammar in system prompts and source code
This commit is contained in:
Simon
2026-03-13 21:13:40 +08:00
committed by GitHub
4 changed files with 6 additions and 6 deletions

View File

@@ -31,7 +31,7 @@ export function randomID(existingIDs?: string[]): string {
id = Math.random().toString(36).substring(2, 11)
tryCount++
if (tryCount > MAX_TRY) {
throw new Error('randomID: too many try')
throw new Error('randomID: too many tries')
}
}