The populateOpencodeModelSelect() was called from loadConfigured() which runs in parallel with loadAvailable() in init(). This caused a race condition where the dropdown could be populated before state.available was set. Fixed by moving the populateOpencodeModelSelect() call to after all loaders complete in init(), ensuring state.available is populated first.
115 KiB
115 KiB