Skip to content

Commit

Permalink
Remove stop sequence sparam
Browse files Browse the repository at this point in the history
  • Loading branch information
hupe1980 committed Dec 7, 2023
1 parent 815c541 commit 681b4d5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions model/chatmodel/bedrock.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,6 @@ func (bioa *BedrockInputOutputAdapter) PrepareInput(messages schema.ChatMessages
}

body["prompt"] = p

if len(stop) > 0 {
body["stop_sequences"] = stop
}
default:
return nil, fmt.Errorf("unsupported provider: %s", bioa.provider)
}
Expand Down

0 comments on commit 681b4d5

Please sign in to comment.