Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(v2): show provider limit stops as Limited #12677

Mergedjuliusmarmingemerged 10 commits intot3code/codex-turn-mapping fromrefs/pull/12677/headmerged by juliusmarminge View on GitHub

Showing 39 changed files with 50 additions and 9 deletions (loading 36).

x
0 of 39 viewed, 39 left
5 additions and 2 deletionsapps/mobile/src/features/threads/thread-list-v2-items.tsxModified
View file
@@ -70,6 +70,7 @@
input: { label: "Input", className: "text-adaptive-indigo-600-300" },
working: { label: "Working", className: "text-adaptive-sky-600-400" },
failed: { label: "Failed", className: "text-danger-foreground" },
+ limited: { label: "Limited", className: "text-warning-foreground" },
};
​
function threadTimeLabel(thread: EnvironmentThreadShell): string {
@@ -914,13 +915,15 @@
</View>
) : null}
<View className="mt-1 flex-row items-center gap-2">
- {status === "failed" && thread.runtime?.lastError ? (
+ {(status === "failed" || status === "limited") && thread.runtime?.lastError ? (
<Text
className={cn(
"flex-1 text-xs",
selected
? selectedThreadRowColors.mutedForegroundClassName
- : "text-danger-foreground",
+ : status === "limited"
+ ? "text-warning-foreground"
+ : "text-danger-foreground",
numberOfLines={1}
16 additions and 7 deletionsapps/mobile/src/features/threads/thread-work-log.tsxModified
View file