summaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorSho Sakuma <me@m1sk9.dev>2026-08-05 03:45:52 +0900
committerSho Sakuma <me@m1sk9.dev>2026-08-05 03:45:52 +0900
commit2223cf96de63f57cf076b30e8d758c8fc5899d4e (patch)
tree6bdd25a541a730d3c7ed5cc5719c1143864ffe3a /engine
parente25bfe0e39771ceac287f93a235aa5954a154236 (diff)
downloadLunaticChat-2223cf96de63f57cf076b30e8d758c8fc5899d4e.tar.gz
LunaticChat-2223cf96de63f57cf076b30e8d758c8fc5899d4e.tar.bz2
LunaticChat-2223cf96de63f57cf076b30e8d758c8fc5899d4e.zip
fix: stop a slow reply from pinning a word to hiragana
Making a conversion timeout an ordinary exception put it in the same arm as a hard API failure, where caching the hiragana fallback is deliberate - so one slow reply recorded the unconverted form and that word rendered as hiragana for the life of the cache. A timeout says the request was slow, not that the word has no conversion, so it now returns the fallback without caching it and the next message asks again. The retry test builds its own remembering cache: the shared fixture's get() always returns null, so against it the API is called every time and the test would have passed even with the timeout cached. Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'engine')
0 files changed, 0 insertions, 0 deletions