Closed tjohnman closed 4 months ago
OpenRouter's API OpenAI-compatible URL has a trailing /api, which the normalizeEndpoint normally removes, making all requests to OpenRouter fail. This commit makes it so this does not happen.
normalizeEndpoint
"Anything that can go wrong, will go wrong", huh. I guess it’s my fault for not taking better care of what was being removed. Thank you for the fix!
OpenRouter's API OpenAI-compatible URL has a trailing /api, which the
normalizeEndpoint
normally removes, making all requests to OpenRouter fail. This commit makes it so this does not happen.