update the orders page ui
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user