chore: change DECTalk port to 33001, Morshu port to 33002, add AI context file

This commit is contained in:
2026-06-09 10:47:06 -05:00
parent ee3c452670
commit f13b88ab82
10 changed files with 88 additions and 36 deletions
+3 -3
View File
@@ -344,7 +344,7 @@ class TtsToy(Cog):
sfx_volume=100,
tts_mode="minimax",
chatterbox_api_url=CHATTERBOX_DEFAULT_URL,
dectalk_api_url=f"http://127.0.0.1:3001",
dectalk_api_url=f"http://127.0.0.1:33001",
dectalk_auto_start=True,
accessibility_mode=False,
vox_pack="vox",
@@ -688,7 +688,7 @@ class TtsToy(Cog):
text: Text to synthesize
audio_path: Output file path
"""
morshu_url = "http://127.0.0.1:3002"
morshu_url = "http://127.0.0.1:33002"
try:
r = requests.get(f"{morshu_url}/say", params={"text": text}, timeout=60)
r.raise_for_status()
@@ -1970,7 +1970,7 @@ class TtsToy(Cog):
Show or set DECTalk API URL.
- `[p]ttstoy dectalkurl` → show current URL
- `[p]ttstoy dectalkurl http://127.0.0.1:3001` → set URL
- `[p]ttstoy dectalkurl http://127.0.0.1:33001` → set URL
"""
if url is None:
current = await self._get_dectalk_api_url()