UNPKG

@unified-llm/core

Version:

Unified LLM interface (in-memory).

14 lines 639 B
// src/openai/tools/index.ts import { cat } from './commands/cat'; import { tree } from './commands/tree'; import { callAnotherClient, setTools } from './callAnotherClient'; import { getAuthor } from './getAuthor'; import { getProjectInfo } from './getProjectInfo'; import { getCurrentTime } from './getCurrentTime'; import { defineTool } from '../types/unified-api'; const tools = [cat, tree, callAnotherClient, getAuthor, getProjectInfo, getCurrentTime]; // Inject tools into callAnotherClient to avoid circular dependency setTools(tools); export { callAnotherClient, defineTool }; export default tools; //# sourceMappingURL=index.js.map