MCPcopy Index your code
hub / github.com/simstudioai/sim / textPart

Function textPart

apps/sim/lib/a2a/client.test.ts:23–25  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

21} from '@/lib/a2a/client'
22
23function textPart(value: string): Part {
24 return { content: { $case: 'text', value }, metadata: undefined, filename: '', mediaType: '' }
25}
26
27function message(role: Role, parts: Part[]): Message {
28 return {

Callers 1

client.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected