You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Return English error messages from the HTTP adapter (adapters/http/server.py) #65
The HTTP adapter returns Turkish error messages to API clients (e.g. {"error": "önce POST /screenshot"}, BadRequest("gövde geçerli JSON değil: …")). Remote agents and their users mostly read English, and the README documents the API in English.
Verified locations (master37b7e77)
adapters/http/server.py:103-124: _finite_float / _strict_int messages (sayı olmalı (bool değil), sonlu bir sayı olmalı, tam sayı olmalı…)
adapters/http/server.py:162-167: batch validation ('steps' boş olmayan nesne listesi olmalı, geçersiz 'method')
adapters/http/server.py:337-347: body parsing (Content-Length sayı değil, gövde çok büyük, gövde geçerli JSON değil, gövde bir JSON nesnesi olmalı)
adapters/http/server.py:356-399: self._send(4xx/5xx, {"error": …}) responses (tarayıcıdan erişim kapalı, önce POST /screenshot, bulunamadı, bu makinede mevcut değil…)
tests/test_http.py:98: asserts "büyük" in e.get("error", "")
Acceptance criteria
All error strings returned to HTTP clients (the BadRequest(...) messages and the "error" values above) are in English, and they keep the same meaning and the same field names.
HTTP status codes and response shapes do not change.
Tests that match on message text are updated (at least tests/test_http.py:98); python tests/test_http.py and python tests/test_http_server_edges.py pass.
Code comments and the module docstring are out of scope.
Activity
fix(http): return English error messages from HTTP adapter