Transitioned to office SDK
This commit is contained in:
5
src/helpers.ts
Normal file
5
src/helpers.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export const formatToolCall = (obj: any, isError: boolean = false) => {
|
||||
return {
|
||||
content: [{ type: "text", text: JSON.stringify(obj, null, 2), isError }],
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user