Skip to content

Commit 0f4a130

Browse files
shivamhwpclaude
andauthored
fix(codex): explain speed limits on managed connections (#30322)
Co-authored-by: Claude Opus 5.5 <[email protected]>
1 parent f8c7c75 commit 0f4a130

3 files changed

Lines changed: 33 additions & 4 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export function ChatGptSharingStatus({ provider }: { provider: ServerProvider |
1919
[
2020
provider?.auth.email,
2121
"Eligible usage uses your ChatGPT plan. Credit settings and limits are managed in ChatGPT.",
22+
"Fast and Ultrafast are unavailable with this ChatGPT connection. Use an existing Codex CLI login for speed options your account supports.",
2223
]
2324
.filter(Boolean)
2425
.join("\n\n"),

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

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,36 @@
11
import { usesChatGptSharing } from "@t3tools/shared/usageLimits";
22
import type { ServerProvider } from "@t3tools/contracts";
3+
import { useId } from "react";
34
import { OpenAI } from "../Icons";
45
import { ChatGptUsageButton } from "../settings/ChatGptUsageButton";
6+
import { Tooltip, TooltipPopup, TooltipTrigger } from "../ui/tooltip";
7+
8+
const speedNotice =
9+
"Fast and Ultrafast are unavailable with this ChatGPT connection. Use an existing Codex CLI login for speed options your account supports.";
510

611
export function ChatGptSharingControl({ provider }: { provider: ServerProvider | null }) {
12+
const speedNoticeId = useId();
713
if (!usesChatGptSharing(provider)) return null;
814
return (
915
<div className="flex items-center justify-between gap-4 border-t px-3 py-2">
10-
<span className="flex items-center gap-2 text-xs text-muted-foreground">
11-
<OpenAI className="size-3.5" aria-hidden="true" />
12-
Using ChatGPT plan
13-
</span>
16+
<Tooltip>
17+
<TooltipTrigger
18+
render={
19+
<span
20+
aria-describedby={speedNoticeId}
21+
tabIndex={0}
22+
className="flex items-center gap-2 rounded-sm text-xs text-muted-foreground outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring"
23+
/>
24+
}
25+
>
26+
<OpenAI className="size-3.5" aria-hidden="true" />
27+
Using ChatGPT plan
28+
</TooltipTrigger>
29+
<span id={speedNoticeId} className="sr-only">
30+
{speedNotice}
31+
</span>
32+
<TooltipPopup side="top">{speedNotice}</TooltipPopup>
33+
</Tooltip>
1434
<ChatGptUsageButton size="xs" />
1535
</div>
1636
);

‎docs/user/providers-codex.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ Manage shared usage and credits in ChatGPT through **Manage usage** in T3 Code.
1212
If a request uses a feature that ChatGPT sharing does not support, use another
1313
provider for that request.
1414

15+
Fast and Ultrafast speeds are unavailable with this connection. To use the speed
16+
options your account supports, [use an existing Codex login](#use-an-existing-codex-login).
17+
1518
When reconnecting, choose the same account in T3 Code and on OpenAI's sign-in
1619
page. Disconnecting stops running threads but keeps their history and lets you
1720
reconnect later.
@@ -25,6 +28,11 @@ T3 Code can use your installed Codex and its existing login. Run `codex login`
2528
on the environment's machine to sign in. [Provider setup](./install.md#providers)
2629
covers installation and custom configuration.
2730

31+
Running `codex login` does not change a managed ChatGPT connection. In
32+
**Settings > Providers**, add a Codex instance, choose **Configure manually**,
33+
and complete the wizard. Then select that instance from the thread's model
34+
picker. See [Use multiple accounts](#use-multiple-accounts).
35+
2836
## Use multiple accounts
2937

3038
Add another ChatGPT account in **Settings → Providers**, then select the account

0 commit comments

Comments
 (0)