Graphiti reranker defaults to gpt-4.1-nano, which OpenAI shuts down on October 23

#15148 · open · 1 comments

View on GitHub ↗

jameskomo

Hi, quick heads-up in case this isn't already on your radar. OpenAI shuts down `gpt-4.1-nano` on October 23, 2026, three weeks from now. After that, requests that name it fail. In the platform's Graphiti memory, it's the default model for the cross-encoder reranker, so it's used whenever Graphiti memory is on and nobody has set `reranker_model`: - [`copilot/graphiti/config.py:24`](https://github.com/Significant-Gravitas/AutoGPT/blob/f8b0e0a87c38b67f6e6cb21f3ee03ff5584c3588/autogpt_platform/backend/backend/copilot/graphiti/config.py#L24) sets `_DEFAULT_RERANKER_MODEL = "gpt-4.1-nano"`, which becomes the `reranker_model` default at [line 99](https://github.com/Significant-Gravitas/AutoGPT/blob/f8b0e0a87c38b67f6e6cb21f3ee03ff5584c3588/autogpt_platform/backend/backend/copilot/graphiti/config.py#L99) - [`copilot/graphiti/client.py:233`](https://github.com/Significant-Gravitas/AutoGPT/blob/f8b0e0a87c38b67f6e6cb21f3ee03ff5584c3588/autogpt_platform/backend/backend/copilot/graphiti/client.py#L233) puts it into the `LLMConfig` of the `CompatOpenAIRerankerClient` every client is built with By default that goes through OpenRouter, so I'd expect the reranker calls to start failing once OpenAI retires the model, which would quietly degrade warm-context retrieval. It's on the default branch as of October 2. OpenAI's notice is on their [deprecations page](https://developers.openai.com/api/docs/deprecations). How I found it: I maintain [DocsWatcher](https://github.com/jameskomo/docswatcher), an open source scanner that checks code against the deprecation notices providers publish, and I run it over popular open source repositories. Most of what it turns up is model names sitting in lists and price tables, which don't break anything, so I read every hit in real code myself before opening anything. This one looked like a real call to me, but you know your code and I don't, so if I've got it wrong just say so and I'll close this. Nothing to adopt here. I just thought you'd want to know.

Comments

ntindle

## Backfill revalidation — reproduced **Image:** `significantgravitas/autogpt:latest` @ `sha256:122929723f57b8927af016d606ae21b21c03a012c2de1d9c30b1c8359e9157f1` (Hub **v0.8.3** / `sha-73cae306b4f6b197d2e1eaaa3162c326ec0ab076` / oci_revision `73cae306b4f6b197d2e1eaaa3162c326ec0ab076`), pulled 2026-10-08T03:20:43-05:00, run `sweep-20261008T0819`. Revalidated because `:latest` moved from v0.8.2 (`sha256:8322941548c6d43f7b343dff16c5a184cdc6928df8ad6c5fbae856bd380e1618`). **Verdict:** `reproduced` (in-image source) ### What we re-checked `backend/copilot/graphiti/config.py` still has `_DEFAULT_RERANKER_MODEL = "gpt-4.1-nano"` (line 24) as the `reranker_model` default (lines 99-100); OpenAI lists gpt-4.1-nano for shutoff Oct 23 2026. ### Limits Static; the live failure only manifests after the shutoff date and needs an OpenAI key (A5 not-run). ### Suggestion Move the default reranker to a supported model before Oct 23; hand to diag/fix. Host evidence: `/workspace/autogpt-backfill/evidence/15148/sweep-20261008T0819/` (prior runs preserved alongside). Prior result: `reproduced` on `sha256:8322941548c6d43f7b343dff16c5a184cdc6928df8ad6c5fbae856bd380e1618` (sweep-20261002T1220), host evidence `/workspace/autogpt-backfill/evidence/15148/sweep-20261002T1220/`.