MCPcopy Index your code
hub / github.com/CopilotKit/CopilotKit / startNewThread

Method startNewThread

packages/core/src/threads.ts:615–615  ·  view source on GitHub ↗

* Resets to a fresh, client-side thread so the welcome screen can show. * * Lazy creation: no phantom row is added to the list — the new thread only * materializes once its first run persists server-side. This is distinct * from selecting an existing thread (which the wrapper marks *expl

()

Source from the content-addressed store, hash-verified

613 * suppressing the welcome screen): the thread produced here is NOT explicit.
614 */
615 startNewThread(): void;
616 fetchNextPage(): void;
617 renameThread(threadId: string, name: string): Promise<void>;
618 archiveThread(threadId: string): Promise<void>;

Callers 10

ThreadProbeFunction · 0.65
useThreadsFunction · 0.65
ThreadsStoreClass · 0.65
threads.spec.tsFile · 0.65
onNewThreadMethod · 0.65
onDeleteMethod · 0.65
threads.test.tsFile · 0.65

Calls

no outgoing calls

Tested by 1

ThreadProbeFunction · 0.52