包含Go API项目的所有源代码、配置文件、Docker配置、文档和前端资源 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
11 lines
211 B
Go
11 lines
211 B
Go
package minimax
|
|
|
|
import (
|
|
"fmt"
|
|
relaycommon "one-api/relay/common"
|
|
)
|
|
|
|
func GetRequestURL(info *relaycommon.RelayInfo) (string, error) {
|
|
return fmt.Sprintf("%s/v1/text/chatcompletion_v2", info.BaseUrl), nil
|
|
}
|