-
-
{t("pages.chat.chatadvancedconsole.choose.task", "Choose a task")}
-
- {t("pages.chat.chatadvancedconsole.advanced.console.keeps.runtime.inspection", "Advanced Console keeps runtime inspection, operator actions, and developer tooling in one drawer. Start from the task you are trying to complete.")}
-
- {t("pages.chat.chatadvancedconsole.suggested.path.start.with", "Suggested path: start with")}{t("pages.chat.chatadvancedconsole.query", "Query")} {t("pages.chat.chatadvancedconsole.to.orient.the.workspace.move", "to orient the workspace, move to")}{t("pages.chat.chatadvancedconsole.execute", "Execute")} {t("pages.chat.chatadvancedconsole.when.you.are.ready.to", "when you are ready to act, then use")}{t("pages.chat.chatadvancedconsole.timeline", "Timeline")} {t("pages.chat.chatadvancedconsole.if.the.run.needs.evidence", "if the run needs evidence or operator input. Keep")}{t("pages.chat.chatadvancedconsole.raw.api", "Raw API")} {t("pages.chat.chatadvancedconsole.for.protocol.level.debugging", "for protocol-level debugging.")}
-
-
- {consoleFlowGroups.map((group) => (
-
-
-
- {group.label}
-
-
- {group.description}
-
-
-
- {group.flows.map((flow) => {
- const active = activeTab === flow.id;
- const flowLabel = formatConsoleMessage(flow.label);
- const flowDescription = formatConsoleMessage(flow.description);
- const flowBadge = flow.badge
- ? formatConsoleMessage(flow.badge)
- : "";
- return (
-
setActiveTab(flow.id)}
- style={{
- background: active ? "#f8fafc" : "#ffffff",
- border: `1px solid ${active ? "#bfdbfe" : "#e7e5e4"}`,
- borderRadius: 14,
- cursor: "pointer",
- display: "flex",
- flexDirection: "column",
- gap: 8,
- minHeight: 110,
- padding: 14,
- textAlign: "left",
- }}
- type="button"
- >
-
-
-
- {flowLabel}
-
- {flowBadge ? (
-
- {flowBadge}
-
- ) : null}
-
- {active ? (
-
- {t("pages.chat.chatadvancedconsole.active", "Active")}
- ) : null}
-
-
- {flowDescription}
-
-
- );
- })}
-
-
- ))}
-
-
-
- {activeConsoleFlow ? (
-
- ) : null}
-
- {activeTab === "query" ? (
-
-
-
{t("pages.chat.chatadvancedconsole.query.workspace.state", "Query Workspace State")}
-
- {queryTargets.map((target) => {
- const targetLabel = formatConsoleMessage(target.label);
- const targetDescription = formatConsoleMessage(target.description);
-
- return (
-
{
- setQueryTarget(target.id);
- setQueryResult(null);
- }}
- style={{
- background:
- queryTarget === target.id ? "#f5f5f4" : "#ffffff",
- border:
- queryTarget === target.id
- ? "1px solid #111827"
- : "1px solid #e7e5e4",
- borderRadius: 12,
- cursor: "pointer",
- minHeight: 88,
- padding: 14,
- textAlign: "left",
- }}
- type="button"
- >
-
- {targetLabel}
-
-
- {targetDescription}
-
-
- );
- })}
-
-
- {queryTarget === "actor" ? (
-
- {t("pages.chat.chatadvancedconsole.actor.id", "Actor ID")}
- setQueryActorId(event.target.value)}
- onKeyDown={(event) => {
- if (event.key === "Enter") {
- void handleQuerySubmit();
- }
- }}
- placeholder="actor://..."
- style={{ ...inputStyle, fontFamily: monoFontFamily }}
- value={queryActorId}
- />
-
- ) : null}
-
-
- void handleQuerySubmit()}
- style={actionButtonStyle(
- "primary",
- queryLoading ||
- (queryTarget === "actor" && !queryActorId.trim())
- )}
- type="button"
- >
- {queryLoading
- ? t("pages.chat.chatadvancedconsole.loading", "Loading...")
- : t(
- "pages.chat.chatadvancedconsole.query.target",
- "Query {target}",
- {
- target: queryTargets.find(
- (target) => target.id === queryTarget,
- )?.label
- ? formatConsoleMessage(
- queryTargets.find(
- (target) => target.id === queryTarget,
- )!.label,
- )
- : t("pages.chat.chatadvancedconsole.workspace", "Workspace"),
- },
- )}
-
-
-
-
- {queryResult
- ? createResultPanel(
- t("pages.chat.chatadvancedconsole.query.result", "Query Result"),
- queryResult,
- () => handleCopy(queryResult),
- )
- : null}
-
- ) : null}
-
- {activeTab === "execute" ? (
-
-
-
{t("pages.chat.chatadvancedconsole.execute.service.endpoint", "Execute Service Endpoint")}
-
-
- {t("pages.chat.chatadvancedconsole.service", "Service")}
- setExecuteServiceId(event.target.value)}
- style={selectStyle}
- value={activeExecuteService?.serviceId || ""}
- >
- {consoleServices.map((service) => (
-
- {service.displayName} ({service.kind})
-
- ))}
-
-
-
-
- {t("pages.chat.chatadvancedconsole.endpoint", "Endpoint")}
- setExecuteEndpointId(event.target.value)}
- style={selectStyle}
- value={activeExecuteEndpoint?.endpointId || ""}
- >
- {(activeExecuteService?.endpoints ?? []).map((endpoint) => (
-
- {endpoint.endpointId} ({endpoint.kind})
-
- ))}
-
-
-
-
- {t("pages.chat.chatadvancedconsole.prompt", "Prompt")}
-
-
- {activeExecuteEndpoint &&
- activeExecuteEndpoint.kind !== "chat" ? (
- <>
-
- {t("pages.chat.chatadvancedconsole.payload.type.url", "Payload Type URL")}
-
- setExecutePayloadTypeUrl(event.target.value)
- }
- placeholder="type.googleapis.com/..."
- style={{ ...inputStyle, fontFamily: monoFontFamily }}
- value={executePayloadTypeUrl}
- />
-
-
- {t("pages.chat.chatadvancedconsole.payload.base64", "Payload Base64")}
-
- >
- ) : null}
-
-
- void handleExecuteSubmit()}
- style={actionButtonStyle(
- "primary",
- executeStatus === "running" ||
- !activeExecuteService ||
- !activeExecuteEndpoint
- )}
- type="button"
- >
- {executeStatus === "running" ? t("pages.chat.chatadvancedconsole.running", "Running...") : t("pages.chat.chatadvancedconsole.run", "Run")}
-
- executeAbortRef.current?.abort()}
- style={actionButtonStyle(
- "secondary",
- executeStatus !== "running"
- )}
- type="button"
- >
- {t("pages.chat.chatadvancedconsole.stop", "Stop")}
-
-
-
-
- {executeError ? (
-
- ) : null}
-
- {executeActorId || executeCommandId || executeRunId ? (
-
-
{t("pages.chat.chatadvancedconsole.execution.metadata", "Execution Metadata")}
-
-
- {t("pages.chat.chatadvancedconsole.open.runs", "Open Runs")}
-
- {t("pages.chat.chatadvancedconsole.open.explorer", "Open Explorer")}
- void handleLoadAudit()}
- style={actionButtonStyle(
- "secondary",
- !executeRunId || executeAuditLoading
- )}
- type="button"
- >
- {executeAuditLoading
- ? t("pages.chat.chatadvancedconsole.loading.audit", "Loading Audit...")
- : executeAuditSnapshot
- ? t("pages.chat.chatadvancedconsole.refresh.audit", "Refresh Audit")
- : t("pages.chat.chatadvancedconsole.load.audit", "Load Audit")}
-
-
-
-
-
{t("pages.chat.chatadvancedconsole.actor", "Actor")}
-
- {executeActorId || t("pages.chat.chatadvancedconsole.unavailable", "Unavailable")}
-
-
-
-
{t("pages.chat.chatadvancedconsole.command", "Command")}
-
- {executeCommandId || t("pages.chat.chatadvancedconsole.unavailable", "Unavailable")}
-
-
-
-
{t("pages.chat.chatadvancedconsole.run", "Run")}
-
- {executeRunId || t("pages.chat.chatadvancedconsole.unavailable", "Unavailable")}
-
-
-
-
- ) : null}
-
- {executeAuditError ? (
-
- ) : null}
-
- {executeAuditSnapshot ? (
-
-
{t("pages.chat.chatadvancedconsole.run.audit", "Run Audit")}
-
-
- {t("pages.chat.chatadvancedconsole.completion", "Completion")}
-
- {executeAuditSnapshot.audit.completionStatus}
-
-
-
- {t("pages.chat.chatadvancedconsole.duration", "Duration")}
-
- {Math.round(executeAuditSnapshot.audit.durationMs)} ms
-
-
-
- {t("pages.chat.chatadvancedconsole.steps", "Steps")}
-
- {executeAuditSummary?.completedSteps ?? 0}/
- {executeAuditSummary?.totalSteps ?? 0}
-
-
-
- {t("pages.chat.chatadvancedconsole.role.replies", "Role replies")}
-
- {executeAuditSummary?.roleReplyCount ?? 0}
-
-
-
-
- {executeAuditSnapshot.audit.input ? (
- createResultPanel(
- t("pages.chat.chatadvancedconsole.audit.input", "Audit Input"),
- executeAuditSnapshot.audit.input,
- () => handleCopy(executeAuditSnapshot.audit.input)
- )
- ) : null}
-
- {executeAuditSnapshot.audit.finalOutput ? (
-
- ) : null}
-
- {executeAuditSnapshot.audit.finalError ? (
-
- ) : null}
-
-
-
-
{t("pages.chat.chatadvancedconsole.timeline.highlights", "Timeline Highlights")}
- {executeAuditTimeline.length > 0 ? (
-
- {executeAuditTimeline
- .slice(0, 8)
- .map((event, index) =>
- renderAuditPreviewCard(
- event.stage || event.eventType || "event",
- event.message || t("pages.chat.chatadvancedconsole.no.message", "No message"),
- event.timestamp,
- String(index)
- )
- )}
-
- ) : (
-
- )}
-
-
-
-
{t("pages.chat.chatadvancedconsole.step.highlights", "Step Highlights")}
- {executeAuditSteps.length > 0 ? (
-
- {executeAuditSteps.slice(0, 6).map((step) =>
- renderAuditPreviewCard(
- step.stepId,
- `${step.stepType || "step"} · ${
- step.targetRole || "unassigned"
- }`,
- step.completedAt || step.requestedAt,
- step.stepId
- )
- )}
-
- ) : (
-
- )}
-
-
-
-
-
{t("pages.chat.chatadvancedconsole.reply.highlights", "Reply Highlights")}
- {executeAuditReplies.length > 0 ? (
-
- {executeAuditReplies.slice(0, 4).map((reply, index) =>
- renderAuditPreviewCard(
- reply.roleId || `reply-${index + 1}`,
- reply.content || t("pages.chat.chatadvancedconsole.no.content", "No content"),
- reply.timestamp,
- String(index)
- )
- )}
-
- ) : (
-
- )}
-
-
- ) : null}
-
- {executeAssistantText
- ? createResultPanel(t("pages.chat.chatadvancedconsole.streaming.output", "Streaming Output"), executeAssistantText, () =>
- handleCopy(executeAssistantText)
- )
- : null}
-
- {executeResponseText
- ? createResultPanel(t("pages.chat.chatadvancedconsole.invoke.response", "Invoke Response"), executeResponseText, () =>
- handleCopy(executeResponseText)
- )
- : null}
-
- {executeEvents.length > 0 ? (
-
-
-
- ) : null}
-
- ) : null}
-
- {activeTab === "timeline" ? (
-
-
-
{t("pages.chat.chatadvancedconsole.actor.timeline", "Actor Timeline")}
-
- {t("pages.chat.chatadvancedconsole.inspect.the.current.actor.snapshot", "Inspect the current actor snapshot, recent runtime stages, and any blocking gate without leaving chat.")}
-
-
- {t("pages.chat.chatadvancedconsole.actor.id.2", "Actor ID")}
- setTimelineActorInput(event.target.value)}
- placeholder={
- executeActorId || sessionActorId || "actor://..."
- }
- style={{ ...inputStyle, fontFamily: monoFontFamily }}
- value={timelineActorInput}
- />
-
-
-
- setTimelineRefreshTick((current) => current + 1)}
- style={actionButtonStyle(
- "primary",
- !effectiveTimelineActorId || timelineLoading
- )}
- type="button"
- >
- {timelineLoading ? t("pages.chat.chatadvancedconsole.refreshing", "Refreshing...") : t("pages.chat.chatadvancedconsole.refresh.timeline", "Refresh Timeline")}
-
- void handleLoadAudit()}
- style={actionButtonStyle(
- "secondary",
- !executeRunId || executeAuditLoading
- )}
- type="button"
- >
- {executeAuditLoading
- ? t("pages.chat.chatadvancedconsole.loading.audit", "Loading Audit...")
- : executeAuditSnapshot
- ? t("pages.chat.chatadvancedconsole.refresh.audit", "Refresh Audit")
- : t("pages.chat.chatadvancedconsole.load.audit.for.timeline", "Load Audit for Timeline")}
-
-
- {t("pages.chat.chatadvancedconsole.open.explorer.2", "Open Explorer")}
-
- {t("pages.chat.chatadvancedconsole.open.runs.2", "Open Runs")}
-
-
- {!effectiveTimelineActorId ? (
-
- ) : null}
-
- {effectiveTimelineActorId ? (
-
-
-
{t("pages.chat.chatadvancedconsole.effective.actor", "Effective actor")}
-
- {effectiveTimelineActorId}
-
-
-
-
{t("pages.chat.chatadvancedconsole.run.2", "Run")}
-
- {executeRunId || t("pages.chat.chatadvancedconsole.unavailable", "Unavailable")}
-
-
-
- ) : null}
-
-
- {timelineError ? (
-
- ) : null}
-
- {timelineSnapshot ? (
-
-
{t("pages.chat.chatadvancedconsole.snapshot", "Snapshot")}
-
-
- {t("pages.chat.chatadvancedconsole.workflow", "Workflow")}
-
- {timelineSnapshot.workflowName || "n/a"}
-
-
-
- {t("pages.chat.chatadvancedconsole.completion.2", "Completion")}
-
- {describeActorCompletionStatus(timelineSnapshot)}
-
-
-
- {t("pages.chat.chatadvancedconsole.state.version", "State version")}
-
- {timelineSnapshot.stateVersion}
-
-
-
- {t("pages.chat.chatadvancedconsole.completed.steps", "Completed steps")}
-
- {timelineSnapshot.completedSteps}/
- {timelineSnapshot.totalSteps}
-
-
-
- {t("pages.chat.chatadvancedconsole.role.replies.2", "Role replies")}
-
- {timelineSnapshot.roleReplyCount}
-
-
-
- {t("pages.chat.chatadvancedconsole.last.update", "Last update")}
-
- {formatDateTime(timelineSnapshot.lastUpdatedAt)}
-
-
-
-
- ) : null}
-
- {timelineGraph ? (
-
-
{t("pages.chat.chatadvancedconsole.topology.digest", "Topology Digest")}
-
-
- {t("pages.chat.chatadvancedconsole.nodes", "Nodes")}
-
- {timelineGraph.subgraph.nodes.length}
-
-
-
- {t("pages.chat.chatadvancedconsole.edges", "Edges")}
-
- {timelineGraph.subgraph.edges.length}
-
-
-
- {t("pages.chat.chatadvancedconsole.root.node", "Root node")}
-
- {timelineGraph.subgraph.rootNodeId || t("pages.chat.chatadvancedconsole.unavailable", "Unavailable")}
-
-
-
-
- {(timelineGraph.subgraph.nodes ?? []).slice(0, 6).map((node) => (
-
- {node.nodeId}
-
- {node.nodeType || "node"}
-
-
- ))}
-
-
- ) : null}
-
- {timelineBlockingSummary ? (
-
-
{t("pages.chat.chatadvancedconsole.blocking.state", "Blocking State")}
-
-
-
-
- {timelineBlockingSummary.kind === "wait_signal"
- ? t("pages.chat.chatadvancedconsole.waiting.on.signal", "Waiting on signal")
- : timelineBlockingSummary.kind === "human_approval"
- ? t("pages.chat.chatadvancedconsole.approval.required", "Approval required")
- : t("pages.chat.chatadvancedconsole.input.required", "Input required")}
-
-
- {timelineBlockingSummary.title}
-
-
-
-
- {timelineBlockingSummary.stepId}
-
- {timelineBlockingSummary.signalName ? (
-
- {t("pages.chat.chatadvancedconsole.signal", "Signal")}{timelineBlockingSummary.signalName}
-
- ) : null}
- {timelineBlockingSummary.timeoutLabel ? (
-
- {timelineBlockingSummary.timeoutLabel}
-
- ) : null}
-
-
-
-
- {timelineBlockingSummary.summary}
- {timelineBlockingSummary.prompt}
-
- }
- message={t("pages.chat.chatadvancedconsole.current.runtime.gate", "Current runtime gate")}
- showIcon
- type="warning"
- />
-
-
-
-
{t("pages.chat.chatadvancedconsole.recommended.next.step", "Recommended next step")}
-
- {timelineBlockingSummary.kind === "wait_signal"
- ? t("pages.chat.chatadvancedconsole.send.the.signal.payload.that.the.runtime.is.waiting.for", "Send the signal payload that the runtime is waiting for.")
- : timelineBlockingSummary.kind === "human_approval"
- ? t("pages.chat.chatadvancedconsole.review.the.gate.and.approve.or.reject.it", "Review the gate and approve or reject it.")
- : t("pages.chat.chatadvancedconsole.provide.the.missing.value.then.resume.the.run", "Provide the missing value, then resume the run.")}
-
-
-
-
{t("pages.chat.chatadvancedconsole.action.context", "Action context")}
-
- {timelineBlockingSummary.kind === "wait_signal"
- ? t("pages.chat.chatadvancedconsole.signal.payload.is.optional.unless.your.workflow.expects.a.value", "Signal payload is optional unless your workflow expects a value.")
- : timelineBlockingSummary.kind === "human_approval"
- ? t("pages.chat.chatadvancedconsole.approval.notes.are.optional.and.will.be.sent.with.the.decision", "Approval notes are optional and will be sent with the decision.")
- : t("pages.chat.chatadvancedconsole.input.is.required.before.the.workflow.can.continue", "Input is required before the workflow can continue.")}
-
-
-
-
-
-
- {timelineBlockingSummary.kind === "wait_signal"
- ? t("pages.chat.chatadvancedconsole.signal.payload", "Signal payload")
- : timelineBlockingSummary.kind === "human_approval"
- ? t("pages.chat.chatadvancedconsole.approval.note", "Approval note")
- : t("pages.chat.chatadvancedconsole.operator.input", "Operator input")}
-
-
-
-
- {timelineBlockingSummary.kind === "wait_signal" ? (
- void handleTimelineAction("signal")}
- style={actionButtonStyle(
- "primary",
- timelineActionLoading ||
- !executeRunId ||
- !effectiveTimelineServiceId
- )}
- type="button"
- >
- {timelineActionLoading ? t("pages.chat.chatadvancedconsole.sending", "Sending...") : t("pages.chat.chatadvancedconsole.send.signal", "Send Signal")}
-
- ) : (
- <>
-
- void handleTimelineAction(
- timelineBlockingSummary.kind === "human_approval"
- ? "approve"
- : "resume"
- )
- }
- style={actionButtonStyle(
- "primary",
- timelineActionLoading ||
- !executeRunId ||
- !effectiveTimelineServiceId ||
- (timelineBlockingSummary.kind === "human_input" &&
- !timelineActionInput.trim())
- )}
- type="button"
- >
- {timelineActionLoading
- ? t("pages.chat.chatadvancedconsole.applying", "Applying...")
- : timelineBlockingSummary.kind === "human_approval"
- ? t("pages.chat.chatadvancedconsole.approve", "Approve")
- : t("pages.chat.chatadvancedconsole.resume", "Resume")}
-
- {timelineBlockingSummary.kind === "human_approval" ? (
- void handleTimelineAction("reject")}
- style={actionButtonStyle(
- "secondary",
- timelineActionLoading ||
- !executeRunId ||
- !effectiveTimelineServiceId
- )}
- type="button"
- >
- {t("pages.chat.chatadvancedconsole.reject", "Reject")}
- ) : null}
- >
- )}
-
-
- {!executeRunId || !effectiveTimelineServiceId ? (
-
- {t("pages.chat.chatadvancedconsole.run.actions.become.available.after", "Run actions become available after the console has a run ID and service context.")}
- ) : null}
-
- {timelineActionNotice ? (
-
- ) : null}
-
- ) : null}
-
-
-
-
-
-
{t("pages.chat.chatadvancedconsole.timeline.events", "Timeline Events")}
- {timelineLoading && !timelineRows.length ? (
-
- ) : timelineRows.length > 0 ? (
-
- {timelineRows.map((row) => {
- const tone = timelineStatusTone(row.timelineStatus);
- const isSelected = row.key === selectedTimelineRow?.key;
- const hasAuditMatch = executeAuditSteps.some(
- (step) => step.stepId === row.stepId
- );
-
- return (
-
setTimelineSelectedKey(row.key)}
- style={{
- background: isSelected ? "#faf5ff" : "#ffffff",
- border: `1px solid ${
- isSelected ? "#c4b5fd" : "#e7e5e4"
- }`,
- borderRadius: 12,
- cursor: "pointer",
- padding: 12,
- textAlign: "left",
- }}
- type="button"
- >
-
-
- {row.stage || row.eventType || "event"}
-
- {row.stepId ? (
-
- {row.stepId}
-
- ) : null}
- {hasAuditMatch ? (
-
- {t("pages.chat.chatadvancedconsole.audit.linked", "Audit linked")}
- ) : null}
-
-
- {row.message || t("pages.chat.chatadvancedconsole.no.message", "No message")}
-
-
- {row.dataSummary || t("pages.chat.chatadvancedconsole.no.structured.data", "No structured data")}
-
-
- {formatDateTime(row.timestamp)}
- {row.stepType ? t("pages.chat.chatadvancedconsole.copy.4", "· {value1}", { value1: row.stepType }) : ""}
- {row.agentId ? t("pages.chat.chatadvancedconsole.copy.5", "· {value1}", { value1: row.agentId }) : ""}
-
-
- );
- })}
-
- ) : (
-
- )}
-
-
-
- {selectedTimelineRow ? (
-
-
{t("pages.chat.chatadvancedconsole.selected.event", "Selected Event")}
-
-
-
{t("pages.chat.chatadvancedconsole.stage.2", "Stage")}
-
{selectedTimelineRow.stage || "n/a"}
-
-
-
{t("pages.chat.chatadvancedconsole.message", "Message")}
-
{selectedTimelineRow.message || t("pages.chat.chatadvancedconsole.no.message", "No message")}
-
-
-
{t("pages.chat.chatadvancedconsole.timestamp", "Timestamp")}
-
{formatDateTime(selectedTimelineRow.timestamp)}
-
-
-
- {safeJson(selectedTimelineRow.data)}
-
-
- ) : null}
-
- {relatedAuditStep ? (
-
-
{t("pages.chat.chatadvancedconsole.related.audit.step", "Related Audit Step")}
-
-
{relatedAuditStep.stepId}
-
- {relatedAuditStep.stepType || "step"} ·{" "}
- {relatedAuditStep.targetRole || "unassigned"}
-
- {relatedAuditStep.outputPreview ? (
-
- ) : null}
- {relatedAuditStep.suspensionPrompt ? (
-
- ) : null}
-
-
- ) : executeRunId && !executeAuditSnapshot ? (
-
- {t("pages.chat.chatadvancedconsole.related.audit.step.2", "Related Audit Step")}
-
-
- ) : null}
-
-
-
- ) : null}
-
- {activeTab === "raw" ? (
-
-
-
{t("pages.chat.chatadvancedconsole.raw.api.console", "Raw API Console")}
-
- {rawShortcuts.map((shortcut) => (
- {
- setRawMethod(shortcut.method);
- setRawPath(shortcut.path);
- }}
- style={actionButtonStyle("secondary")}
- type="button"
- >
- {shortcut.label}
-
- ))}
-
-
-
- setRawMethod(event.target.value)}
- style={selectStyle}
- value={rawMethod}
- >
- {["GET", "POST", "PUT", "DELETE"].map((method) => (
-
- {method}
-
- ))}
-
- setRawPath(event.target.value)}
- placeholder={t("pages.chat.chatadvancedconsole.scopes.binding", "/scopes/{scopeId}/binding")}
- style={{ ...inputStyle, fontFamily: monoFontFamily }}
- value={rawPath}
- />
-
-
- {rawMethod !== "GET" ? (
-
- {t("pages.chat.chatadvancedconsole.request.body", "Request Body")}
-
- ) : null}
-
-
- void handleRawSubmit()}
- style={actionButtonStyle(
- "primary",
- rawLoading || !rawPath.trim()
- )}
- type="button"
- >
- {rawLoading ? t("pages.chat.chatadvancedconsole.sending", "Sending...") : t("pages.chat.chatadvancedconsole.send.request", "Send Request")}
-
-
-
-
- {rawResult ? (
-
-
-
- {t("pages.chat.chatadvancedconsole.response", "Response ·")}{rawResult.status} {rawResult.statusText}
-
- handleCopy(rawResult.body)}
- style={actionButtonStyle("secondary")}
- type="button"
- >
- {t("pages.chat.chatadvancedconsole.copy.3", "Copy")}
-
-
{rawResult.body}
-
- ) : null}
-
- ) : null}
-
- )}
-