Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
magdyksaleh committed Feb 21, 2024
1 parent 4e3ba3b commit bd4137a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clients/python/lorax/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ class Details(BaseModel):
# Decoder input tokens, empty if decoder_input_details is False
prefill: List[InputToken]
# Generated tokens
tokens: Optional[List[Token]]
tokens: List[Token]
# Additional sequences when using the `best_of` parameter
best_of_sequences: Optional[List[BestOfSequence]]

Expand All @@ -289,7 +289,7 @@ class Response(BaseModel):
# Generated text
generated_text: str
# Generation details
details: Details
details: Optional[Details]


# `generate_stream` details
Expand Down

0 comments on commit bd4137a

Please sign in to comment.