Improve a warning
This commit is contained in:
parent
3e0a9f9cdb
commit
d8a82d34ed
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ args_defaults = parser.parse_args([])
|
||||||
# Deprecation warnings
|
# Deprecation warnings
|
||||||
for k in ['chat', 'notebook', 'no_stream']:
|
for k in ['chat', 'notebook', 'no_stream']:
|
||||||
if getattr(args, k):
|
if getattr(args, k):
|
||||||
logger.warning(f'--{k} has been deprecated and will be removed soon. Please remove that flag.')
|
logger.warning(f'The --{k} flag has been deprecated and will be removed soon. Please remove that flag.')
|
||||||
|
|
||||||
# Security warnings
|
# Security warnings
|
||||||
if args.trust_remote_code:
|
if args.trust_remote_code:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue