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 kaiwu-astro committed Nov 20, 2023
1 parent 800bf91 commit c092b64
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 c092b64

Please sign in to comment.