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

Method update

packages/bot/src/thread.ts:112–117  ·  view source on GitHub ↗
(ref: MessageRef, ui: Renderable)

Source from the content-addressed store, hash-verified

110 }
111
112 async update(ref: MessageRef, ui: Renderable): Promise<MessageRef> {
113 const bound = await this.bindForPost(ui);
114 await this.deps.adapter.update(ref, bound.root);
115 await this.bindReaction(ref.id, bound);
116 return ref;
117 }
118
119 async delete(ref: MessageRef): Promise<void> {
120 await this.deps.adapter.delete(ref);

Callers

nothing calls this directly

Calls 3

bindForPostMethod · 0.95
bindReactionMethod · 0.95
updateMethod · 0.65

Tested by

no test coverage detected