baml.syncExtensionToGeneratorVersion

TypeDefault Value
"auto" | "never" | "always"”auto”
  • 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 version
  • always: 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.

Usage

1{
2 "baml.syncExtensionToGeneratorVersion": "auto",
3}