mirror of
https://github.com/router-for-me/CLIProxyAPIPlus.git
synced 2026-04-26 15:25:16 +00:00
feat(github-copilot): add /responses support for gpt-4o and gpt-4.1
This commit is contained in:
@@ -151,6 +151,7 @@ func GetGitHubCopilotModels() []*ModelInfo {
|
|||||||
Description: "OpenAI GPT-4.1 via GitHub Copilot",
|
Description: "OpenAI GPT-4.1 via GitHub Copilot",
|
||||||
ContextLength: 128000,
|
ContextLength: 128000,
|
||||||
MaxCompletionTokens: 16384,
|
MaxCompletionTokens: 16384,
|
||||||
|
SupportedEndpoints: []string{"/chat/completions", "/responses"},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -165,6 +166,7 @@ func GetGitHubCopilotModels() []*ModelInfo {
|
|||||||
Description: entry.Description,
|
Description: entry.Description,
|
||||||
ContextLength: 128000,
|
ContextLength: 128000,
|
||||||
MaxCompletionTokens: 16384,
|
MaxCompletionTokens: 16384,
|
||||||
|
SupportedEndpoints: []string{"/chat/completions", "/responses"},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user