mirror of
https://github.com/Aider-AI/aider
synced 2026-04-25 17:15:07 +02:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user