報せNews
2026-09-07 報 release. 7 September 2026
/v1/detect covers 169 languages in kotoshu-server 0.1.2
Detection prefers the lid-176 model through the gem 0.10.0 native path, and the engine field reports which detector served the answer.
- POST /v1/detect returns { language, confidence, engine }: lid-176 (176 languages, lazy model setup on first request) when kotoshu >= 0.10.0 and the native extension can load the model; heuristic (the 7-language fallback) otherwise - old gems, KOTOSHU_BACKEND=ruby, offline setup failures, or KOTOSHU_DETECT=heuristic. Setup failures log once and degrade; never a 5xx.
- The release also fixes a pre-existing failing build on main, where App::VERSION had drifted from the release-workflow bumps, and documents the engine field in the README and the OpenAPI schema.
see also kotoshu-server on RubyGems server PR #6