mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-12 04:44:52 +00:00
fix: adjust return type
This commit is contained in:
parent
26b954dfd3
commit
40658f4e84
@ -121,7 +121,7 @@ async fn get_model_info(info: Extension<Info>) -> Json<Info> {
|
||||
tag = "Text Generation Inference",
|
||||
path = "/chat_tokenize",
|
||||
request_body = ChatRequest,
|
||||
responses((status = 200, description = "Templated Chat Request", body = Value))
|
||||
responses((status = 200, description = "Templated and tokenized ChatRequest", body = ChatTokenizeResponse))
|
||||
)]
|
||||
async fn get_chat_tokenize(
|
||||
Extension(infer): Extension<Infer>,
|
||||
|
Loading…
Reference in New Issue
Block a user