1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-08-04 21:42:57 +02:00

add string function

This commit is contained in:
asim
2025-07-15 20:43:42 +01:00
parent 3cf5540b0f
commit f99a205b2b
5 changed files with 14 additions and 1 deletions

View File

@ -156,6 +156,10 @@ func (g *gemini) Stream(prompt string, opts ...genai.Option) (*genai.Stream, err
return &genai.Stream{Results: results}, nil
}
func (g *gemini) String() string {
return "gemini"
}
func init() {
genai.Register("gemini", New())
}