mezoAgent 0.4.1__py3-none-any.whl → 0.4.2__py3-none-any.whl

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.4.1
3
+ Version: 0.4.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,12 +1,12 @@
1
- mezo_agent/__init__.py,sha256=oEwpcPW0qJQBHFfDeh8D7YjYlWT7wFs4Trcz_69oivc,444
1
+ mezo_agent/__init__.py,sha256=PRFZfcq8B68pQI2toci1ACM_SPcu7suy9D3OD8IvZeI,450
2
2
  mezo_agent/characters.py,sha256=wub7y9BrAAdAKWwcNAdgrvhRi2zHMaZNzTr2y3qtbsw,515
3
- mezo_agent/chat.py,sha256=alSO4eObk2gYMKWFM-UAMxOXwg9o-tqCj5ColjkmGIs,849
3
+ mezo_agent/chat.py,sha256=ZtNurUDV7UzJjbFyU96DNGy37hO3gl0osn19mRu7ER8,859
4
4
  mezo_agent/config.py,sha256=1PWeaHdQPKqKPraE-tM81CwRKeBiCbz5C_8iZTEiCgo,2148
5
5
  mezo_agent/parsing.py,sha256=rolPVE8r_RS6BqKe25r1nyZQ47rvTPG2Hv09Kxxfv4c,2821
6
6
  mezo_agent/swap_musd_btc.py,sha256=Co-XcfK73spm94VC6qzGY0VYoGwsMDKKHM8ToGh2JxU,4289
7
7
  mezo_agent/transaction.py,sha256=YpfWrkEaf0YGM_Kc4cFwlT9GmBGZkeJHWm0VGHs9Gks,4199
8
8
  mezo_agent/data/new_router.json,sha256=A8U-NVfe1F-hDyR90_SuH8jDAxmzyyHWdJW62j9TZsc,26756
9
- mezoAgent-0.4.1.dist-info/METADATA,sha256=LC-Mz5COIH_wonlkqB-GX8PxRxfc7iLiHOxni46LZoQ,273
10
- mezoAgent-0.4.1.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
11
- mezoAgent-0.4.1.dist-info/top_level.txt,sha256=rrAci_NyTR9z6w_BrQhQrAhzMW_A0NYhVa0x2USl0nQ,11
12
- mezoAgent-0.4.1.dist-info/RECORD,,
9
+ mezoAgent-0.4.2.dist-info/METADATA,sha256=YEbcKgTvvW13zDdNJKRz47odDmCOX73-Bl_KTa3Qn_k,273
10
+ mezoAgent-0.4.2.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
11
+ mezoAgent-0.4.2.dist-info/top_level.txt,sha256=rrAci_NyTR9z6w_BrQhQrAhzMW_A0NYhVa0x2USl0nQ,11
12
+ mezoAgent-0.4.2.dist-info/RECORD,,
mezo_agent/__init__.py CHANGED
@@ -1,12 +1,12 @@
1
1
  from .transaction import mezo_agent_transaction_btc, mezo_agent_musd_transaction
2
2
  from .swap_musd_btc import mezo_agent_swap_musd_btc
3
- from .chat import mezo_chat, mezo_agent_chat_tool
3
+ from .chat import mezo_character_chat # Corrected function name
4
4
  from .characters import get_character_prompt
5
5
 
6
6
  __all__ = [
7
7
  "mezo_agent_transaction_btc",
8
8
  "mezo_agent_musd_transaction",
9
9
  "mezo_agent_swap_musd_btc",
10
- "mezo_agent_chat", # Updated function name from mezo_chat
10
+ "mezo_character_chat", # Corrected function name
11
11
  "get_character_prompt"
12
12
  ]
mezo_agent/chat.py CHANGED
@@ -7,7 +7,7 @@ from .config import OPENAI_API_KEY
7
7
  llm = ChatOpenAI(temperature=0, openai_api_key=OPENAI_API_KEY)
8
8
 
9
9
  @tool
10
- def mezo_chat(prompt: str, character: str = "DigAIJoe") -> str:
10
+ def mezo_character_chat(prompt: str, character: str = "DigAIJoe") -> str:
11
11
  """
12
12
  Generates a chatbot response based on the user's input and the selected AI character.
13
13