Skip to content

Commit 8e1d80d

Browse files
committed
fix(copy): clarify provider errors and recovery
1 parent 66ee628 commit 8e1d80d

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎apps/mobile/src/features/connection/EnvironmentConnectionNotice.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function noticeTitle(phase: EnvironmentConnectionPhase, environmentLabel: string
1919
case "reconnecting":
2020
return `Reconnecting to ${environmentLabel}...`;
2121
case "unsupported":
22-
return "Client not supported";
22+
return `Can't connect to ${environmentLabel}`;
2323
case "error":
2424
return `${environmentLabel} is unavailable`;
2525
case "available":

‎apps/mobile/src/features/threads/PendingApprovalCard.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ export function PendingApprovalCard(props: PendingApprovalCardProps) {
7373
) : null}
7474
{!canRespond ? (
7575
<Text className="font-sans text-sm leading-5 text-foreground-muted">
76-
The provider process for this request is no longer available. Interrupt or restart the run
77-
to continue.
76+
The agent process has stopped, so you can no longer answer this approval request.
77+
Interrupt or restart the turn to continue.
7878
</Text>
7979
) : null}
8080
{warning ? (

‎apps/web/src/components/chat/ComposerPendingApprovalPanel.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export const ComposerPendingApprovalPanel = memo(function ComposerPendingApprova
8383
tabIndex={0}
8484
>
8585
{approval.responseCapability === "not_resumable"
86-
? "Provider process is gone. Interrupt or restart the run to respond."
86+
? "The agent process has stopped, so you can no longer answer this approval request. Interrupt or restart the turn to continue."
8787
: approval.detail || fallbackLabel}
8888
</Detail>
8989
{approval.reason ? (

‎apps/web/src/components/chat/ProviderStatusBanner.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export function getProviderStatusMessage(status: ServerProvider): string {
8383
? "No models are available for this provider."
8484
: status.status === "error"
8585
? `${providerName} provider is unavailable.`
86-
: `${providerName} provider has limited availability.`;
86+
: `T3 Code encountered a problem with ${providerName}.`;
8787
}
8888

8989
export const ProviderStatusBanner = memo(function ProviderStatusBanner({
@@ -103,7 +103,7 @@ export const ProviderStatusBanner = memo(function ProviderStatusBanner({
103103
const isUnauthenticated = status.status === "error" && status.auth.status === "unauthenticated";
104104
const incompatible = getIncompatibleVersion(status);
105105
const title = isUnauthenticated
106-
? `${providerName} is unauthenticated`
106+
? `Sign in to ${providerName}`
107107
: incompatible
108108
? `${providerName} ${status.version ?? ""} is ${incompatible.status === "broken" ? "known to be broken" : "unsupported"}`
109109
: `${providerName} provider status`;

0 commit comments

Comments
 (0)