mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 12:24:53 +00:00
fix: trim trailing spaces
This commit is contained in:
parent
014d3fd4ef
commit
e04c8981d1
@ -79,7 +79,7 @@ class Client:
|
|||||||
top_p: Optional[float] = None,
|
top_p: Optional[float] = None,
|
||||||
tools: Optional[List[Tool]] = None,
|
tools: Optional[List[Tool]] = None,
|
||||||
):
|
):
|
||||||
"""
|
"""
|
||||||
Given a list of messages, generate a response asynchronously
|
Given a list of messages, generate a response asynchronously
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
@ -112,7 +112,7 @@ class Client:
|
|||||||
higher are kept for generation
|
higher are kept for generation
|
||||||
tools (`List[Tool]`):
|
tools (`List[Tool]`):
|
||||||
List of tools to use
|
List of tools to use
|
||||||
|
|
||||||
"""
|
"""
|
||||||
request = ChatRequest(
|
request = ChatRequest(
|
||||||
model="tgi",
|
model="tgi",
|
||||||
@ -413,7 +413,7 @@ class AsyncClient:
|
|||||||
top_p: Optional[float] = None,
|
top_p: Optional[float] = None,
|
||||||
tools: Optional[List[Tool]] = None,
|
tools: Optional[List[Tool]] = None,
|
||||||
):
|
):
|
||||||
"""
|
"""
|
||||||
Given a list of messages, generate a response asynchronously
|
Given a list of messages, generate a response asynchronously
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
|
Loading…
Reference in New Issue
Block a user