feat: add local_image_url & local_image_workflow to user config

This commit is contained in:
shiva raj badu 2025-12-18 01:18:57 +05:45
parent 75fad42098
commit f36fc7f4bb
No known key found for this signature in database

View file

@ -96,6 +96,8 @@ const setupUserConfigFromEnv = () => {
process.env.EXTENDED_REASONING || existingConfig.EXTENDED_REASONING,
WEB_GROUNDING: process.env.WEB_GROUNDING || existingConfig.WEB_GROUNDING,
USE_CUSTOM_URL: process.env.USE_CUSTOM_URL || existingConfig.USE_CUSTOM_URL,
LOCAL_IMAGE_URL: process.env.LOCAL_IMAGE_URL || existingConfig.LOCAL_IMAGE_URL,
LOCAL_IMAGE_WORKFLOW: process.env.LOCAL_IMAGE_WORKFLOW || existingConfig.LOCAL_IMAGE_WORKFLOW,
};
writeFileSync(userConfigPath, JSON.stringify(userConfig));