fix: add /think and /no-think added to API to run with ollama
This commit is contained in:
@ -28,7 +28,7 @@ func newAnthropic(apiKey, model string) *anthropicProvider {
|
||||
|
||||
func (p *anthropicProvider) Name() string { return "anthropic" }
|
||||
|
||||
func (p *anthropicProvider) Summarize(ctx context.Context, prompt string) (string, error) {
|
||||
func (p *anthropicProvider) Summarize(ctx context.Context, prompt string, _ GenOptions) (string, error) {
|
||||
body := map[string]interface{}{
|
||||
"model": p.model,
|
||||
"max_tokens": 4096,
|
||||
|
||||
Reference in New Issue
Block a user