From 6d53fa60c11d23e20d9d960bb4c51b3787743af6 Mon Sep 17 00:00:00 2001 From: Evgenii Kniazev Date: Wed, 21 Jan 2026 11:43:34 +0000 Subject: [PATCH] Switch init-template to use appkit repo template Instead of using the CLI's embedded appkit template (which is out of sync with the SDK), use the template from https://github.com/databricks/appkit. This fixes the getRequestContext API mismatch issue where generated apps use an API that doesn't exist in the @databricks/appkit SDK. See: https://github.com/databricks/cli/issues/4339 Depends on: https://github.com/databricks/appkit/pull/60 Co-Authored-By: Claude Opus 4.5 --- experimental/aitools/cmd/init_template/app.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/experimental/aitools/cmd/init_template/app.go b/experimental/aitools/cmd/init_template/app.go index 146367abff..0cdcd21fa7 100644 --- a/experimental/aitools/cmd/init_template/app.go +++ b/experimental/aitools/cmd/init_template/app.go @@ -16,9 +16,9 @@ import ( ) const ( - defaultTemplateRepo = "https://github.com/databricks/cli" - defaultTemplateDir = "experimental/aitools/templates/appkit" - defaultBranch = "main" + defaultTemplateRepo = "https://github.com/databricks/appkit" + defaultTemplateDir = "" + defaultBranch = "add-dab-template-schema" // TODO: change to "main" after PR #60 is merged templatePathEnvVar = "DATABRICKS_APPKIT_TEMPLATE_PATH" )