Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(server): add Pi provider #13777

Closedt3dotgg(GitHub profile, opens in a new tab)wants to merge 19 commits intomain fromt3code/pi-provider-v1opened View on GitHub

Showing 68 changed files with 27 additions and 1 deletion (loading 65).

x
0 of 68 viewed, 68 left
14 additions and 0 deletionsapps/mobile/src/components/ProviderIcon.tsxModified
View file
@@ -64,6 +64,20 @@
);
​
+ if (props.provider === "pi") {
+ const foreground = isDarkMode ? "#F5F5F5" : "#0F0F0F";
+ return (
+ <Svg width={size} height={size} viewBox="165.29 165.29 469.43 469.43" fill="none">
+ <Path
+ fill={foreground}
+ fillRule="evenodd"
+ d="M165.29 165.29H517.36V400H400V517.36H282.65V634.72H165.29ZM282.65 282.65V400H400V282.65Z"
+ />
+ <Path fill={foreground} d="M517.36 400H634.72V634.72H517.36Z" />
+ </Svg>
+ );
+ }
+​
if (props.provider === "opencode") {
return (
<Svg width={size} height={size} viewBox="0 0 32 40" fill="none">
10 additions and 0 deletionsapps/mobile/src/features/threads/NewTaskDraftScreen.tsxModified
View file
@@ -65,6 +65,7 @@
import { SymbolView } from "../../components/AppSymbol";
import { AppText as Text } from "../../components/AppText";
import { hasProviderUsageLimits, isUsageLimitsCommand } from "@t3tools/shared/usageLimits";
+import { parsePiSessionCommand } from "@t3tools/client-runtime/state/threads";