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
TypeScript aianthropicartifactsawsazurechatgptchatgpt-cloneclaudeclonedeepseekgeminigooglegpt-5librechatmcpo1openairesponses-apivisionwebui
📂 fix: Add version selection for Assistants Endpoint uploads (#3236)
Danny Avila456793772bd8
diff --git a/client/src/hooks/Files/useFileHandling.ts b/client/src/hooks/Files/useFileHandling.tsindex e814763273..b299373aab 100644--- a/client/src/hooks/Files/useFileHandling.ts+++ b/client/src/hooks/Files/useFileHandling.ts@@ -165,6 +165,13 @@ const useFileHandling = (params?: UseFileHandling) => {formData.append('model', conversation?.model ?? '');formData.append('message_file', 'true');}+ if (isAssistantsEndpoint(endpoint) && !formData.get('version')) {+ const endpointsConfig = queryClient.getQueryData<TEndpointsConfig>([QueryKeys.endpoints]);+ const version = endpointsConfig?.[endpoint]?.version ?? defaultAssistantsVersion[endpoint];+ formData.append('version', version);+ formData.append('model', conversation?.model ?? '');+ formData.append('message_file', 'true');+ }formData.append('endpoint', endpoint);