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

🔖 fix: bookmark error using CosmosDB - Added `index` to position field in schema (#4296)

bijucyborgee5b96a7c855
diff --git a/api/models/schema/conversationTagSchema.js b/api/models/schema/conversationTagSchema.js
index f00a0cfce9..9b2a98c6d8 100644
--- a/api/models/schema/conversationTagSchema.js
+++ b/api/models/schema/conversationTagSchema.js
@@ -21,6 +21,7 @@ const conversationTagSchema = mongoose.Schema(
position: {
type: Number,
default: 0,
+ index: true,
},
},
{ timestamps: true },