Librechat-Mobile/core
Garfie 2b44937368 fix(chat): wire format for custom and user_provided endpoints (#60)
ChatPayloadBuilder caught EModelEndpoint.valueOf for custom endpoint
names (OpenRouter, Deepseek, etc.) and silently sent endpoint=agents,
producing 403 "Forbidden: Insufficient permissions" on the server.

Type endpoint identity as String end-to-end, add EndpointClassifier to
derive endpointType / key / modelDisplayLabel from /api/config, and
propagate the dispatch fields to all five chat-send sites in
ChatViewModel (doSendMessage, editUserMessage, editAiMessage,
regenerateMessageNow, continueGenerationNow). A normalization shim in
ConversationMapper converts legacy enum-name rows in the Room cache
back to wire format on read.

Verified end-to-end against a docker LibreChat v0.8.5 instance with
OpenRouter user_provided keys; built-in .env Anthropic regression also
passes.
2026-04-28 20:21:28 -06:00
..
common feat(common): include patch in backend version compatibility checks 2026-04-27 01:01:37 -06:00
data fix(chat): wire format for custom and user_provided endpoints (#60) 2026-04-28 20:21:28 -06:00
model fix(chat): wire format for custom and user_provided endpoints (#60) 2026-04-28 20:21:28 -06:00
network chore(sync): sync to upstream LibreChat v0.8.5 2026-04-26 23:48:14 -06:00
ui fix(chat): wire format for custom and user_provided endpoints (#60) 2026-04-28 20:21:28 -06:00