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

Method post

packages/bot/src/thread.ts:105–110  ·  view source on GitHub ↗
(ui: Renderable)

Source from the content-addressed store, hash-verified

103 }
104
105 async post(ui: Renderable): Promise<MessageRef> {
106 const bound = await this.bindForPost(ui);
107 const ref = await this.deps.adapter.post(this.deps.replyTarget, bound.root);
108 await this.bindReaction(ref.id, bound);
109 return ref;
110 }
111
112 async update(ref: MessageRef, ui: Renderable): Promise<MessageRef> {
113 const bound = await this.bindForPost(ui);

Callers 1

awaitChoiceMethod · 0.95

Calls 3

bindForPostMethod · 0.95
bindReactionMethod · 0.95
postMethod · 0.65

Tested by

no test coverage detected