New features:
**Layla supports local image generation via Stable Diffusion!**
- configurable prompt/negative prompt, step number, and guidance scale
- ability to connect to your local instance of Automatic1111/stable-diffusion-webui on your PC
- Layla Cloud supports image generation
_Characters can now generate images during chat!_
- added new settings in character creation which allows you to set per character image generation settings
- configurable fallback phrases to force your character to send you an image
- quick message action to generate an image using the contents of a particular chat message
**Model Benchmarks app - benchmark your local LLMs on your phone**
- run inference on local LLMs, store tps, ram usage, cpu usage, etc. in a table
- generate report with hardware info and benchmark results
**AI Character Creation**
- generate characters by inputting keywords or vague descriptions
- LLM will generate the character description and personality for you
- generate images for your character using Layla Stable Diffusion
**Long term Memory**
- re-wrote Long-term memory with significant algorithmic improvements
- employs a 3 stage retrieval algorithm to increase recall precision dramatically
- LTM now supports "temporal recall" (you can mention something like *"that conversation we had 3 months ago"*, your characters will be able to pinpoint the conversation summary at that time, if any)
- memories are now strengthened over time, earlier memories are now less likely to be returned, however, frequently recalled memories will offset this
**Welcome Screen redesign**
- Layla v5 comes with a completely new on-boarding experience
- Choose from 6 different uses for your on-device AI:
- Basic - LLM only, fast, clean, no-frills
- Assistant - professional, tool-calling, good at general knowledge
- Friend - empathetic, casual, with long-term memory
- Roleplay - multi-characters, Lorebooks, character creation
- Image Generation - on device image generation with stable diffusion, AI powered character creation
- Cloud - access to a wide variety of powerful cloud models, limited privacy
- Expert - bring your own models, enable/disable features of your own choosing
Improvements:
- all mini-apps can now be downloaded in the background
- added configurable Lorebook injection prefix and suffix
- redesigned Personality Hub, Character Selection screens
- added ability to load GGUF models from external SD card
- added advanced setting "max response length"
- added import/export chat history feature
- added UI settings for character text colour
- added ability to select multiple messages in chat
- selecting the "Default" preset now resets all important settings in the Advanced Settings to their defaults (not just sampler settings)
- added setting to toggle whether to "tap and hold message to copy"
- redesigned character tag filtering in Character Selection and Personality Hub
- added ability to share debug logs of individual chats
- added a special "Cloud" prompt format
Bug fixes:
- fixed bug where greeting was not being imported from TavernPNG
- fixed bug where sometimes cloud models do not respond with anything
- fixed bug where regen was removing an extra token, causing the regenerated response to be unpredictable
- fixed a bug where a chat was "locked" into tool calling mode after the first tool call