feat: migrate iFlow provider to Qoder AI (#660)

This commit is contained in:
diegosouzapw
2026-03-28 23:35:59 -03:00
parent bf76da3222
commit a5393a3ec4
268 changed files with 1339 additions and 1359 deletions

View File

@@ -434,7 +434,7 @@ export default function OAuthModal({
}, [authData, exchangeTokens]);
// Fix #344: Detect when OAuth popup is closed without completing authorization
// Some providers (like iFlow) redirect to their own chat UI instead of sending a callback,
// Some providers (like Qoder) redirect to their own chat UI instead of sending a callback,
// leaving the modal stuck at "Waiting for Authorization" forever.
useEffect(() => {
if (step !== "waiting" || isDeviceCode || !popupRef.current) return;
@@ -535,7 +535,7 @@ export default function OAuthModal({
Complete the authorization in the popup window.
</p>
<p className="text-xs text-text-muted mb-4 opacity-70">
If the popup closes without redirecting back (e.g. iFlow), this dialog will
If the popup closes without redirecting back (e.g. Qoder), this dialog will
automatically switch to manual URL input mode.
</p>
<Button variant="ghost" onClick={() => setStep("input")}>

View File

@@ -19,7 +19,7 @@ export const PROVIDER_COLORS = {
codex: { bg: "#10A37F", text: "#fff", label: "Codex" },
gemini: { bg: "#34A853", text: "#fff", label: "Gemini" },
qwen: { bg: "#6366F1", text: "#fff", label: "Qwen" },
iflow: { bg: "#EC4899", text: "#fff", label: "iFlow" },
qoder: { bg: "#EC4899", text: "#fff", label: "Qoder" },
fireworks: { bg: "#F97316", text: "#fff", label: "Fireworks" },
kimi: { bg: "#06B6D4", text: "#fff", label: "Kimi" },
"gemini-cli": { bg: "#34A853", text: "#fff", label: "Gemini CLI" },

View File

@@ -277,7 +277,7 @@ export const DEFAULT_PRICING = {
},
},
// iFlow AI (if)
// Qoder AI (if)
if: {
"qwen3-coder-plus": {
input: 1.0,

View File

@@ -2,7 +2,7 @@
// Free Providers
export const FREE_PROVIDERS = {
iflow: { id: "iflow", alias: "if", name: "iFlow AI", icon: "water_drop", color: "#6366F1" },
qoder: { id: "qoder", alias: "if", name: "Qoder AI", icon: "water_drop", color: "#6366F1" },
qwen: { id: "qwen", alias: "qw", name: "Qwen Code", icon: "psychology", color: "#10B981" },
"gemini-cli": {
id: "gemini-cli",