OpenAI shuts down gpt-3.5-turbo and gpt-4o-2024-05-13 on 2026-10-23: default model_type values need updating
評価
調査の方向性
ハードコードされた ID は lagent/llms/openai.py(59 行目と 450 行目)、lagent/agents/react.py(135 行目と 153 行目)、examples/run_async_agent_openai.py(29 行目)にあります。編集する前に、それらの呼び出し箇所を読み、同じモデル文字列の他の出現箇所を grep でリポジトリ全体から探し、現在のデフォルトをアサートしているテストやドキュメントがないか確認してください。完了とは、すべてのデフォルトとサンプルが引き続きサポートされているモデルを指し、既存のテストとサンプルが引き続き実行されることです。コストとサポートされるパラメータが異なるため、置き換えの選択肢は先にメンテナーに確認してください。
索引モデルが issue の本文から書いたものです。
説明
Hi! Heads-up: OpenAI's deprecations page lists some model IDs used here for shutdown. After the shutdown date, requests with these IDs fail.
Hard-coded model IDs found on the default branch:
lagent/llms/openai.py:59:model_type: str = 'gpt-3.5-turbo'lagent/llms/openai.py:450:model_type: str = 'gpt-3.5-turbo'lagent/agents/react.py:135, 153:model_type='gpt-4o-2024-05-13'examples/run_async_agent_openai.py:29:model='gpt-4o-2024-05-13'
Per OpenAI: gpt-3.5-turbo and gpt-4o-2024-05-13 shut down on 2026-10-23; the listed replacements are gpt-5.6-terra (for gpt-3.5-turbo) and gpt-5.6-sol (for gpt-4o-2024-05-13).
Swapping models can change output quality, cost and supported parameters, so I didn't open a ready-made patch; the replacement is a judgement call for you. If these are only defaults that users always override, it's still worth updating them so new users don't hit errors.
I found this with a small scanner I'm building that checks public repos against upcoming platform deadlines (https://otisz.hu/api-sunset/). No sales pitch: if you'd prefer a PR instead of an issue, say so and I'll open one.
Ottó Misák
- 主要言語
- Python
- スター
- 2.3k
- フォーク
- 249
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
InternLM/lagent のほかの issue
-
`trust_remote_code=True` is hard-coded in the Hugging Face and vLLM wrappers and cannot be turned off対応中かも @ningyixi が 4 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 50/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
InternLM/lagent の issue をすべて見る
似ている issue
-
accepted
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
future-agi/future-agi#5908 ·
メンテナーはふだん 1 日以内に返信
-
Placeholder export disables HTML image input for picture description対応中かも @cloudiful が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
docling-project/docling-serve#817 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
Techiebutler/freeframe#687 ·
メンテナーはふだん 1 日以内に返信
-
Parse truncated verbose GC logs up to the first XML error対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンbug verbose GC
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
IBM/javacore-analyser#677 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
メンテナーはふだん 2 日以内に返信