SwiftOpenAI icon indicating copy to clipboard operation
SwiftOpenAI copied to clipboard

Fix issue where path components are discarded for custom URLs

Open provencher opened this issue 8 months ago • 5 comments

Previously, with custom providers, like Fireworks, parts of the path were being discarded preceeding the v1 version tag.

As a result, this meant that many providers would result in 404 errors trying to make api calls.

This fix properly combines all path components when making a request.

provencher avatar Feb 21 '25 21:02 provencher