SyniRuntime constructor
SyniRuntime({
- bool sessionCache = true,
sessionCache: keep the prefilled prompt prefix on disk, in the app's
cache directory (syni_kv/), so the first turn after a cold start does
not re-read it. On a slow phone that prefix is most of the time to first
token. Files are a few MB to ~60 MB, and the OS may evict them.
Implementation
SyniRuntime({this.sessionCache = true});