d31988c95 (the Mac title bar at first show) also carried, unnamed, the
reverse of 1648fcfe2 and 95eab9a66: withMistralCacheKey and isMistral
were taken out of gateway.go, mistral_cache_key_test.go was deleted,
and TestOwnCacheKey lost its two Mistral rows. Its body names only the
title bar. So Mistral users lost the cache key daoche_wuzui asked for
(poor cache hits on X) with no commit saying so.
This restores those four gateway files to what 95eab9a66 left; the
title bar change (internal/gui) is kept as it is.
Run (mica): gofmt clean; go vet ./internal/gateway on darwin,
GOOS=windows and GOOS=linux -tags nogui ok; go test -run
'Mistral|OwnCacheKey|CacheKey|DesktopProbe|PromptCache' ./internal/gateway ok.
Not tried: the full suite, a real Mistral key.