Commit Graph

14 Commits

Author SHA1 Message Date
Will Chen
72acb31d59 More free models (#1244)
<!-- This is an auto-generated description by cubic. -->

## Summary by cubic
Adds support for free OpenRouter models and a new “Free (OpenRouter)”
auto option that fails over across free models for reliability. Improves
setup flow and UI with provider cards, a “Free” price badge, and an
OpenRouter setup prompt in chat.

- **New Features**
- Added OpenRouter free models: Qwen3 Coder (free), DeepSeek v3 (free),
DeepSeek v3.1 (free), marked with dollarSigns=0 and a “Free” badge.
- New auto model: “Free (OpenRouter)” that uses a fallback client to
cycle through free models with smart retry on transient errors.
- New SetupProviderCard component and updated SetupBanner with dedicated
Google and OpenRouter setup cards.
- Chat shows an OpenRouter setup prompt when “Free (OpenRouter)” is
selected and OpenRouter isn’t configured.
- New PriceBadge component in ModelPicker to display “Free” or price
tier.
- E2E: added setup flow test and option to show the setup screen in
tests.
- Model updates: added DeepSeek v3.1, updated Kimi K2 to kimi-k2-0905,
migrated providers to LanguageModelV2.

<!-- End of auto-generated description by cubic. -->
2025-09-10 14:20:17 -07:00
Will Chen
7150082f5a Add OpenRouter to setup banner (#1242)
<!-- This is an auto-generated description by cubic. -->

## Summary by cubic
Added OpenRouter as a first-class option in the setup banner and
introduced a reusable provider card component. This streamlines provider
selection and adds E2E coverage for the setup flow.

- **New Features**
- Added SetupProviderCard and used it for Google and OpenRouter in
SetupBanner.
- Clicking Google or OpenRouter routes to the correct provider settings
and logs PostHog events.
  - Kept “Other providers” link to Settings.
- Added setup.spec.ts E2E test to verify Google, OpenRouter, and Other
navigation; introduced test config flag showSetupScreen to control the
OPENAI_API_KEY shortcut.

<!-- End of auto-generated description by cubic. -->
2025-09-10 13:00:31 -07:00
Will Chen
cd7eaa8ece Prep for custom models: support reading custom providers (#131) 2025-05-12 14:52:48 -07:00
Will Chen
0d56651220 Run prettier on everything (#104) 2025-05-06 23:02:28 -07:00
Will Chen
a7b3e66499 Make node.js setup have a more explicit error state 2025-04-23 13:25:13 -07:00
Will Chen
50de3baa10 Make pnpm optional for setup flow 2025-04-21 15:01:34 -07:00
Will Chen
187aab7682 Add node.js help callout 2025-04-21 14:56:57 -07:00
Will Chen
531cf23615 Make it clear there's other AI provider options in setup 2025-04-21 14:46:25 -07:00
Will Chen
16d5320485 Enable opt-in telemetry 2025-04-21 12:49:54 -07:00
Will Chen
cc0ab0fd56 Reload env path instead of restarting dyad app after node.js install 2025-04-18 10:11:59 -07:00
Will Chen
f2b157b8bc Simplified setup flow: user installs node.js; pnpm is configured 2025-04-17 23:05:44 -07:00
Will Chen
e1911162e3 Use pnpm and more clean-up of sandbox mode 2025-04-17 17:33:09 -07:00
Will Chen
24c1be224b Remove runtime mode selection & have unified setup flow for node.js + API access 2025-04-17 16:52:20 -07:00
Will Chen
43f67e0739 Initial open-source release 2025-04-11 09:38:16 -07:00