This commit is contained in:
@@ -350,10 +350,10 @@ model = "${effectiveSubagentModel}"
|
|||||||
)}
|
)}
|
||||||
|
|
||||||
<div className="flex items-center gap-2">
|
<div className="flex items-center gap-2">
|
||||||
<Button variant="primary" size="sm" onClick={handleApplySettings} disabled={!selectedApiKey || !selectedModel} loading={applying}>
|
<Button variant="primary" size="sm" onClick={handleApplySettings} disabled={(!selectedApiKey && (cloudEnabled && apiKeys.length > 0)) || !selectedModel} loading={applying}>
|
||||||
<span className="material-symbols-outlined text-[14px] mr-1">save</span>Apply
|
<span className="material-symbols-outlined text-[14px] mr-1">save</span>Apply
|
||||||
</Button>
|
</Button>
|
||||||
<Button variant="outline" size="sm" onClick={handleResetSettings} disabled={!codexStatus.has9Router} loading={restoring}>
|
<Button variant="outline" size="sm" onClick={handleResetSettings} disabled={restoring} loading={restoring}>
|
||||||
<span className="material-symbols-outlined text-[14px] mr-1">restore</span>Reset
|
<span className="material-symbols-outlined text-[14px] mr-1">restore</span>Reset
|
||||||
</Button>
|
</Button>
|
||||||
<Button variant="ghost" size="sm" onClick={() => setShowManualConfigModal(true)}>
|
<Button variant="ghost" size="sm" onClick={() => setShowManualConfigModal(true)}>
|
||||||
|
|||||||
Reference in New Issue
Block a user