mezoAgent 0.4.1__tar.gz → 0.4.2__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {mezoagent-0.4.1 → mezoagent-0.4.2}/PKG-INFO +1 -1
- {mezoagent-0.4.1 → mezoagent-0.4.2}/mezoAgent.egg-info/PKG-INFO +1 -1
- {mezoagent-0.4.1 → mezoagent-0.4.2}/mezo_agent/__init__.py +2 -2
- {mezoagent-0.4.1 → mezoagent-0.4.2}/mezo_agent/chat.py +1 -1
- {mezoagent-0.4.1 → mezoagent-0.4.2}/setup.py +1 -1
- {mezoagent-0.4.1 → mezoagent-0.4.2}/MANIFEST.in +0 -0
- {mezoagent-0.4.1 → mezoagent-0.4.2}/README.md +0 -0
- {mezoagent-0.4.1 → mezoagent-0.4.2}/mezoAgent.egg-info/SOURCES.txt +0 -0
- {mezoagent-0.4.1 → mezoagent-0.4.2}/mezoAgent.egg-info/dependency_links.txt +0 -0
- {mezoagent-0.4.1 → mezoagent-0.4.2}/mezoAgent.egg-info/requires.txt +0 -0
- {mezoagent-0.4.1 → mezoagent-0.4.2}/mezoAgent.egg-info/top_level.txt +0 -0
- {mezoagent-0.4.1 → mezoagent-0.4.2}/mezo_agent/characters.py +0 -0
- {mezoagent-0.4.1 → mezoagent-0.4.2}/mezo_agent/config.py +0 -0
- {mezoagent-0.4.1 → mezoagent-0.4.2}/mezo_agent/data/new_router.json +0 -0
- {mezoagent-0.4.1 → mezoagent-0.4.2}/mezo_agent/parsing.py +0 -0
- {mezoagent-0.4.1 → mezoagent-0.4.2}/mezo_agent/swap_musd_btc.py +0 -0
- {mezoagent-0.4.1 → mezoagent-0.4.2}/mezo_agent/transaction.py +0 -0
- {mezoagent-0.4.1 → mezoagent-0.4.2}/setup.cfg +0 -0
@@ -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
|
]
|
@@ -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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|