15 lines
406 B
Go
15 lines
406 B
Go
// Package qacapability declares Q&A capabilities independently of synthesis and scoring.
|
|
package qacapability
|
|
|
|
// WebSearchSupported deliberately requires an exact provider and model ID.
|
|
func WebSearchSupported(provider, model string) bool {
|
|
if provider != "openai" {
|
|
return false
|
|
}
|
|
switch model {
|
|
case "gpt-6.1-terra", "gpt-6.2-sol", "gpt-6.2-astra", "gpt-6-luna":
|
|
return true
|
|
}
|
|
return false
|
|
}
|