Merge pull request #416 from ladeng07/main

feat(github-copilot): add /responses support for gpt-4o and gpt-4.1
This commit is contained in:
Luis Pater
2026-03-06 02:25:10 +08:00
committed by GitHub

View File

@@ -151,6 +151,7 @@ func GetGitHubCopilotModels() []*ModelInfo {
Description: "OpenAI GPT-4.1 via GitHub Copilot",
ContextLength: 128000,
MaxCompletionTokens: 16384,
SupportedEndpoints: []string{"/chat/completions", "/responses"},
},
}
@@ -165,6 +166,7 @@ func GetGitHubCopilotModels() []*ModelInfo {
Description: entry.Description,
ContextLength: 128000,
MaxCompletionTokens: 16384,
SupportedEndpoints: []string{"/chat/completions", "/responses"},
})
}