Skip to content

Commit

Permalink
feat: close ChatGPTNextWeb#3304 use = instead of : to map model n…
Browse files Browse the repository at this point in the history
…ame in CUSTOM_MODELS
  • Loading branch information
Yidadaa authored and jz1248 committed Jan 7, 2024
1 parent 3d0d40f commit 570aabc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/utils/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export function collectModelTable(
const available = !m.startsWith("-");
const nameConfig =
m.startsWith("+") || m.startsWith("-") ? m.slice(1) : m;
const [name, displayName] = nameConfig.split(":");
const [name, displayName] = nameConfig.split("=");

// enable or disable all models
if (name === "all") {
Expand Down

0 comments on commit 570aabc

Please sign in to comment.