chore: remove iFlow-related modules and dependencies
- Deleted `iflow` provider implementation, including thinking configuration (`apply.go`) and authentication modules. - Removed iFlow-specific tests, executors, and helpers across SDK and internal components. - Updated all references to exclude iFlow functionality.
This commit is contained in:
@@ -17,7 +17,6 @@ type staticModelsJSON struct {
|
||||
CodexTeam []*ModelInfo `json:"codex-team"`
|
||||
CodexPlus []*ModelInfo `json:"codex-plus"`
|
||||
CodexPro []*ModelInfo `json:"codex-pro"`
|
||||
IFlow []*ModelInfo `json:"iflow"`
|
||||
Kimi []*ModelInfo `json:"kimi"`
|
||||
Antigravity []*ModelInfo `json:"antigravity"`
|
||||
}
|
||||
@@ -67,11 +66,6 @@ func GetCodexProModels() []*ModelInfo {
|
||||
return cloneModelInfos(getModels().CodexPro)
|
||||
}
|
||||
|
||||
// GetIFlowModels returns the standard iFlow model definitions.
|
||||
func GetIFlowModels() []*ModelInfo {
|
||||
return cloneModelInfos(getModels().IFlow)
|
||||
}
|
||||
|
||||
// GetKimiModels returns the standard Kimi (Moonshot AI) model definitions.
|
||||
func GetKimiModels() []*ModelInfo {
|
||||
return cloneModelInfos(getModels().Kimi)
|
||||
@@ -104,7 +98,6 @@ func cloneModelInfos(models []*ModelInfo) []*ModelInfo {
|
||||
// - gemini-cli
|
||||
// - aistudio
|
||||
// - codex
|
||||
// - iflow
|
||||
// - kimi
|
||||
// - antigravity
|
||||
func GetStaticModelDefinitionsByChannel(channel string) []*ModelInfo {
|
||||
@@ -122,8 +115,6 @@ func GetStaticModelDefinitionsByChannel(channel string) []*ModelInfo {
|
||||
return GetAIStudioModels()
|
||||
case "codex":
|
||||
return GetCodexProModels()
|
||||
case "iflow":
|
||||
return GetIFlowModels()
|
||||
case "kimi":
|
||||
return GetKimiModels()
|
||||
case "antigravity":
|
||||
@@ -148,7 +139,6 @@ func LookupStaticModelInfo(modelID string) *ModelInfo {
|
||||
data.GeminiCLI,
|
||||
data.AIStudio,
|
||||
data.CodexPro,
|
||||
data.IFlow,
|
||||
data.Kimi,
|
||||
data.Antigravity,
|
||||
}
|
||||
|
||||
@@ -213,7 +213,6 @@ func detectChangedProviders(oldData, newData *staticModelsJSON) []string {
|
||||
{"codex", oldData.CodexTeam, newData.CodexTeam},
|
||||
{"codex", oldData.CodexPlus, newData.CodexPlus},
|
||||
{"codex", oldData.CodexPro, newData.CodexPro},
|
||||
{"iflow", oldData.IFlow, newData.IFlow},
|
||||
{"kimi", oldData.Kimi, newData.Kimi},
|
||||
{"antigravity", oldData.Antigravity, newData.Antigravity},
|
||||
}
|
||||
@@ -334,7 +333,6 @@ func validateModelsCatalog(data *staticModelsJSON) error {
|
||||
{name: "codex-team", models: data.CodexTeam},
|
||||
{name: "codex-plus", models: data.CodexPlus},
|
||||
{name: "codex-pro", models: data.CodexPro},
|
||||
{name: "iflow", models: data.IFlow},
|
||||
{name: "kimi", models: data.Kimi},
|
||||
{name: "antigravity", models: data.Antigravity},
|
||||
}
|
||||
|
||||
@@ -1602,187 +1602,6 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
"iflow": [
|
||||
{
|
||||
"id": "qwen3-coder-plus",
|
||||
"object": "model",
|
||||
"created": 1753228800,
|
||||
"owned_by": "iflow",
|
||||
"type": "iflow",
|
||||
"display_name": "Qwen3-Coder-Plus",
|
||||
"description": "Qwen3 Coder Plus code generation"
|
||||
},
|
||||
{
|
||||
"id": "qwen3-max",
|
||||
"object": "model",
|
||||
"created": 1758672000,
|
||||
"owned_by": "iflow",
|
||||
"type": "iflow",
|
||||
"display_name": "Qwen3-Max",
|
||||
"description": "Qwen3 flagship model"
|
||||
},
|
||||
{
|
||||
"id": "qwen3-vl-plus",
|
||||
"object": "model",
|
||||
"created": 1758672000,
|
||||
"owned_by": "iflow",
|
||||
"type": "iflow",
|
||||
"display_name": "Qwen3-VL-Plus",
|
||||
"description": "Qwen3 multimodal vision-language"
|
||||
},
|
||||
{
|
||||
"id": "qwen3-max-preview",
|
||||
"object": "model",
|
||||
"created": 1757030400,
|
||||
"owned_by": "iflow",
|
||||
"type": "iflow",
|
||||
"display_name": "Qwen3-Max-Preview",
|
||||
"description": "Qwen3 Max preview build",
|
||||
"thinking": {
|
||||
"levels": [
|
||||
"none",
|
||||
"auto",
|
||||
"minimal",
|
||||
"low",
|
||||
"medium",
|
||||
"high",
|
||||
"xhigh"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "glm-4.6",
|
||||
"object": "model",
|
||||
"created": 1759190400,
|
||||
"owned_by": "iflow",
|
||||
"type": "iflow",
|
||||
"display_name": "GLM-4.6",
|
||||
"description": "Zhipu GLM 4.6 general model",
|
||||
"thinking": {
|
||||
"levels": [
|
||||
"none",
|
||||
"auto",
|
||||
"minimal",
|
||||
"low",
|
||||
"medium",
|
||||
"high",
|
||||
"xhigh"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "kimi-k2",
|
||||
"object": "model",
|
||||
"created": 1752192000,
|
||||
"owned_by": "iflow",
|
||||
"type": "iflow",
|
||||
"display_name": "Kimi-K2",
|
||||
"description": "Moonshot Kimi K2 general model"
|
||||
},
|
||||
{
|
||||
"id": "deepseek-v3.2",
|
||||
"object": "model",
|
||||
"created": 1759104000,
|
||||
"owned_by": "iflow",
|
||||
"type": "iflow",
|
||||
"display_name": "DeepSeek-V3.2-Exp",
|
||||
"description": "DeepSeek V3.2 experimental",
|
||||
"thinking": {
|
||||
"levels": [
|
||||
"none",
|
||||
"auto",
|
||||
"minimal",
|
||||
"low",
|
||||
"medium",
|
||||
"high",
|
||||
"xhigh"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "deepseek-v3.1",
|
||||
"object": "model",
|
||||
"created": 1756339200,
|
||||
"owned_by": "iflow",
|
||||
"type": "iflow",
|
||||
"display_name": "DeepSeek-V3.1-Terminus",
|
||||
"description": "DeepSeek V3.1 Terminus",
|
||||
"thinking": {
|
||||
"levels": [
|
||||
"none",
|
||||
"auto",
|
||||
"minimal",
|
||||
"low",
|
||||
"medium",
|
||||
"high",
|
||||
"xhigh"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "deepseek-r1",
|
||||
"object": "model",
|
||||
"created": 1737331200,
|
||||
"owned_by": "iflow",
|
||||
"type": "iflow",
|
||||
"display_name": "DeepSeek-R1",
|
||||
"description": "DeepSeek reasoning model R1"
|
||||
},
|
||||
{
|
||||
"id": "deepseek-v3",
|
||||
"object": "model",
|
||||
"created": 1734307200,
|
||||
"owned_by": "iflow",
|
||||
"type": "iflow",
|
||||
"display_name": "DeepSeek-V3-671B",
|
||||
"description": "DeepSeek V3 671B"
|
||||
},
|
||||
{
|
||||
"id": "qwen3-32b",
|
||||
"object": "model",
|
||||
"created": 1747094400,
|
||||
"owned_by": "iflow",
|
||||
"type": "iflow",
|
||||
"display_name": "Qwen3-32B",
|
||||
"description": "Qwen3 32B"
|
||||
},
|
||||
{
|
||||
"id": "qwen3-235b-a22b-thinking-2507",
|
||||
"object": "model",
|
||||
"created": 1753401600,
|
||||
"owned_by": "iflow",
|
||||
"type": "iflow",
|
||||
"display_name": "Qwen3-235B-A22B-Thinking",
|
||||
"description": "Qwen3 235B A22B Thinking (2507)"
|
||||
},
|
||||
{
|
||||
"id": "qwen3-235b-a22b-instruct",
|
||||
"object": "model",
|
||||
"created": 1753401600,
|
||||
"owned_by": "iflow",
|
||||
"type": "iflow",
|
||||
"display_name": "Qwen3-235B-A22B-Instruct",
|
||||
"description": "Qwen3 235B A22B Instruct"
|
||||
},
|
||||
{
|
||||
"id": "qwen3-235b",
|
||||
"object": "model",
|
||||
"created": 1753401600,
|
||||
"owned_by": "iflow",
|
||||
"type": "iflow",
|
||||
"display_name": "Qwen3-235B-A22B",
|
||||
"description": "Qwen3 235B A22B"
|
||||
},
|
||||
{
|
||||
"id": "iflow-rome-30ba3b",
|
||||
"object": "model",
|
||||
"created": 1736899200,
|
||||
"owned_by": "iflow",
|
||||
"type": "iflow",
|
||||
"display_name": "iFlow-ROME",
|
||||
"description": "iFlow Rome 30BA3B model"
|
||||
}
|
||||
],
|
||||
"kimi": [
|
||||
{
|
||||
"id": "kimi-k2",
|
||||
@@ -2022,4 +1841,4 @@
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user