Commit e7e258a
committed
fix: improve OpenRouter API key callback handling with better error handling and user feedback
- Add comprehensive logging to OpenRouter callback process for debugging
- Show success/error messages to users when API key exchange completes
- Ensure webview state updates after successful API key configuration
- Add error handling for missing authorization codes in URI callback
- Improve URI handler logging to help diagnose callback issues
Fixes #64671 parent 01f5320 commit e7e258a
2 files changed
+48
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
12 | 16 | | |
| 17 | + | |
13 | 18 | | |
14 | 19 | | |
15 | 20 | | |
| |||
24 | 29 | | |
25 | 30 | | |
26 | 31 | | |
27 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
28 | 43 | | |
29 | 44 | | |
30 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1109 | 1109 | | |
1110 | 1110 | | |
1111 | 1111 | | |
| 1112 | + | |
| 1113 | + | |
1112 | 1114 | | |
1113 | 1115 | | |
1114 | 1116 | | |
1115 | 1117 | | |
1116 | 1118 | | |
1117 | 1119 | | |
1118 | 1120 | | |
| 1121 | + | |
| 1122 | + | |
1119 | 1123 | | |
| 1124 | + | |
1120 | 1125 | | |
1121 | 1126 | | |
| 1127 | + | |
1122 | 1128 | | |
1123 | 1129 | | |
1124 | 1130 | | |
1125 | 1131 | | |
1126 | 1132 | | |
1127 | | - | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
1128 | 1139 | | |
1129 | 1140 | | |
1130 | 1141 | | |
| |||
1136 | 1147 | | |
1137 | 1148 | | |
1138 | 1149 | | |
1139 | | - | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
| 1156 | + | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
1140 | 1170 | | |
1141 | 1171 | | |
1142 | 1172 | | |
| |||
0 commit comments