fix: add /think and /no-think added to API to run with ollama
This commit is contained in:
@ -28,7 +28,7 @@ func newGemini(apiKey, model string) *geminiProvider {
|
||||
|
||||
func (p *geminiProvider) Name() string { return "gemini" }
|
||||
|
||||
func (p *geminiProvider) Summarize(ctx context.Context, prompt string) (string, error) {
|
||||
func (p *geminiProvider) Summarize(ctx context.Context, prompt string, _ GenOptions) (string, error) {
|
||||
url := fmt.Sprintf(
|
||||
"https://generativelanguage.googleapis.com/v1beta/models/%s:generateContent?key=%s",
|
||||
p.model, p.apiKey,
|
||||
|
||||
Reference in New Issue
Block a user