baml.syncExtensionToGeneratorVersion
auto
: Sync the extension version to match the generator version when a mismatch is detected. This will make the extension download the correct version of the baml-cli to generate the client code — preventing issues with mismatched versions.never
: Never sync the extension version to match the generator versionalways
: Always attempt to sync the extension version to match the generator version.
Note that on Windows platforms, the extension-sync feature is disabled when the syncExtensionToGeneratorVersion
setting is set to auto
.