fix(core): add GPT-6.1 Terra to Sign in with ChatGPT models (#59359)

Co-authored-by: rekram1-node <63023139+rekram1-node@users.noreply.github.com>
This commit is contained in:
opencode-agent[bot]
2026-10-26 15:47:38 -05:00
committed by GitHub
Unverified
parent a697f53611
commit 4e982c0814
2 changed files with 6 additions and 0 deletions
@@ -45,6 +45,8 @@ const fallbackModels = new Set([
"gpt-6-sol-fast",
"gpt-6.1-sol",
"gpt-6.1-sol-fast",
"gpt-6.1-terra",
"gpt-6.1-terra-fast",
])
const nonRetryableSharingCodes = [
"subscription_sharing_usage_limit_exceeded",
@@ -749,6 +749,8 @@ describe("ChatGPTPlugin", () => {
"gpt-6-sol-fast",
"gpt-6.1-sol",
"gpt-6.1-sol-fast",
"gpt-6.1-terra",
"gpt-6.1-terra-fast",
])
catalog.models.update(Provider.ID.openai, Model.ID.make(id), () => {})
})
@@ -827,6 +829,8 @@ describe("ChatGPTPlugin", () => {
"gpt-6-sol-fast",
"gpt-6.1-sol",
"gpt-6.1-sol-fast",
"gpt-6.1-terra",
"gpt-6.1-terra-fast",
].map((id) => Model.ID.make(id)),
)
}),