Skip to content

Commit 9ac5a26

Browse files
committed
up
Signed-off-by: Yan Chunwei <[email protected]>
1 parent 54ffc7c commit 9ac5a26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorrt_llm/llmapi/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ def generate_api_docs_as_docstring(model: Type[BaseModel],
517517
arg_line = f"{indent} {field_name} ({type_str}): "
518518
if status := field_info.get("status", None):
519519
arg_line += f":tag:`{status}` "
520-
else:
520+
elif LABEL_STABLE_APIS:
521521
arg_line += f":tag:`stable` "
522522

523523
if field_description:

0 commit comments

Comments
 (0)