Skip to content

Commit

Permalink
fix: added missing suffix field to completionRequest (TheoKanning#134)
Browse files Browse the repository at this point in the history
Co-authored-by: Ke30 <[email protected]>
  • Loading branch information
dehidehidehi and Ke30 authored Mar 2, 2023
1 parent 93a556e commit 2ade140
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ public class CompletionRequest {
*/
String prompt;

/**
* The suffix that comes after a completion of inserted text.
*/
String suffix;

/**
* The maximum number of tokens to generate.
* Requests can use up to 2048 tokens shared between prompt and completion.
Expand Down

0 comments on commit 2ade140

Please sign in to comment.