From ea926821775b1894c7a3cc1eb5140cefa109fc67 Mon Sep 17 00:00:00 2001 From: johannlai Date: Wed, 19 Jul 2023 11:40:31 +0800 Subject: [PATCH] :bug: export tool factory class ref: #9 --- .github/workflows/mr.yml | 3 +++ index.ts | 1 + 2 files changed, 4 insertions(+) diff --git a/.github/workflows/mr.yml b/.github/workflows/mr.yml index c17cc8b..7cc1f04 100644 --- a/.github/workflows/mr.yml +++ b/.github/workflows/mr.yml @@ -7,6 +7,9 @@ on: pull_request: branches: [main] +env: + MAPBOX_ACCESS_TOKEN: ${{ secrets.MAPBOX_ACCESS_TOKEN }} + jobs: check: name: Check diff --git a/index.ts b/index.ts index 9832508..0d68581 100644 --- a/index.ts +++ b/index.ts @@ -7,3 +7,4 @@ export { createReadFileTool, createWriteFileTool } from './tools/fs'; export { createAIPlugin } from './tools/aiplugin'; export { createRequest } from './tools/request'; export { createShowPoisOnMap } from './tools/showPoisOnMap'; +export { Tool } from './tools/tool';