Align harness repo with verified live state; retire model-version names from the client surface #2
@@ -299,8 +299,11 @@ def _send_zulip_dm(msg):
|
||||
"""Send a DM to the owner via Zulip."""
|
||||
try:
|
||||
site = "https://chat.sysloggh.net"
|
||||
email = "abiba-bot@chat.sysloggh.net"
|
||||
key = "cKTDMZAPW08dk3zl05sStzO7HRztzyn8"
|
||||
email = os.environ.get("ABIBA_ZULIP_EMAIL", "abiba-bot@chat.sysloggh.net")
|
||||
key = os.environ.get("ZULIP_API_KEY", "")
|
||||
if not key:
|
||||
print("[alert] ZULIP_API_KEY unset — DM suppressed")
|
||||
return
|
||||
owner = 9
|
||||
auth_b64 = base64.b64encode(f"{email}:{key}".encode()).decode()
|
||||
data = urllib.parse.urlencode({"type": "private", "to": f"[{owner}]", "content": msg}).encode()
|
||||
|
||||
Reference in New Issue
Block a user