mezoAgent 0.4.1__py3-none-any.whl → 0.4.2__py3-none-any.whl
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.
- {mezoAgent-0.4.1.dist-info → mezoAgent-0.4.2.dist-info}/METADATA +1 -1
- {mezoAgent-0.4.1.dist-info → mezoAgent-0.4.2.dist-info}/RECORD +6 -6
- mezo_agent/__init__.py +2 -2
- mezo_agent/chat.py +1 -1
- {mezoAgent-0.4.1.dist-info → mezoAgent-0.4.2.dist-info}/WHEEL +0 -0
- {mezoAgent-0.4.1.dist-info → mezoAgent-0.4.2.dist-info}/top_level.txt +0 -0
@@ -1,12 +1,12 @@
|
|
1
|
-
mezo_agent/__init__.py,sha256=
|
1
|
+
mezo_agent/__init__.py,sha256=PRFZfcq8B68pQI2toci1ACM_SPcu7suy9D3OD8IvZeI,450
|
2
2
|
mezo_agent/characters.py,sha256=wub7y9BrAAdAKWwcNAdgrvhRi2zHMaZNzTr2y3qtbsw,515
|
3
|
-
mezo_agent/chat.py,sha256=
|
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.
|
10
|
-
mezoAgent-0.4.
|
11
|
-
mezoAgent-0.4.
|
12
|
-
mezoAgent-0.4.
|
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
|
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
|
-
"
|
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
|
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
|
|
File without changes
|
File without changes
|