refactor: remove redundant comments and docstrings (#6527)
* refactor: remove redundant comments and docstrings * fix(signal): annotate async context manager as a generator
This commit is contained in:
1 parent
cb3ba45317
commit
a4d2430140
922 files changed
+406
-7738
No files matched your search
@@ -44,7 +44,6 @@ export function scrubSubagentAnnounceBody(
|
||||
return header || body || stripped;
|
||||
}
|
||||
|
||||
/** Apply scrub to assistant rows that look like subagent inject announcements. */
|
||||
export function scrubSubagentUiMessages(messages: UIMessage[]): UIMessage[] {
|
||||
return messages.map((m) => {
|
||||
if (m.role !== "assistant" || m.renderAs === "text" || typeof m.content !== "string") {
|
||||
|
||||
Reference in new issue
Block a user