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

Method onThreadStarted

packages/bot/src/create-bot.ts:204–204  ·  view source on GitHub ↗

* A conversation surface opened (e.g. the Slack assistant pane). Greet, set * suggested prompts, set a title, or run the agent. Adapters without the * concept never fire this.

(h: ThreadStartHandler<TState>)

Source from the content-addressed store, hash-verified

202 * concept never fire this.
203 */
204 onThreadStarted(h: ThreadStartHandler<TState>): void;
205 /** Handle clicks on a specific action `id`. `ctx.action.value` is typed as `TValue`. */
206 onInteraction<TValue = unknown>(
207 id: string,

Callers 5

attachTelegramListenerFunction · 0.65
attachAssistantFunction · 0.65
emitThreadStartedMethod · 0.65
mainFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected