Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(devin): add Devin provider and ACP capability parity #10913

Closedmzakyali(GitHub profile, opens in a new tab)wants to merge 32 commits intomain fromrefs/pull/10913/headopened View on GitHub

Showing 122 changed files with 84 additions and 1 deletion (loading 118).

x
0 of 122 viewed, 122 left
0 additions and 0 deletionsapps/mobile/assets/devin-logo.webpAdded
View file

Binary file. Open the Preview tab to see it.

79 additions and 1 deletionapps/mobile/src/components/ProviderIcon.tsxModified
View file
@@ -1,9 +1,13 @@
import { Image } from "expo-image";
-import { Path, Svg } from "react-native-svg";
+import { Image as NativeImage } from "react-native";
+import { Circle, Path, Rect, Svg } from "react-native-svg";
import { useAppearancePreferences } from "../features/settings/appearance/AppearancePreferencesProvider";
​
+const DEVIN_LOGO = require("../../assets/devin-logo.webp") as number;
+​
type ProviderIconProps = {
readonly provider: string | null | undefined;
+ readonly model?: string | null | undefined;
readonly size?: number;
};
​
@@ -12,6 +16,65 @@
const isDarkMode = themeAppearance === "dark";
const size = props.size ?? 16;
const mono = isDarkMode ? "#e5e5e5" : "#171717";
+ const modelIdentity = props.model?.toLowerCase() ?? "";
+​
+ if (props.provider === "devin" && modelIdentity) {
+ if (modelIdentity.includes("claude")) {
+ return <ProviderIcon provider="claudeAgent" size={size} />;
+ }
+ if (modelIdentity.includes("gpt") || modelIdentity.includes("codex")) {
+ return <ProviderIcon provider="codex" size={size} />;