Skip to content

Commit a1f08cd

Browse files
committed
feat: add Qwen 3.6 Plus Preview (free) via OpenRouter
- Added openrouter-qwen-36plus model entry to ai-models.js - Model ID: qwen/qwen3.6-plus-preview:free (Alibaba, free tier) - Reuses ai-worker-openrouter.js and shared OpenRouter API key - Appears in model selector as 'Qwen 3.6 Plus Preview · Alibaba · Free'
1 parent 9a59f94 commit a1f08cd

3 files changed

Lines changed: 47 additions & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,7 @@ TextAgent has undergone significant evolution since its inception. What started
544544

545545
| Date | Commits | Feature / Update |
546546
|------|---------|-----------------:|
547+
| **2026-03-31** | | 🤖 **Qwen 3.6 Plus Preview via OpenRouter** — added `qwen/qwen3.6-plus-preview:free` (Alibaba) as a new free cloud model; appears in the model selector as "Qwen 3.6 Plus Preview · Alibaba · Free · via OpenRouter"; reuses existing `ai-worker-openrouter.js` and shared OpenRouter API key |
547548
| **2026-03-31** | | 🎥 **RecStudio Teleprompter & Light Mode Fix** — fixed teleprompter textarea not expanding to fill panel height (changed container `overflow: auto``hidden`, set textarea `height: 100%` with `min-height: 0`); reduced text padding for maximum usable area; fixed "Share screen" button rendering as solid black block in light/day mode (added `background: #fff` override) |
548549
| **2026-03-30** | | 🎥 **RecStudio — Screen & Camera Recorder** — new full-screen recording overlay with 4 capture modes (Screen only, Screen + Camera, Camera only, Whiteboard); Canvas-based compositing at 1920×1080 / 60fps via requestAnimationFrame; interactive teleprompter panel (draggable via header + touch, resizable via CSS handle, font size controls A−/A+ 10–48px, scroll speed ◁/▷ 0.5x–5x, play/pause auto-scroll, 3-level transparency toggle with dark text + white glow shadow for readability on any background); whiteboard with 7 tools (Pen, Highlighter, Eraser, Line, Rectangle, Ellipse, Text), 10 color presets, 3 stroke widths, undo/redo; PiP webcam with shape selector (Circle/Square/Full/Off); mic and camera device selection dropdowns; countdown timer; recording timer HH:MM:SS; post-recording review screen with video playback + WebM download; SVG line-art icon system; 4 footer controls (Teleprompter, Shape, Mic, Camera) with dropdown menus; zero-chrome idle state; `rec-studio.js` (~1170 lines) + `rec-studio.css` (~750 lines) |
549550
| **2026-03-30** | | 📲 **PWA Install UX** — redesigned install flow with always-visible gradient pill button (pulse animation), polished install modal (app icon, description, Install/Skip), early `beforeinstallprompt` capture in `<head>` script to prevent timing race, browser-aware fallback instructions (iOS: Share → Add to Home Screen, Safari: File → Add to Dock), mobile hamburger menu "Install App" button, auto-hide when running in standalone PWA mode |
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Qwen 3.6 Plus Preview — Add OpenRouter Free Model
2+
3+
- Added `qwen/qwen3.6-plus-preview:free` as a new cloud model (`openrouter-qwen-36plus`) via OpenRouter
4+
- Model appears in the AI model dropdown as "Qwen 3.6 Plus Preview" with "Alibaba · Free · via OpenRouter" description
5+
- Uses the existing `ai-worker-openrouter.js` and shares the OpenRouter API key
6+
7+
---
8+
9+
## Summary
10+
Adds Qwen 3.6 Plus Preview (free tier) from Alibaba via OpenRouter as a selectable AI model in TextAgent, grouped alongside the existing Qwen cloud models.
11+
12+
---
13+
14+
## 1. Qwen 3.6 Plus Preview Model Entry
15+
**Files:** `js/ai-models.js`
16+
**What:** Added a new `'openrouter-qwen-36plus'` entry in `window.AI_MODELS` with `workerModelId: 'qwen/qwen3.6-plus-preview:free'`, reusing `ai-worker-openrouter.js` and the shared OpenRouter API key. Positioned after the existing Qwen 3.5 35B-A3B entry.
17+
**Impact:** Users see "Qwen 3.6 Plus Preview" in the model selector dropdown under the OpenRouter / Alibaba group. No additional API key or worker code required — the model is free on OpenRouter.
18+
19+
---
20+
21+
## Files Changed (1 total)
22+
23+
| File | Lines Changed | Type |
24+
|------|:---:|------|
25+
| `js/ai-models.js` | +21 | New model entry |

js/ai-models.js

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,27 @@
319319
supportsVision: true,
320320
},
321321

322+
// ── Cloud: Qwen 3.6 Plus Preview (Free) via OpenRouter ─
323+
'openrouter-qwen-36plus': {
324+
label: 'Qwen 3.6 Plus · Alibaba',
325+
badge: 'Qwen 3.6 Plus · Alibaba',
326+
icon: 'bi bi-wind',
327+
statusReady: 'Qwen 3.6 Plus Preview · Alibaba via OpenRouter',
328+
workerFile: 'ai-worker-openrouter.js',
329+
workerModelId: 'qwen/qwen3.6-plus-preview:free',
330+
keyStorageKey: window.MDView.KEYS.API_KEY_OPENROUTER,
331+
dialogTitle: 'Connect to OpenRouter',
332+
dialogDesc: 'Enter your API key to use <strong>Qwen 3.6 Plus Preview</strong> via OpenRouter',
333+
dialogPlaceholder: 'sk-or-xxxxxxxxxxxxxxxxxxxx',
334+
dialogLink: 'https://openrouter.ai/keys',
335+
dialogLinkText: 'openrouter.ai/keys',
336+
dialogIcon: 'bi bi-wind',
337+
dropdownName: 'Qwen 3.6 Plus Preview',
338+
dropdownDesc: 'Alibaba · Free · via OpenRouter',
339+
category: 'cloud-text',
340+
supportsVision: true,
341+
},
342+
322343
// ── Cloud: DeepSeek V3.2 via OpenRouter ───────────────
323344
'openrouter-deepseek': {
324345
label: 'DeepSeek V3.2 · DeepSeek',

0 commit comments

Comments
 (0)