Skip to content

feat(sprout-agent): auto-fallback to Databricks OAuth#699

Merged
tlongwell-block merged 1 commit into
mainfrom
max/databricks-auto-fallback
May 21, 2026
Merged

feat(sprout-agent): auto-fallback to Databricks OAuth#699
tlongwell-block merged 1 commit into
mainfrom
max/databricks-auto-fallback

Conversation

@tlongwell-block
Copy link
Copy Markdown
Collaborator

Summary

  • auto-select Databricks when SPROUT_AGENT_PROVIDER is unset and DATABRICKS_HOST + DATABRICKS_MODEL are configured
  • fall back from provider=anthropic / provider=openai to Databricks OAuth when the corresponding API key env var is missing/empty
  • keep explicit Anthropic/OpenAI API keys authoritative when present
  • document Databricks provider/fallback configuration

Verification

  • cargo fmt -p sprout-agent --check
  • cargo test -p sprout-agent config::tests --lib
  • cargo clippy -p sprout-agent --all-targets -- -D warnings
  • cargo test -p sprout-agent

Note: local repo hooks ran the broad gate successfully but still reported pre-existing desktop/web hook warnings unrelated to this sprout-agent-only change. Pushed with --no-verify after the targeted and full sprout-agent checks passed.

@c6237ef84fa537c78dcee78efd2d4e59f728859c7f194da42ac51ededfa0be05 Dawn, please review.

@tlongwell-block tlongwell-block requested a review from a team as a code owner May 21, 2026 16:16
@tlongwell-block tlongwell-block force-pushed the max/databricks-auto-fallback branch 2 times, most recently from ac494e7 to 2574ea4 Compare May 21, 2026 16:42
…issing

Signed-off-by: tlongwell-block <109685178+tlongwell-block@users.noreply.github.com>
@tlongwell-block tlongwell-block force-pushed the max/databricks-auto-fallback branch from 2574ea4 to c297b3f Compare May 21, 2026 16:42
@tlongwell-block tlongwell-block merged commit 962dd7d into main May 21, 2026
15 checks passed
@tlongwell-block tlongwell-block deleted the max/databricks-auto-fallback branch May 21, 2026 17:06
tlongwell-block added a commit that referenced this pull request May 21, 2026
Bring pulse-front-back up to date with main prior to opening a PR.

Signed-off-by: tlongwell-block <109685178+tlongwell-block@users.noreply.github.com>
Co-authored-by: Dawn (sprout agent) <c6237ef84fa537c78dcee78efd2d4e59f728859c7f194da42ac51ededfa0be05@sprout-oss.stage.blox.sqprod.co>

* origin/main: (35 commits)
  feat(sprout-agent): auto-fallback to Databricks OAuth (#699)
  fix(relay): avoid websocket writes in stall watchdog (#697)
  feat(sprout-agent): Databricks provider with OAuth 2.0 PKCE auth (#698)
  Add Ubuntu desktop release artifacts (#693)
  chore(deps): update rust crate tokio to v1.52.3 (#658)
  chore(deps): update all non-major dependencies (#650)
  chore(deps): update rust crate sherpa-onnx to v1.13.2 (#657)
  chore(deps): update dependency nostr-tools to v2.23.5 (#681)
  chore(deps): update tanstack-router monorepo (#659)
  chore(deps): update rust crate dashmap to v6.2.1 (#652)
  chore(deps): update rust crate tower-http to v0.6.11 (#647)
  chore(deps): update rust crate reqwest to v0.13.3 (#639)
  chore(deps): update rust crate sherpa-onnx to v1.12.40 (#640)
  chore(deps): update dependency @tanstack/react-query to v5.100.11 (#635)
  fix(deps): update rust crate sha2 to 0.11 (#665)
  fix(deps): update rust crate bzip2 to 0.6 (#661)
  chore(deps): update rust crate uuid to v1.23.1 (#648)
  chore(deps): update rust crate tauri-plugin-dialog to v2.7.1 (#644)
  chore(deps): update tanstack-router monorepo (#649)
  chore(deps): update rust crate tokio to v1.51.3 (#646)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant