This commit is contained in:
EgorAnti
2026-11-19 10:57:39 +03:00
parent 75d2f78913
commit a4d58b2eec
26 changed files with 1141 additions and 96 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ def main():
barrier.wait(timeout=30)
path = (f"/api/v1/chats/{chat['id']}/attachments"
f"?filename=memory-{index}.png")
return client.call('POST', path, 201, actor=alice, raw=payload,
return client.call('POST', path, 202, actor=alice, raw=payload,
headers={'Content-Type': 'image/png'}, schema='Attachment')['json']['id']
monitor_thread = threading.Thread(target=monitor, daemon=True)