Commit 4e3d99c
authored
Fix OAuth Implementation (#29)
## Pull Request Overview
This PR fixes OAuth implementation for the AI Chat feature by improving model validation, enhancing OAuth flow robustness, and adding comprehensive test coverage.
- Updates the default nano model for OpenRouter provider
- Adds comprehensive model validation logic with automatic fallbacks
- Enhances OAuth implementation with better error handling and deduplication
- Includes comprehensive test coverage for model validation functionality1 parent ad6f7e7 commit 4e3d99c
File tree
4 files changed
+761
-148
lines changed- front_end/panels/ai_chat
- LLM
- auth
- ui
4 files changed
+761
-148
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
73 | 80 | | |
74 | 81 | | |
75 | 82 | | |
| |||
266 | 273 | | |
267 | 274 | | |
268 | 275 | | |
269 | | - | |
| 276 | + | |
270 | 277 | | |
271 | 278 | | |
272 | | - | |
| 279 | + | |
273 | 280 | | |
274 | 281 | | |
275 | | - | |
| 282 | + | |
276 | 283 | | |
277 | 284 | | |
278 | 285 | | |
| |||
330 | 337 | | |
331 | 338 | | |
332 | 339 | | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
344 | 343 | | |
345 | 344 | | |
346 | 345 | | |
| |||
0 commit comments