This repository was archived by the owner on Apr 14, 2026. It is now read-only.
Commit 4e4be4a
authored
guide users to connect a model provider when Goose needs one (#169)
* add needs_model status for Goose agent when no model provider is connected
Goose agent now shows a "needs_model" state with a scroll-to-models
button when no model provider is configured. Updates provider copy
to better explain the relationship between agents and model providers.
* polish providers settings: floating restart card, tooltip arrow prop, save-state fix
Move the restart banner out of ProvidersSettings into a floating card
below the settings modal (Figma-style stacked layout). The card fades
in on credential changes, dismisses when navigating away, and won't
reappear on return.
Add showArrow prop to TooltipContent for arrow-free tooltips. Fix
model provider save flow showing empty fields by removing the
preserveSetupLayout flag that blocked transition to ConnectedFieldsPanel.
* harden providers settings: remove restart banner, fix scroll cleanup and container ref
Remove the restart banner since users can restart the app themselves.
Fix RAF leak on unmount, replace fragile CSS class selector with an
explicit scroll container ref, and guard the needs_model tooltip button
on having a handler.
* refactor useCredentials and ProvidersSettings: remove unused restart logic and improve scroll handling
Eliminate the restart logic from the useCredentials hook, as it is no longer necessary. Update ProvidersSettings to enhance scroll handling by replacing a fragile container reference with a more reliable approach. Additionally, clean up the code in AgentProviderCard and SettingsModal for better readability.
* restore floating restart card, treat local providers as available
Bring back the floating restart notification card below the settings
modal (message only, no restart button). The card fades in on credential
changes and auto-dismisses when leaving the providers section.
Treat setupMethod: "local" providers (e.g. Ollama) as always available
when computing hasModelProvider, matching the Goose backend's
check_provider_configured behavior. This prevents local-only users from
seeing a perpetual needs_model indicator on the Goose agent card.
* revert local provider override for hasModelProvider
Only check configuredIds for model provider presence. Local providers
(Ollama, local_inference) will be picked up after the Goose backend
merge brings check_provider_configured which marks them as configured.1 parent da6b22b commit 4e4be4a
9 files changed
Lines changed: 417 additions & 266 deletions
File tree
- src
- features
- providers/hooks
- settings/ui
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
20 | | - | |
21 | 19 | | |
22 | 20 | | |
23 | 21 | | |
| |||
77 | 75 | | |
78 | 76 | | |
79 | 77 | | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | 78 | | |
85 | 79 | | |
86 | 80 | | |
| |||
94 | 88 | | |
95 | 89 | | |
96 | 90 | | |
97 | | - | |
98 | 91 | | |
99 | 92 | | |
100 | 93 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
31 | 36 | | |
32 | 37 | | |
33 | 38 | | |
| |||
41 | 46 | | |
42 | 47 | | |
43 | 48 | | |
44 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
45 | 52 | | |
46 | 53 | | |
47 | 54 | | |
| |||
224 | 231 | | |
225 | 232 | | |
226 | 233 | | |
227 | | - | |
| 234 | + | |
228 | 235 | | |
229 | 236 | | |
230 | 237 | | |
231 | 238 | | |
232 | 239 | | |
233 | 240 | | |
234 | 241 | | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
235 | 264 | | |
236 | 265 | | |
237 | 266 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | 67 | | |
69 | 68 | | |
70 | 69 | | |
| |||
156 | 155 | | |
157 | 156 | | |
158 | 157 | | |
159 | | - | |
160 | 158 | | |
161 | 159 | | |
162 | 160 | | |
| |||
179 | 177 | | |
180 | 178 | | |
181 | 179 | | |
182 | | - | |
183 | 180 | | |
184 | 181 | | |
185 | 182 | | |
| |||
275 | 272 | | |
276 | 273 | | |
277 | 274 | | |
278 | | - | |
279 | 275 | | |
280 | 276 | | |
281 | 277 | | |
| |||
291 | 287 | | |
292 | 288 | | |
293 | 289 | | |
294 | | - | |
295 | 290 | | |
296 | 291 | | |
297 | 292 | | |
| |||
378 | 373 | | |
379 | 374 | | |
380 | 375 | | |
381 | | - | |
| 376 | + | |
382 | 377 | | |
383 | 378 | | |
384 | 379 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | | - | |
| 25 | + | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
| |||
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| 35 | + | |
33 | 36 | | |
34 | 37 | | |
35 | 38 | | |
36 | | - | |
| 39 | + | |
37 | 40 | | |
38 | 41 | | |
39 | 42 | | |
40 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
41 | 52 | | |
42 | 53 | | |
43 | 54 | | |
44 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
45 | 67 | | |
46 | 68 | | |
47 | 69 | | |
| |||
50 | 72 | | |
51 | 73 | | |
52 | 74 | | |
53 | | - | |
54 | 75 | | |
55 | 76 | | |
56 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
57 | 136 | | |
58 | | - | |
59 | | - | |
| 137 | + | |
| 138 | + | |
60 | 139 | | |
61 | 140 | | |
62 | 141 | | |
63 | | - | |
64 | | - | |
| 142 | + | |
| 143 | + | |
65 | 144 | | |
66 | 145 | | |
67 | 146 | | |
| |||
138 | 217 | | |
139 | 218 | | |
140 | 219 | | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | 220 | | |
152 | 221 | | |
153 | 222 | | |
| |||
162 | 231 | | |
163 | 232 | | |
164 | 233 | | |
165 | | - | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
166 | 241 | | |
167 | 242 | | |
168 | 243 | | |
169 | 244 | | |
170 | 245 | | |
171 | 246 | | |
172 | | - | |
| 247 | + | |
173 | 248 | | |
174 | 249 | | |
175 | 250 | | |
| |||
0 commit comments