mezoAgent 0.5.1__tar.gz → 0.5.2__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.5.1
3
+ Version: 0.5.2
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.5.1
3
+ Version: 0.5.2
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
@@ -85,15 +85,10 @@ Your output must be a valid JSON object with no additional text.
85
85
  )
86
86
 
87
87
  def extract_balance_details(prompt: str):
88
- """
89
- Parses a balance query and extracts the token symbol.
90
-
91
- :param prompt: User input asking for a token balance.
92
- :return: Dictionary containing the token symbol or an error message.
93
- """
88
+ formatted_prompt = balance_prompt_template.format(input=prompt)
89
+ response = llm.invoke(formatted_prompt)
90
+ print("LLM raw balance response:", response.content)
94
91
  try:
95
- formatted_prompt = balance_prompt_template.format(input=prompt)
96
- response = balance_output_parser.parse(formatted_prompt)
97
- return response
92
+ return balance_output_parser.parse(response.content)
98
93
  except Exception as e:
99
- return f"Failed to extract balance details: {str(e)}"
94
+ return f"Failed to extract balance details: {str(e)}"
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="mezoAgent",
5
- version="0.5.1",
5
+ version="0.5.2",
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