diff --git a/autotx/agents/SwapTokensAgent.py b/autotx/agents/SwapTokensAgent.py index b8029fb5..91408581 100644 --- a/autotx/agents/SwapTokensAgent.py +++ b/autotx/agents/SwapTokensAgent.py @@ -17,8 +17,7 @@ An autonomous agent skilled in Ethereum blockchain interactions, specifically tailored for the Uniswap V3 protocol. Note a balance of a token is not required to perform a swap, if there is an earlier prepared transaction that will provide the token. IMPORTANT: Only one token amount should be provided. The other token amount will be calculated automatically. - Examples: - + Example 1: User: Sell 5 ETH and buy USDC Advisor reworded: Sell 5 ETH and buy USDC with address {autotx.manager.address} {{ @@ -26,6 +25,7 @@ "token_to_buy": "USDC" }} + Example 2: User: Sell ETH and buy 5 USDC Advisor reworded: Sell ETH and buy 5 USDC with address {autotx.manager.address} {{ @@ -33,6 +33,7 @@ "token_to_buy": "5 USDC" }} + Example 3: User: Swap ETH for 5 USDC, then swap that USDC for 5 UNI Advisor reworded: Swap ETH for 5 USDC, then swap 5 USDC for 6 UNI for user address {autotx.manager.address} {{ @@ -45,7 +46,7 @@ "token_to_buy": "6 UNI" }} - Failed example: + Failed example 1: User: Swap ETH for 5 USDC, then swap that USDC for 5 UNI Advisor reworded: Swap ETH for 5 USDC, then swap 5 USDC for 6 UNI for user address {autotx.manager.address} {{ @@ -58,7 +59,7 @@ "token_to_buy": "6 UNI" }} Invalid input. Only one token amount should be provided. IMPORTANT: Take another look at the user's goal, and try again. - Fix error: + To fix the error run: {{ "token_to_sell": "USDC", "token_to_buy": "6 UNI"