Repository navigation
Commit c649ed3
committed
fix(config): load ~/.opencode before project dirs so project config wins
Global ~/.opencode was processed after project-local .opencode directories
in the unique() array, causing global agent/model config to always override
project-level overrides. Swap order so ~/.opencode is deduplicated early and
project dirs are last (and win).
Fixes: anomalyco#19296
Fixes: anomalyco#213071 parent e158118 commit c649ed3
1 file changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
27 | 32 | | |
28 | 33 | | |
29 | 34 | | |
30 | 35 | | |
31 | 36 | | |
32 | 37 | | |
33 | 38 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
0 commit comments