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:
chengyongru authored and GitHub committed 2026-10-30 13:07:03 +08:00
1 parent cb3ba45317
commit a4d2430140
922 files changed
+406 -7738

No files matched your search

-2
View File
@@ -19,7 +19,6 @@ import type {
const CHAT_CREATE_TIMEOUT_MS = 60_000;
/** Sidebar state: fetches the full session list and exposes create / delete actions. */
export function useSessions(): {
sessions: ChatSummary[];
loading: boolean;
@@ -206,7 +205,6 @@ export function useSessions(): {
};
}
/** Read-only history view backed by the conversation owner. */
export function useSessionHistory(key: string | null) {
const { messages, history, refreshHistory, loadOlder } = useNanobotStream(
null, undefined, false, undefined, undefined, undefined, { key },