mezoAgent 0.8.1__tar.gz → 0.8.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. {mezoagent-0.8.1 → mezoagent-0.8.2}/PKG-INFO +1 -1
  2. {mezoagent-0.8.1 → mezoagent-0.8.2}/mezoAgent.egg-info/PKG-INFO +1 -1
  3. {mezoagent-0.8.1 → mezoagent-0.8.2}/mezo_agent/safe_mode_btc_tool.py +3 -1
  4. {mezoagent-0.8.1 → mezoagent-0.8.2}/setup.py +1 -1
  5. {mezoagent-0.8.1 → mezoagent-0.8.2}/MANIFEST.in +0 -0
  6. {mezoagent-0.8.1 → mezoagent-0.8.2}/README.md +0 -0
  7. {mezoagent-0.8.1 → mezoagent-0.8.2}/mezoAgent.egg-info/SOURCES.txt +0 -0
  8. {mezoagent-0.8.1 → mezoagent-0.8.2}/mezoAgent.egg-info/dependency_links.txt +0 -0
  9. {mezoagent-0.8.1 → mezoagent-0.8.2}/mezoAgent.egg-info/requires.txt +0 -0
  10. {mezoagent-0.8.1 → mezoagent-0.8.2}/mezoAgent.egg-info/top_level.txt +0 -0
  11. {mezoagent-0.8.1 → mezoagent-0.8.2}/mezo_agent/__init__.py +0 -0
  12. {mezoagent-0.8.1 → mezoagent-0.8.2}/mezo_agent/characters.py +0 -0
  13. {mezoagent-0.8.1 → mezoagent-0.8.2}/mezo_agent/chat.py +0 -0
  14. {mezoagent-0.8.1 → mezoagent-0.8.2}/mezo_agent/config.py +0 -0
  15. {mezoagent-0.8.1 → mezoagent-0.8.2}/mezo_agent/data/new_router.json +0 -0
  16. {mezoagent-0.8.1 → mezoagent-0.8.2}/mezo_agent/parsing.py +0 -0
  17. {mezoagent-0.8.1 → mezoagent-0.8.2}/mezo_agent/swap_musd_btc.py +0 -0
  18. {mezoagent-0.8.1 → mezoagent-0.8.2}/mezo_agent/token_balance_tool.py +0 -0
  19. {mezoagent-0.8.1 → mezoagent-0.8.2}/mezo_agent/token_price_tool.py +0 -0
  20. {mezoagent-0.8.1 → mezoagent-0.8.2}/mezo_agent/token_utils.py +0 -0
  21. {mezoagent-0.8.1 → mezoagent-0.8.2}/mezo_agent/transaction.py +0 -0
  22. {mezoagent-0.8.1 → mezoagent-0.8.2}/mezo_agent/twitter_client.py +0 -0
  23. {mezoagent-0.8.1 → mezoagent-0.8.2}/mezo_agent/twitter_manager.py +0 -0
  24. {mezoagent-0.8.1 → mezoagent-0.8.2}/mezo_agent/utils.py +0 -0
  25. {mezoagent-0.8.1 → mezoagent-0.8.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mezoAgent
3
- Version: 0.8.1
3
+ Version: 0.8.2
4
4
  Summary: A Python package for Mezo Agent tools 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.8.1
3
+ Version: 0.8.2
4
4
  Summary: A Python package for Mezo Agent tools with LangChain tools
5
5
  Author: Dreadwulf, Duck, Digi
6
6
  Requires-Dist: python-dotenv
@@ -3,7 +3,8 @@ from web3.exceptions import Web3Exception
3
3
  import json
4
4
  from mezo_agent.config import web3_instance, sender_address, account
5
5
  from mezo_agent.parsing import extract_transaction_details
6
- from mezo_agent.utils import llm # If you store your ChatOpenAI instance in utils.py
6
+ from langchain_openai import ChatOpenAI
7
+ from .config import OPENAI_API_KEY
7
8
 
8
9
  @tool
9
10
  def mezo_agent_safe_mode_btc_transaction(prompt: str, confirm_before_sending: bool = True) -> str:
@@ -61,6 +62,7 @@ Explain these details in a user-friendly way, covering:
61
62
 
62
63
  Use a concise and helpful tone.
63
64
  """
65
+ llm = ChatOpenAI(temperature=0, openai_api_key=OPENAI_API_KEY)
64
66
  analysis_response = llm.invoke(analysis_prompt)
65
67
  explanation_text = analysis_response.content if analysis_response else "❌ LLM explanation unavailable."
66
68
 
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="mezoAgent",
5
- version="0.8.1",
5
+ version="0.8.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