Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(server): continue threads after usage limits reset #12831

Closeditpropro(GitHub profile, opens in a new tab)wants to merge 3 commits intomain fromrefs/pull/12831/headopened View on GitHub

Showing 42 changed files with 85 additions and 1 deletion (loading 39).

x
0 of 42 viewed, 42 left
76 additions and 1 deletionapps/mobile/src/features/settings/SettingsServerControlsRouteScreen.tsxModified
View file
@@ -1,7 +1,9 @@
import { ScreenScrollView as ScrollView } from "../../components/ScreenScrollView";
import { SymbolView } from "../../components/AppSymbol";
-import { AppText as Text } from "../../components/AppText";
+import { AppText as Text, AppTextInput } from "../../components/AppText";
import {
+ PROVIDER_SEND_TURN_MAX_INPUT_CHARS,
+ UsageLimitContinuationPrompt,
type ResponseStreamingMode,
type ServerSettings,
type ServerSettingsPatch,
@@ -10,6 +12,7 @@
type ProjectScopedServerSettingKey,
} from "@t3tools/contracts";
import { useRef, useState, type ComponentProps } from "react";
+import * as Schema from "effect/Schema";
import { Alert, Platform, Pressable, View } from "react-native";
import { useSafeAreaInsets } from "react-native-safe-area-context";
​
@@ -33,6 +36,8 @@
type ScopedMobileSettingsTarget,
} from "./settings-scoped-server";
​
+const isUsageLimitContinuationPrompt = Schema.is(UsageLimitContinuationPrompt);
+​
type SettingsPage = "new-threads" | "source-control" | "agent-behavior" | "maintenance";
​
const PAGE_TITLES: Record<SettingsPage, string> = {