Commit 42f36ea
Fix review blockers and cleanup for PR merge
- Fix blocking urlopen in async GET /api/config/model via asyncio.to_thread
- Fix LM Studio use_raw_model_name sending prefixed model id to API
- Fix _is_anthropic_model matching openrouter/anthropic/ routes
- Add message-count limit (2000) on restore-session-summary
- Add provider config check on model switch (openai-compat/ env guard)
- Cache _all_adapter_prefixes with lru_cache
- Extract useModelCatalog hook from ChatInput (635 -> 528 lines)
- Memoize provider groups calculation
- Add Enter key support to CustomModelDialog
- Fix useEffect dependency loop on selectedModelInfo
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 4ac4f1a commit 42f36ea
6 files changed
Lines changed: 468 additions & 337 deletions
File tree
- agent/core
- backend/routes
- frontend/src
- components/Chat
- hooks
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
| 68 | + | |
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
| |||
396 | 398 | | |
397 | 399 | | |
398 | 400 | | |
399 | | - | |
| 401 | + | |
400 | 402 | | |
401 | 403 | | |
402 | 404 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
38 | 42 | | |
39 | 43 | | |
40 | 44 | | |
41 | 45 | | |
42 | 46 | | |
43 | 47 | | |
44 | 48 | | |
45 | | - | |
| 49 | + | |
46 | 50 | | |
47 | 51 | | |
48 | 52 | | |
| |||
162 | 166 | | |
163 | 167 | | |
164 | 168 | | |
165 | | - | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
166 | 172 | | |
167 | 173 | | |
168 | 174 | | |
| |||
290 | 296 | | |
291 | 297 | | |
292 | 298 | | |
| 299 | + | |
| 300 | + | |
293 | 301 | | |
294 | 302 | | |
295 | 303 | | |
| |||
361 | 369 | | |
362 | 370 | | |
363 | 371 | | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
364 | 377 | | |
365 | 378 | | |
366 | 379 | | |
| |||
0 commit comments