fix: restore getFullRequestURL
This commit is contained in:
parent
10291630f1
commit
0bcb91e5ef
@ -143,7 +143,8 @@ func relayTextHelper(c *gin.Context, relayMode int) *OpenAIErrorWithStatusCode {
|
||||
} else {
|
||||
deployment = model.ModelToDeployment(textRequest.Model)
|
||||
}
|
||||
fullRequestURL = fmt.Sprintf("%s/openai/deployments/%s/%s", baseURL, deployment, task)
|
||||
requestURL = fmt.Sprintf("/openai/deployments/%s/%s", deployment, task)
|
||||
fullRequestURL = getFullRequestURL(baseURL, requestURL, channelType)
|
||||
}
|
||||
case APITypeClaude:
|
||||
fullRequestURL = "https://api.anthropic.com/v1/complete"
|
||||
|
Loading…
Reference in New Issue
Block a user