Frontend Updates Orchestration

This commit is contained in:
sriram
2026-08-31 15:33:54 +05:30
parent 097a4a5bfe
commit d5420f824e
3 changed files with 9 additions and 6 deletions

View File

@@ -57,7 +57,7 @@ export function BatchCatalogPanel({ adoptBatch = null }) {
const [starting, setStarting] = useState(false);
const [error, setError] = useState('');
const [batch, setBatch] = useState(null);
const [useLlm, setUseLlm] = useState(false);
const [useLlm, setUseLlm] = useState(true);
// Ticked by default: a batch ingested without it produces rows with no
// images at all, and nothing downstream ever goes back to fill them in. The
// API default stays off - an anonymous upload must not trigger network
@@ -243,7 +243,8 @@ export function BatchCatalogPanel({ adoptBatch = null }) {
/>
<span>
<span className="font-bold text-ink-950">Use the LLM for missing descriptions</span>
{' '}&mdash; no effect unless Ollama is reachable, which it is not in production.
{' '}&mdash; fills blank descriptions where an Ollama server is reachable. It is not
in production, so rows there simply keep the description the sheet gave them.
</span>
</label>
</div>

View File

@@ -45,7 +45,7 @@ export function InboxPanel({ onBatchStarted }) {
const [busy, setBusy] = useState('');
const [error, setError] = useState('');
const [notice, setNotice] = useState('');
const [useLlm, setUseLlm] = useState(false);
const [useLlm, setUseLlm] = useState(true);
// Ticked by default - see the same note in BatchCatalogPanel. A file
// released from the inbox is the main way catalog rows are created, and
// without this they arrive with no images.
@@ -220,7 +220,8 @@ export function InboxPanel({ onBatchStarted }) {
/>
<span>
<span className="font-bold text-ink-950">Use the LLM for missing descriptions</span>
{' '}&mdash; no effect unless Ollama is reachable, which it is not in production.
{' '}&mdash; fills blank descriptions where an Ollama server is reachable. It is not
in production, so rows there simply keep the description the sheet gave them.
</span>
</label>
</div>

View File

@@ -87,7 +87,7 @@ export function OrchestrationPanel() {
const [busy, setBusy] = useState('');
const [error, setError] = useState('');
const [notice, setNotice] = useState('');
const [useLlm, setUseLlm] = useState(false);
const [useLlm, setUseLlm] = useState(true);
const [fetchImages, setFetchImages] = useState(true);
const batchIdRef = useRef(null);
@@ -297,7 +297,8 @@ export function OrchestrationPanel() {
/>
<span>
<span className="font-bold text-ink-950">Use the LLM for missing descriptions</span>
{' '}&mdash; no effect unless Ollama is reachable, which it is not in production.
{' '}&mdash; fills blank descriptions where an Ollama server is reachable. It is not
in production, so rows there simply keep the description the sheet gave them.
</span>
</label>
</div>