mezoAgent 0.6.0__tar.gz → 0.6.1__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mezoAgent
3
- Version: 0.6.0
3
+ Version: 0.6.1
4
4
  Summary: A Python package for Mezo Agent transactions with LangChain tools
5
5
  Author: Dreadwulf, Duck, Digi
6
6
  Requires-Dist: python-dotenv
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mezoAgent
3
- Version: 0.6.0
3
+ Version: 0.6.1
4
4
  Summary: A Python package for Mezo Agent transactions with LangChain tools
5
5
  Author: Dreadwulf, Duck, Digi
6
6
  Requires-Dist: python-dotenv
@@ -1,7 +1,6 @@
1
1
  from langchain.tools import tool
2
2
  from mezo_agent.config import web3_instance, sender_address, ERC20_ABI
3
3
  from mezo_agent.parsing import extract_balance_details
4
- from mezo_agent.utils import get_token_address_by_symbol
5
4
 
6
5
  @tool
7
6
  def mezo_agent_token_balance_tool(balance_prompt: str) -> str:
@@ -11,6 +10,7 @@ def mezo_agent_token_balance_tool(balance_prompt: str) -> str:
11
10
  :param balance_prompt: User query containing the token symbol.
12
11
  :return: Token balance for the sender's address.
13
12
  """
13
+ from mezo_agent.utils import get_token_address_by_symbol
14
14
  details = extract_balance_details(balance_prompt)
15
15
 
16
16
  if isinstance(details, str): # Handle extraction errors
@@ -1,6 +1,5 @@
1
1
  from langchain.tools import tool
2
2
  from mezo_agent.config import query_graph
3
- from mezo_agent.utils import get_token_address_by_symbol, get_token_price
4
3
  from mezo_agent.parsing import extract_price_details
5
4
 
6
5
  @tool
@@ -10,7 +9,9 @@ def mezo_agent_token_price_tool(price_prompt: str) -> str:
10
9
 
11
10
  :param price_prompt: User query containing the token symbol.
12
11
  :return: Token price details.
12
+
13
13
  """
14
+ from mezo_agent.utils import get_token_price
14
15
  details = extract_price_details(price_prompt)
15
16
 
16
17
  if isinstance(details, str): # Handle extraction errors
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="mezoAgent",
5
- version="0.6.0",
5
+ version="0.6.1",
6
6
  packages=find_packages(),
7
7
  include_package_data=True,
8
8
  package_data={
File without changes
File without changes
File without changes
File without changes
File without changes