Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/openui-cloud/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ cp .env.example .env.local # then fill THESYS_API_KEY
| Var | Required | Default | Purpose |
| ---------------- | -------- | ----------------------------- | ---------------------------------------------------------------- |
| `THESYS_API_KEY` | yes | — | Org master key. **Server-side only**; never reaches the browser. |
| `OPENUI_MODEL` | no | `anthropic/claude-sonnet-4.6` | Bare `provider/model` id for generation. |
| `OPENUI_MODEL` | no | `google/gemini-3.6-flash-free` | Bare `provider/model` id for generation. |
| `DEMO_USER_ID` | no | `demo-user` | End-user identity stamped into the frontend token. |

`.env.local` is gitignored. Restart `pnpm dev` after editing env.
Expand Down
2 changes: 1 addition & 1 deletion examples/openui-cloud/src/app/api/chat/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export async function POST(req: Request) {
try {
stream = (await client.responses.create(
{
model: envOr("OPENUI_MODEL", "anthropic/claude-sonnet-4.6"),
model: envOr("OPENUI_MODEL", "google/gemini-3.6-flash-free"),
conversation: threadId, // store:true persists to the conversation
input,
stream: true,
Expand Down
2 changes: 1 addition & 1 deletion packages/openui-cli/src/templates/openui-cloud/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ list](https://models.dev/providers/openrouter/).
To set the initial server fallback, add `OPENUI_MODEL` to your `.env` file:

```bash
OPENUI_MODEL=google/gemini-3.1-pro-free
OPENUI_MODEL=google/gemini-3.6-flash-free
```

## SDK packages
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const DEFAULT_MODEL = "google/gemini-3.5-flash-free";
export const DEFAULT_MODEL = "google/gemini-3.6-flash-free";

export interface ModelOption {
id: string;
Expand All @@ -15,6 +15,13 @@ export const MODEL_OPTIONS: ModelOption[] = [
name: "Gemini 3.1 Flash Lite",
badge: "Free",
},
{
provider: "Google",
id: "google/gemini-3.6-flash-free",
name: "Gemini 3.6 Flash",
badge: "Free",
},
{ provider: "Google", id: "google/gemini-3.6-flash", name: "Gemini 3.6 Flash" },
{
provider: "Google",
id: "google/gemini-3.5-flash-free",
Expand Down
Loading