+ {/* Scratchpad config pills — inline above composer */}
{isScratchpad && primaryAgent && (
-
-
-
- {
- const nextModel = findModel(modelId, availableModels);
- void handleScratchpadConfigChange({
- model: modelId,
- reasoningEffort: resolveReasoningEffort(nextModel, scratchpadReasoningEffort),
- });
- }}
- value={primaryAgent.model}
- />
-
-
-
- void handleScratchpadConfigChange({
- model: primaryAgent.model,
- reasoningEffort,
- })
- }
- supportedEfforts={supportedEfforts}
- value={scratchpadReasoningEffort}
- />
-
-
-
- Applies to future replies in this scratchpad.
-
+
+ {
+ const nextModel = findModel(modelId, availableModels);
+ void handleScratchpadConfigChange({
+ model: modelId,
+ reasoningEffort: resolveReasoningEffort(nextModel, scratchpadReasoningEffort),
+ });
+ }}
+ value={primaryAgent.model}
+ />
+
+ void handleScratchpadConfigChange({
+ model: primaryAgent.model,
+ reasoningEffort,
+ })
+ }
+ supportedEfforts={supportedEfforts}
+ value={scratchpadReasoningEffort}
+ />
+ {isUpdatingScratchpadConfig && (
+
+ )}
)}