feat: Display model announcements with no-arg /model command

Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
Paul Gauthier
2025-06-29 09:01:10 -07:00
parent 3fec90340b
commit f4605b2a86

View File

@@ -88,6 +88,11 @@ class Commands:
"Switch the Main Model to a new LLM"
model_name = args.strip()
if not model_name:
announcements = "\n".join(self.coder.get_announcements())
self.io.tool_output(announcements)
return
model = models.Model(
model_name,
editor_model=self.coder.main_model.editor_model.name,