kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
old-agentic-v1^2
rodzic
3dbc154e6a
commit
3d87b15d14
|
@ -17,7 +17,8 @@ test('CalculatorTool', async (t) => {
|
|||
t.is(res2.result, 1)
|
||||
expectTypeOf(res2.result).toMatchTypeOf<number>()
|
||||
|
||||
const { taskId, callId, ...metadata } = res2.metadata
|
||||
const { taskId, callId, parentCallId, parentTaskId, ...metadata } =
|
||||
res2.metadata
|
||||
t.true(typeof taskId === 'string')
|
||||
t.true(typeof callId === 'string')
|
||||
t.deepEqual(metadata, {
|
||||
|
|
Ładowanie…
Reference in New Issue