mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
17 lines
224 B
Go
17 lines
224 B
Go
package provider
|
|
|
|
type Provider int
|
|
|
|
const (
|
|
OpenAI Provider = iota
|
|
Anthropic
|
|
Google
|
|
)
|
|
|
|
func (p Provider) String() string {
|
|
return []string{
|
|
"openai",
|
|
"anthropic",
|
|
"google",
|
|
}[p]
|
|
} |