Merge branch 'main' into feature/reclaim_rent

This commit is contained in:
Thrishank
2025-01-05 21:37:27 +05:30
committed by GitHub
35 changed files with 390 additions and 115 deletions

View File

@@ -37,7 +37,9 @@ const pythFetchPriceAction: Action = {
}),
handler: async (_agent: SolanaAgentKit, input: Record<string, any>) => {
try {
const priceFeedId = await fetchPythPriceFeedID(input.tokenSymbol);
const priceFeedId = await fetchPythPriceFeedID(
input.tokenSymbol as string,
);
const priceStr = await fetchPythPrice(priceFeedId);