Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/simstudioai/sim
/ dataPart
Function
dataPart
apps/sim/lib/a2a/client.ts:235–237 ·
view source on GitHub ↗
(value: unknown)
Source
from the content-addressed store, hash-verified
233
}
234
235
function
dataPart(value: unknown): Part {
236
return
{ content: { $case:
'data'
, value }, metadata: undefined, filename:
''
, mediaType:
''
}
237
}
238
239
function
filePart(file: A2AFileInput): Part {
240
return
{
Callers
1
buildUserMessage
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected