mirror of
https://github.com/danielmiessler/Fabric.git
synced 2026-02-13 23:45:08 -05:00
16 lines
303 B
Go
16 lines
303 B
Go
package gemini_openai
|
|
|
|
import (
|
|
"github.com/danielmiessler/fabric/plugins/ai/openai"
|
|
)
|
|
|
|
func NewClient() (ret *Client) {
|
|
ret = &Client{}
|
|
ret.Client = openai.NewClientCompatible("GeminiOpenAI", "https://generativelanguage.googleapis.com/v1beta", nil)
|
|
return
|
|
}
|
|
|
|
type Client struct {
|
|
*openai.Client
|
|
}
|