Refactor project structure and remove unused modules

- Removed performance monitoring, tools service, and polyfills modules
- Moved formatToolCall helper function to test file
- Simplified imports in index.ts by removing polyfills import
- Cleaned up unnecessary files and consolidated code structure
This commit is contained in:
jango-blockchained
2025-02-03 15:47:59 +01:00
parent 51c1594f2f
commit ea5c377fa2
8 changed files with 19 additions and 727 deletions

View File

@@ -1,5 +1,11 @@
import { jest, describe, it, expect } from '@jest/globals';
import { formatToolCall } from '../src/helpers.js';
// Helper function moved from src/helpers.ts
const formatToolCall = (obj: any, isError: boolean = false) => {
return {
content: [{ type: "text", text: JSON.stringify(obj, null, 2), isError }],
};
};
describe('helpers', () => {
describe('formatToolCall', () => {