MCPcopy Index your code
hub / github.com/sourcebot-dev/sourcebot / createUserMessage

Function createUserMessage

packages/web/src/features/chat/utils.test.ts:19–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17});
18
19const createUserMessage = (): SBChatMessage => ({
20 id: 'user-message',
21 role: 'user',
22 parts: [
23 {
24 type: 'text',
25 text: 'Hello',
26 },
27 ],
28});
29
30const dynamicApprovalRequestedPart = {
31 type: 'dynamic-tool',

Callers 1

utils.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected