This commit is contained in:
Arihant Bansal
2025-01-05 00:40:27 +05:30
6 changed files with 146 additions and 147 deletions

View File

@@ -30,10 +30,10 @@ const pythFetchPriceAction: Action = {
],
],
schema: z.object({
priceFeedId: z
tokenSymbol: z
.string()
.min(1)
.describe("The Pyth price feed ID to fetch the price from"),
.describe("The token symbol to fetch the price for"),
}),
handler: async (_agent: SolanaAgentKit, input: Record<string, any>) => {
try {