You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e1601ec
Browse filesBrowse the repository at this point in the historyBrowse files
"Invalid model \"{trimmed}\" for OSS mode. Use models prefixed with \"gpt-oss:\", e.g. \"gpt-oss:20b\"."
345
-
)));
346
-
}
347
-
}elseif model_provider != Some("github")
348
-
&& trimmed != "gpt-5"
349
-
&& trimmed != "gpt-5-codex"
350
-
&& trimmed != "gpt-5-codex-mini"
351
-
&& trimmed != "gpt-5.1"
352
-
&& trimmed != "gpt-5.1-codex"
353
-
&& trimmed != "gpt-5.1-codex-mini"
354
-
&& trimmed != "gpt-5.1-codex-max"
355
-
{
356
-
returnErr(napi::Error::from_reason(format!(
357
-
"Invalid model \"{trimmed}\". Supported models are \"gpt-5\", \"gpt-5-codex\", \"gpt-5-codex-mini\", \"gpt-5.1\", \"gpt-5.1-codex\", \"gpt-5.1-codex-mini\", or \"gpt-5.1-codex-max\"."
0 commit comments