feat: implement Stream Spoofing interceptor and robust format preservation patches
This commit is contained in:
@@ -23,7 +23,7 @@ describe('Response Rewriter', () => {
|
||||
expect(toolCall.type).toBe('function');
|
||||
expect(toolCall.function.name).toBe('read');
|
||||
|
||||
const argsObject = JSON.parse(toolCall.function.arguments);
|
||||
const argsObject = toolCall.function.arguments;
|
||||
expect(argsObject).toEqual({ path: '/tmp/test.txt' });
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user