mirror of
https://github.com/router-for-me/Cli-Proxy-API-Management-Center.git
synced 2026-04-25 15:45:53 +03:00
[PR #73] [MERGED] Fix OpenAI test endpoint to preserve /v1 base path #87
Labels
No labels
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Cli-Proxy-API-Management-Center#87
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/router-for-me/Cli-Proxy-API-Management-Center/pull/73
Author: @LTbinglingfeng
Created: 1/29/2026
Status: ✅ Merged
Merged: 1/29/2026
Merged by: @LTbinglingfeng
Base:
dev← Head:codex/fix-base-url-handling-for-openai-interface📝 Commits (1)
ab86fcfFix OpenAI test endpoint base URL📊 Changes
1 file changed (+0 additions, -3 deletions)
View changed files
📝
src/components/providers/utils.ts(+0 -3)📄 Description
Motivation
/v1from the configured Base URL, which caused test requests to target the wrong path and return 404 instead of appending the request path to the user-provided URL.Description
buildOpenAIChatCompletionsEndpointso it no longer strips/v1and now always appends/chat/completionsto the normalized base URL insrc/components/providers/utils.ts.Testing
Codex Task
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.