Skip to content

Commit 6d53fa6

Browse files
keugenekclaude
andcommitted
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: #4339 Depends on: databricks/appkit#60 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 96d7b22 commit 6d53fa6

File tree

1 file changed

+3
-3
lines changed
  • experimental/aitools/cmd/init_template

1 file changed

+3
-3
lines changed

experimental/aitools/cmd/init_template/app.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ import (
1616
)
1717

1818
const (
19-
defaultTemplateRepo = "https://github.com/databricks/cli"
20-
defaultTemplateDir = "experimental/aitools/templates/appkit"
21-
defaultBranch = "main"
19+
defaultTemplateRepo = "https://github.com/databricks/appkit"
20+
defaultTemplateDir = ""
21+
defaultBranch = "add-dab-template-schema" // TODO: change to "main" after PR #60 is merged
2222
templatePathEnvVar = "DATABRICKS_APPKIT_TEMPLATE_PATH"
2323
)
2424

0 commit comments

Comments
 (0)