Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: enso route tool definition #52

Merged
merged 1 commit into from
Jan 17, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions skills/enso/route.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class EnsoGetRouteShortcutOutput(BaseModel):

class EnsoGetRouteShortcut(EnsoBaseTool):
"""
This tool finds the optimal execution path across a multitude of DeFi protocols such as liquidity pools,
This tool swaps the optimal execution route path across a multitude of DeFi protocols such as liquidity pools,
lending platforms, automated market makers, yield optimizers, and more. This allows for maximized capital efficiency
and yield optimization, taking into account return rates, gas costs, and slippage.

Expand All @@ -125,7 +125,7 @@ class EnsoGetRouteShortcut(EnsoBaseTool):
"""

name: str = "enso_get_route_shortcut"
description: str = "This tool optimizes DeFi swaps, identifying the most efficient execution path across various protocols (e.g., liquidity pools, lending platforms) by considering factors like return rates, gas costs, and slippage."
description: str = "This tool optimizes and performs DeFi swaps, identifying the most efficient execution path across various protocols (e.g., liquidity pools, lending platforms) by considering factors like return rates, gas costs, and slippage."
args_schema: Type[BaseModel] = EnsoGetRouteShortcutInput

def _run(self, fromAddress: str, amountIn: list[int], tokenIn: list[str], tokenOut: list[str],
Expand Down
Loading