Skip to content

Commit 096e1f1

Browse files
committed
Add Support for Gemini Nano Banana 2, optimized gallery thumbnails, and reset configuration
1 parent 8326381 commit 096e1f1

7 files changed

Lines changed: 82 additions & 4 deletions

File tree

app/(home)/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ export default function HomePage() {
6464
</a>
6565
</div>
6666
<p className="text-sm text-muted-foreground">
67-
<span className="text-slate-400 dark:text-slate-500">Feb 25, 2026</span>
67+
<span className="text-slate-400 dark:text-slate-500">Feb 27, 2026</span>
6868
{' - '}
6969
<Link href="/docs/latest" className="text-blue-600 dark:text-blue-400 hover:underline">
70-
New Beautiful Dark and Light Themes
70+
Support for Gemini Nano Banana 2, optimized gallery thumbnails, and more →
7171
</Link>
7272
</p>
7373

content/docs/configuration/index.mdx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,22 @@ The main configuration file is `~/.llms/llms.json`. It's automatically created o
99

1010
This creates `~/.llms/llms.json` with the latest default configuration.
1111

12+
### Reset Configuration
13+
14+
Use the `--reset` option to reset the default configuration files back to its factory defaults. This is useful for reverting corrupted configurations or to apply the latest default configuration after updates.
15+
16+
Available reset options:
17+
18+
* **config** - Reset ~/.llms/llms.json to default
19+
* **providers** - Reset ~/.llms/providers.json and ~/.llms/providers-extra.json
20+
* **all** - Reset all configuration
21+
22+
```bash
23+
llms --reset providers
24+
```
25+
26+
Resets [~/.llms/providers.json](https://raw.githubusercontent.com/ServiceStack/llms/refs/heads/main/llms/providers.json) and [~/.llms/providers-extra.json](https://raw.githubusercontent.com/ServiceStack/llms/refs/heads/main/llms/providers-extra.json) by downloading latest the defaults from the official repository, and automatically fetches provider updates.
27+
1228
### Configuration Structure
1329

1430
```json

content/docs/getting-started/index.mdx

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ To update to the latest version:
5757

5858
<ShellCommand>pip install llms-py --upgrade</ShellCommand>
5959

60+
After upgrading, it's recommended to also upgrade any external extensions:
61+
62+
<ShellCommand>llms --update all</ShellCommand>
63+
6064
For Docker:
6165

6266
<ShellCommand>docker pull ghcr.io/servicestack/llms:latest</ShellCommand>
@@ -65,8 +69,16 @@ For Docker:
6569

6670
New versions sometimes include changes to `llms.json` config which isn't automatically updated.
6771

68-
To reset to the latest configuration just delete your `llms.json` and it will be recreated with the latest defaults on next run:
72+
Use the `--reset` option to reset the default configuration files back to its factory defaults. Available reset options (config, providers, all):
73+
74+
**config** - Reset [~/.llms/llms.json](https://github.com/ServiceStack/llms/blob/main/llms/llms.json) to default
75+
76+
```bash
77+
llms --reset config
78+
```
79+
80+
**providers** - Reset [~/.llms/providers.json](https://raw.githubusercontent.com/ServiceStack/llms/refs/heads/main/llms/providers.json) and [~/.llms/providers-extra.json](https://raw.githubusercontent.com/ServiceStack/llms/refs/heads/main/llms/providers-extra.json)
6981

7082
```bash
71-
rm ~/.llms/llms.json
83+
llms --reset providers
7284
```

content/docs/latest.mdx

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,53 @@ title: Latest Features
33
description: Latest features and updates in llms.py
44
---
55

6+
Get the latest features by [updating to the latest version](/docs/getting-started#updating):
7+
8+
<ShellCommand>pip install llms-py --upgrade</ShellCommand>
9+
10+
After upgrading, it's recommended to also upgrade any external extensions:
11+
12+
<ShellCommand>llms --update all</ShellCommand>
13+
14+
15+
## Feb 27, 2026
16+
17+
### Nano Banana 2
18+
19+
Added Google's latest **Gemini Nano Banana 2** model, available from both the **Google** and **OpenRouter** providers. The Google/Gemini provider supports multiple chat history in conversations, while OpenRouter sends a fresh chat request for each message.
20+
21+
You can find it in the model selector by selecting **Image** output filter and searching for **"Nano Banana 2"**.
22+
23+
<Screenshot src="/img/latest/nano-banana2.webp" />
24+
25+
To get the latest model info with **Nano Banana 2**, reset your providers configuration:
26+
27+
<ShellCommand>llms --reset providers</ShellCommand>
28+
29+
### Optimized Gallery Thumbnails
30+
31+
Gallery pages now use optimized thumbnails instead of full-size images. Detail images that increasingly approach over 2MB are now served as thumbnails under 10KB, delivering a noticeable performance improvement when scrolling through the infinite scrolling gallery pages.
32+
33+
<Screenshot src="/img/latest/gallery-thumbnails.webp" />
34+
35+
### Reset to latest configuration
36+
37+
New versions sometimes include changes to `llms.json` config which isn't automatically updated.
38+
39+
Use the `--reset` option to reset the default configuration files back to its factory defaults. Available reset options (config, providers, all):
40+
41+
**config** - Reset [~/.llms/llms.json](https://github.com/ServiceStack/llms/blob/main/llms/llms.json) to default
42+
43+
```bash
44+
llms --reset config
45+
```
46+
47+
**providers** - Reset [~/.llms/providers.json](https://raw.githubusercontent.com/ServiceStack/llms/refs/heads/main/llms/providers.json) and [~/.llms/providers-extra.json](https://raw.githubusercontent.com/ServiceStack/llms/refs/heads/main/llms/providers-extra.json)
48+
49+
```bash
50+
llms --reset providers
51+
```
52+
653
## Feb 25, 2026
754

855
### New Theme Support

content/docs/v3.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -955,6 +955,9 @@ See [CLI Docs](/docs/features/cli) for more details.
955955
# Update llms to v3
956956
pip install llms-py --upgrade
957957

958+
# Upgrade any external extensions
959+
llms --update all
960+
958961
# Start the server
959962
llms --serve 8000
960963
```
339 KB
Loading
60.6 KB
Loading

0 commit comments

Comments
 (0)