fix: strip tags from output (#978)

This commit is contained in:
Jeremy 2025-05-02 16:45:26 -07:00 committed by GitHub
parent 575c12503c
commit e529d99974
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 3 deletions

View file

@ -73,3 +73,7 @@ export function getTrailingMessageId({
return trailingMessage.id;
}
export function sanitizeText(text: string) {
return text.replace('<has_function_call>', '');
}