feat: sync remaining channel and relay updates

This commit is contained in:
OpenClaw Task Bot
2026-04-27 08:56:38 +08:00
parent 0321101ff7
commit 58c0258362
18 changed files with 465 additions and 271 deletions

View File

@@ -291,6 +291,8 @@ func fetchChannelUpstreamModelIDs(channel *model.Channel) ([]string, error) {
} else {
url = fmt.Sprintf("%s/v1/models", baseURL)
}
case constant.ChannelTypeCodexCLIProxy, constant.ChannelTypeGeminiCLIProxy:
url = fmt.Sprintf("%s/models", baseURL)
default:
url = fmt.Sprintf("%s/v1/models", baseURL)
}