Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions provider/openai/openai.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,7 @@ func (c *Client) GetSummaryPrefix(ctx context.Context, content string) (*core.Re
var err error

// For known models that don't support function calls, use regular completion directly
if checkOSeriesModels.MatchString(c.model) ||
strings.Contains(strings.ToLower(c.model), "deepseek") {
if checkOSeriesModels.MatchString(c.model) {
resp, err = c.CreateChatCompletion(ctx, content)
if err != nil || len(resp.Choices) != 1 {
return nil, err
Expand Down
Loading