Skip to content

Self-improving AI Employees for everyone

fix: subagent name sanitization, agent node label, teammate UI visibility

trohitg3435beff9231
diff --git a/client/src/components/AIAgentNode.tsx b/client/src/components/AIAgentNode.tsx
index a7319b32..2a6dc120 100644
--- a/client/src/components/AIAgentNode.tsx
+++ b/client/src/components/AIAgentNode.tsx
@@ -573,7 +573,7 @@ const AIAgentNode: React.FC<NodeProps<NodeData>> = ({ id, type, data, isConnecta
lineHeight: '1.2',
marginBottom: theme.spacing.xs
}}>
- {config.title}
+ {data?.label || config.title}
</div>
{/* Subtitle */}
diff --git a/client/src/components/parameterPanel/InputSection.tsx b/client/src/components/parameterPanel/InputSection.tsx
index 5985e34c..db19d0a5 100644
--- a/client/src/components/parameterPanel/InputSection.tsx
+++ b/client/src/components/parameterPanel/InputSection.tsx
@@ -64,7 +64,7 @@ const InputSection: React.FC<InputSectionProps> = ({ nodeId, visible = true }) =
// Examples: input-memory, input-tools, input-model, input-skill
// Non-config (primary data) handles: input-main, input-chat, input-task
// Note: input-task is for taskTrigger node output which should be visible as draggable variables
- if (handle.startsWith('input-') && handle !== 'input-main' && handle !== 'input-chat' && handle !== 'input-task') {
+ if (handle.startsWith('input-') && handle !== 'input-main' && handle !== 'input-chat' && handle !== 'input-task' && handle !== 'input-teammates') {
return true;
}
return false;
diff --git a/server/config/model_registry.json b/server/config/model_registry.json
index a7377807..a54d7fc9 100644
--- a/server/config/model_registry.json
+++ b/server/config/model_registry.json
@@ -1,7 +1,7 @@
{
- "_generated": "2026-04-08T16:06:31.039818+00:00",
+ "_generated": "2026-04-09T16:14:16.145470+00:00",
"_source": "openrouter",
- "_model_count": 352,
+ "_model_count": 351,
"models": {
"anthropic/claude-opus-4.6-fast": {
"id": "anthropic/claude-opus-4.6-fast",
@@ -39,9 +39,9 @@
"provider": "z-ai",
"local_id": "glm-5.1",
"context_length": 202752,
- "max_output_tokens": 0,
- "input_price_per_mtok": 1.26,
- "output_price_per_mtok": 3.96,
+ "max_output_tokens": 131072,
+ "input_price_per_mtok": 1.395,
+ "output_price_per_mtok": 4.4,
"supports_thinking": false,
"thinking_type": "none",
"temperature_range": [
@@ -637,6 +637,7 @@
"temperature",
"tool_choice",
"tools",
+ "top_k",
"top_p"
]
},
@@ -1622,33 +1623,6 @@
"top_p"
]
},
- "stepfun/step-3.5-flash:free": {
- "id": "stepfun/step-3.5-flash:free",
- "name": "StepFun: Step 3.5 Flash (free)",
- "provider": "stepfun",
- "local_id": "step-3.5-flash:free",
- "context_length": 256000,
- "max_output_tokens": 256000,
- "input_price_per_mtok": 0.0,
- "output_price_per_mtok": 0.0,
- "supports_thinking": false,
- "thinking_type": "none",
- "temperature_range": [
- 0.0,
- 2.0
- ],
- "is_reasoning_model": false,
- "supported_parameters": [
- "frequency_penalty",
- "include_reasoning",
- "max_tokens",
- "reasoning",
- "stop",
- "temperature",
- "tools",
- "top_p"
- ]
- },
"stepfun/step-3.5-flash": {
"id": "stepfun/step-3.5-flash",
"name": "StepFun: Step 3.5 Flash",
@@ -2109,8 +2083,8 @@
"provider": "minimax",
"local_id": "minimax-m2.1",
"context_length": 196608,
- "max_output_tokens": 0,
- "input_price_per_mtok": 0.27,
+ "max_output_tokens": 196608,
+ "input_price_per_mtok": 0.29,
"output_price_per_mtok": 0.95,
"supports_thinking": false,
"thinking_type": "none",
diff --git a/server/services/agents/adapters.py b/server/services/agents/adapters.py
index 69ef9339..c768b0ba 100644
--- a/server/services/agents/adapters.py
+++ b/server/services/agents/adapters.py
@@ -116,7 +116,7 @@ class SubAgentAdapter:
for tm in teammates:
params = tm.get("parameters", {})
label = tm.get("label", tm.get("node_type", "agent"))
- name = label
+ name = label.lower().replace(" ", "-")
while name in seen:
name = f"{name}_{len(seen)}"
seen.add(name)
diff --git a/server/services/claude_code_service.py b/server/services/claude_code_service.py
index 633fba02..183404f9 100644
--- a/server/services/claude_code_service.py
+++ b/server/services/claude_code_service.py
@@ -48,7 +48,7 @@ class ClaudeCodeService:
]
if max_budget_usd > 0:
- cmd += ["--max-cost", str(max_budget_usd)]
+ cmd += ["--max-budget-usd", str(max_budget_usd)]
# Resume existing session for this node
session_id = self._session_map.get(node_id)