Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

🔧 feat(actions): Allow Multiple Actions from Same Domain per Assistant (#2120)

Danny Avila7cddd943d0c1
diff --git a/api/server/routes/assistants/actions.js b/api/server/routes/assistants/actions.js
index 05e528a501..a68187e268 100644
--- a/api/server/routes/assistants/actions.js
+++ b/api/server/routes/assistants/actions.js
@@ -74,14 +74,7 @@ router.post('/:assistant_id', async (req, res) => {
const { actions: _actions = [] } = assistant_data ?? {};
const actions = [];
for (const action of _actions) {
- const [action_domain, current_action_id] = action.split(actionDelimiter);
- if (action_domain === domain && !_action_id) {
- // TODO: dupe check on the frontend
- return res.status(400).json({
- message: `Action sets cannot have duplicate domains - ${domain} already exists on another action`,
- });
- }
-
+ const [_action_domain, current_action_id] = action.split(actionDelimiter);
if (current_action_id === action_id) {
continue;
}