mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 04:14:52 +00:00
Client modified to accept new string.
The text-generation client can now accept the new string model_id returned by the RUST router
This commit is contained in:
parent
897ed20842
commit
e8ed11be3e
@ -215,6 +215,8 @@ class Response(BaseModel):
|
|||||||
generated_text: str
|
generated_text: str
|
||||||
# Generation details
|
# Generation details
|
||||||
details: Details
|
details: Details
|
||||||
|
# model id
|
||||||
|
model_id: str
|
||||||
|
|
||||||
|
|
||||||
# `generate_stream` details
|
# `generate_stream` details
|
||||||
|
Loading…
Reference in New Issue
Block a user