mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25:00 +00:00
Fix ChatSummary
to take a list of models and work down the list until one succeeds.
This commit is contained in:
parent
2e4de1a0d3
commit
4fe8cca0e9
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ class ChatSummary:
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(f"Summarization failed for model {model.name}: {str(e)}")
|
print(f"Summarization failed for model {model.name}: {str(e)}")
|
||||||
|
|
||||||
raise ValueError(f"summarizer unexpectedly failed for all models")
|
raise ValueError("summarizer unexpectedly failed for all models")
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue