From 18e81998a1460e6a982df8eb48990abdd0f39338 Mon Sep 17 00:00:00 2001 From: shivaji43 Date: Thu, 26 Dec 2024 13:09:25 +0530 Subject: [PATCH] fix: changed the SolanaTipLinkTool description --- src/langchain/index.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/langchain/index.ts b/src/langchain/index.ts index 3dd1e53..6b2013c 100644 --- a/src/langchain/index.ts +++ b/src/langchain/index.ts @@ -1232,12 +1232,10 @@ export class SolanaCreateGibworkTask extends Tool { export class SolanaTipLinkTool extends Tool { name = "solana_tiplink"; description = `Create a TipLink for transferring SOL or SPL tokens. - - Input format: Provide the amount of SOL as a number, and optionally an SPL mint address separated by a space. - Examples: - - "1" (for 1 SOL) - - "0.5" (for 0.5 SOL) - - "1 TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA" (for SPL token transfer)`; + + Inputs (input is a string): + amount: number, eg 1 (required) + mint?: string, eg "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA" (optional)`; constructor(private solanaKit: SolanaAgentKit) { super();