update the orders page ui

This commit is contained in:
2026-08-18 13:41:34 +05:30
parent 01faf3cd8d
commit 573618cad8
39 changed files with 6285 additions and 1737 deletions

View File

@@ -539,8 +539,10 @@ const generic = (ctx) => {
* @param {Array} args.conversation the thread *before* this prompt
* @returns {Promise<string>} markdown answer — never throws, never empty
*/
export async function getOwliverResponse({ prompt, pageContext, conversation } = {}) {
await wait(LATENCY_MIN_MS + Math.random() * (LATENCY_MAX_MS - LATENCY_MIN_MS));
export async function getOwliverResponse({ prompt, pageContext, conversation, skipLatency } = {}) {
// The panel now stages its own thinking line, so a caller that is already
// pacing the turn asks for the answer without the deliberation beat.
if (!skipLatency) await wait(LATENCY_MIN_MS + Math.random() * (LATENCY_MAX_MS - LATENCY_MIN_MS));
const ctx = {
domain: pageContext?.domain || "command",