fix: Improve warning message for unsupported streaming

This commit is contained in:
Paul Gauthier 2024-09-28 14:55:22 -07:00 committed by Paul Gauthier (aider)
parent 40588ccffa
commit f8746feaa1

View file

@ -597,7 +597,7 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
if not main_model.streaming:
if args.stream:
io.tool_warning(
"Warning: Streaming is not supported by the selected model. Disabling streaming."
f"Warning: Streaming is not supported by {main_model.name}. Disabling streaming."
)
args.stream = False