Skip to content

"Summarization failed for model ...: cannot schedule new futures after shutdown" on /quit #3700

@bcspragu

Description

@bcspragu

Issue

After an aider session, I ran /quit. The tool hung for a few seconds, and then output:

Summarization failed for model gemini/gemini-2.5-pro-exp-03-25: cannot schedule new futures after shutdown
Summarization failed for model gemini/gemini-2.5-pro-exp-03-25: cannot schedule new futures after shutdown
summarizer unexpectedly failed for all models

I had invoked aider with:

export GEMINI_API_KEY="..."
aider --model "gemini/gemini-2.5-pro-exp-03-25"

I saw a similar issue about summarization failures, but it wasn't on shutdown, so I filed this one.

Version and model info

Aider v0.79.2
Model: gemini/gemini-2.5-pro-exp-03-25 with diff-fenced edit format
Git repo: .git with 0 files
Repo-map: using 4096 tokens, auto refresh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions