feat: Add stream option to model configuration

This commit is contained in:
bobo 2024-06-18 16:42:53 +08:00
parent a8d20e4cd5
commit ae797b3e21

View File

@ -176,6 +176,7 @@ export const ConfigStore = types
}
}
modelConfig["provider"] = provider;
modelConfig["stream"] = true;
localConfig["models"][model.model || model.id] = modelConfig;
});