mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-15 04:27:20 +03:00
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:
committed by
GitHub
Unverified
parent
a697f53611
commit
4e982c0814
@@ -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)),
|
||||
)
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user