Skip to content

Commit 1fd532a

Browse files
committed
chore: remove unused tool
1 parent c14261c commit 1fd532a

File tree

4 files changed

+5
-10
lines changed

4 files changed

+5
-10
lines changed

src/actions/agent/index.ts

-5
This file was deleted.

src/actions/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import createImageAction from "./agent/createImage";
1+
// import createImageAction from "./agent/createImage";
22
import deployToken from "./agent/deployToken";
33
import getWalletHolding from "./agent/getWalletHolding";
44
import transferToken from "./agent/transferToken";
@@ -12,7 +12,7 @@ import registerSns from "./agent/registerSns";
1212
import getSnsNameRecord from "./agent/getSnsNameRecord";
1313

1414
export const ACTIONS = {
15-
CREATE_IMAGE_ACTION: createImageAction,
15+
// CREATE_IMAGE_ACTION: createImageAction,
1616
GET_WALLET_HOLDING: getWalletHolding,
1717
TRANSFER_TOKEN: transferToken,
1818
DEPLOY_TOKEN: deployToken,

src/langchain/agent/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export * from "./create_image";
1+
// export * from "./create_image";
22
export * from "./get_balance";
33
export * from "./swap";
44
export * from "./get_wallet_address";

src/langchain/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ export * from "./agent";
22

33
import { SuiAgentKit } from "../agent";
44
import {
5+
// SuiCreateImageTool,
56
SuiGetWalletAddressTool,
6-
SuiCreateImageTool,
77
SuiGetHoldingTool,
88
SuiTransferTokenTool,
99
SuiDeployTokenTool,
@@ -18,8 +18,8 @@ import {
1818

1919
export function createSuiTools(suiKit: SuiAgentKit) {
2020
return [
21+
// new SuiCreateImageTool(suiKit),
2122
new SuiGetWalletAddressTool(suiKit),
22-
new SuiCreateImageTool(suiKit),
2323
new SuiGetHoldingTool(suiKit),
2424
new SuiTransferTokenTool(suiKit),
2525
new SuiDeployTokenTool(suiKit),

0 commit comments

Comments
 (0)