mirror of
https://github.com/wassname/chatGPTBox.git
synced 2026-08-11 11:16:18 +08:00
feat: enabled API Modes option (#264)
This commit is contained in:
@@ -94,7 +94,8 @@ export function GeneralPart({ config, updateConfig }) {
|
||||
updateConfig({ modelName: modelName })
|
||||
}}
|
||||
>
|
||||
{Object.entries(Models).map(([key, model]) => {
|
||||
{config.activeApiModes.map((key) => {
|
||||
const model = Models[key]
|
||||
return (
|
||||
<option value={key} key={key} selected={key === config.modelName}>
|
||||
{t(model.desc)}
|
||||
|
||||
Reference in New Issue
Block a user