Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/apps/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const (
appkitTemplateDir = "template"
appkitDefaultBranch = "main"
appkitTemplateTagPfx = "template-v"
appkitDefaultVersion = "template-v0.20.3"
appkitDefaultVersion = "template-v0.23.0"
defaultProfile = "DEFAULT"
)

Expand Down
2 changes: 1 addition & 1 deletion experimental/aitools/lib/installer/installer.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const (
skillsRepoOwner = "databricks"
skillsRepoName = "databricks-agent-skills"
skillsRepoPath = "skills"
defaultSkillsRepoRef = "v0.1.3"
defaultSkillsRepoRef = "v0.1.4"
)

// fetchFileFn is the function used to download individual skill files.
Expand Down
12 changes: 6 additions & 6 deletions experimental/aitools/lib/installer/installer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ func TestInstallSkillsForAgentsWritesState(t *testing.T) {
assert.Equal(t, "0.1.0", state.Skills["databricks-sql"])
assert.Equal(t, "0.1.0", state.Skills["databricks-jobs"])

assert.Contains(t, stderr.String(), "Installed 2 skills (v0.1.3).")
assert.Contains(t, stderr.String(), fmt.Sprintf("Installed 2 skills (%s).", defaultSkillsRepoRef))
}

func TestInstallSkillForSingleWritesState(t *testing.T) {
Expand All @@ -232,7 +232,7 @@ func TestInstallSkillForSingleWritesState(t *testing.T) {
assert.Len(t, state.Skills, 1)
assert.Equal(t, "0.1.0", state.Skills["databricks-sql"])

assert.Contains(t, stderr.String(), "Installed 1 skill (v0.1.3).")
assert.Contains(t, stderr.String(), fmt.Sprintf("Installed 1 skill (%s).", defaultSkillsRepoRef))
}

func TestInstallSkillsSpecificNotFound(t *testing.T) {
Expand Down Expand Up @@ -275,7 +275,7 @@ func TestExperimentalSkillsSkippedByDefault(t *testing.T) {
assert.Len(t, state.Skills, 2)
assert.NotContains(t, state.Skills, "databricks-experimental")

assert.Contains(t, stderr.String(), "Installed 2 skills (v0.1.3).")
assert.Contains(t, stderr.String(), fmt.Sprintf("Installed 2 skills (%s).", defaultSkillsRepoRef))
}

func TestExperimentalSkillsIncludedWithFlag(t *testing.T) {
Expand Down Expand Up @@ -305,7 +305,7 @@ func TestExperimentalSkillsIncludedWithFlag(t *testing.T) {
assert.Contains(t, state.Skills, "databricks-experimental")
assert.True(t, state.IncludeExperimental)

assert.Contains(t, stderr.String(), "Installed 3 skills (v0.1.3).")
assert.Contains(t, stderr.String(), fmt.Sprintf("Installed 3 skills (%s).", defaultSkillsRepoRef))
}

func TestMinCLIVersionSkipWithWarningForInstallAll(t *testing.T) {
Expand Down Expand Up @@ -339,7 +339,7 @@ func TestMinCLIVersionSkipWithWarningForInstallAll(t *testing.T) {
assert.Len(t, state.Skills, 2)
assert.NotContains(t, state.Skills, "databricks-future")

assert.Contains(t, stderr.String(), "Installed 2 skills (v0.1.3).")
assert.Contains(t, stderr.String(), fmt.Sprintf("Installed 2 skills (%s).", defaultSkillsRepoRef))
assert.Contains(t, logBuf.String(), "requires CLI version 0.300.0")
}

Expand Down Expand Up @@ -680,7 +680,7 @@ func TestInstallProjectScopeFiltersIncompatibleAgents(t *testing.T) {
require.NoError(t, err)

assert.Contains(t, stderr.String(), "Skipped No Project Agent: does not support project-scoped skills.")
assert.Contains(t, stderr.String(), fmt.Sprintf("Installed 2 skills (v%s).", strings.TrimPrefix(defaultSkillsRepoRef, "v")))
assert.Contains(t, stderr.String(), fmt.Sprintf("Installed 2 skills (%s).", defaultSkillsRepoRef))
}

func TestInstallProjectScopeZeroCompatibleAgentsReturnsError(t *testing.T) {
Expand Down
Loading