Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function noticeTitle(phase: EnvironmentConnectionPhase, environmentLabel: string
case "reconnecting":
return `Reconnecting to ${environmentLabel}...`;
case "unsupported":
return "Client not supported";
return `Can't connect to ${environmentLabel}`;
case "error":
return `${environmentLabel} is unavailable`;
case "available":
Expand Down
4 changes: 2 additions & 2 deletions apps/mobile/src/features/threads/PendingApprovalCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ export function PendingApprovalCard(props: PendingApprovalCardProps) {
) : null}
{!canRespond ? (
<Text className="font-sans text-sm leading-5 text-foreground-muted">
The provider process for this request is no longer available. Interrupt or restart the run
to continue.
The agent process has stopped, so you can no longer answer this approval request.
Interrupt or restart the turn to continue.
</Text>
) : null}
{warning ? (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1147,7 +1147,11 @@ it("keeps concurrent approvals actionable outside collapsed work and restores se
ui({ pendingApprovals: [{ ...approvals[0]!, responseCapability: "not_resumable" }] }),
);
await expect
.element(screen.getByText("Provider process is gone. Interrupt or restart the run to respond."))
.element(
screen.getByText(
"The agent process has stopped, so you can no longer answer this approval request. Interrupt or restart the turn to continue.",
),
)
.toBeVisible();
await vi.waitFor(() => expect(screen.buttons("Approve")).toHaveLength(0));
await screen.rerender(
Expand Down
4 changes: 2 additions & 2 deletions apps/web/src/components/chat/ProviderStatusBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export function getProviderStatusMessage(status: ServerProvider): string {
? "No models are available for this provider."
: status.status === "error"
? `${providerName} provider is unavailable.`
: `${providerName} provider has limited availability.`;
: `T3 Code encountered a problem with ${providerName}.`;
}

export const ProviderStatusBanner = memo(function ProviderStatusBanner({
Expand All @@ -102,7 +102,7 @@ export const ProviderStatusBanner = memo(function ProviderStatusBanner({
const isUnauthenticated = status.status === "error" && status.auth.status === "unauthenticated";
const incompatible = getIncompatibleVersion(status);
const title = isUnauthenticated
? `${providerName} is unauthenticated`
? `Sign in to ${providerName}`
: incompatible
? `${providerName} ${status.version ?? ""} is ${incompatible.status === "broken" ? "known to be broken" : "unsupported"}`
: `${providerName} provider status`;
Expand Down
3 changes: 2 additions & 1 deletion apps/web/src/components/chat/TimelinePendingApprovalRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ export const TimelinePendingApprovalRow = memo(function TimelinePendingApprovalR
</>
) : (
<span className="text-warning">
Provider process is gone. Interrupt or restart the run to respond.
The agent process has stopped, so you can no longer answer this approval request.
Interrupt or restart the turn to continue.
</span>
)}
{approval.fullAccessOverride ? (
Expand Down
Loading