MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / assistantWithCall

Function assistantWithCall

test/phase-a.test.ts:109–115  ·  view source on GitHub ↗
(name: string, args: string)

Source from the content-addressed store, hash-verified

107 }
108
109 function assistantWithCall(name: string, args: string): Message {
110 return {
111 role: 'assistant',
112 content: '',
113 tool_calls: [{ id: 'c', type: 'function', function: { name, arguments: args } }],
114 };
115 }
116
117 it('returns input unchanged when no duplicates exist', () => {
118 const msgs: Message[] = [

Callers 1

phase-a.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected