Skip to content

feat(aspire): make local AI opt-in and document fixed database passwords - #1741

Merged
BenjaminMichaelis merged 1 commit into
mainfrom
aspire-secret-db-passwords-opt-in-ai
Nov 28, 2026
Merged

BenjaminMichaelis merged 1 commit into
mainfrom
aspire-secret-db-passwords-opt-in-ai

Conversation

@BenjaminMichaelis

Copy link
Copy Markdown
Member

Follow-up to #1631 (already merged).

  • Local AI is now opt-in: AIOptions:UseLocalAI=true enables Ollama (qwen2.5-coder:7b, ~5 GB). The default is off, so a fresh AppHost no longer downloads a model. A legacy saved Parameters:UseLocalAI is still honored, and Azure endpoint precedence is unchanged.
  • README documents setting Parameters:sqlserver-password and Parameters:postgres-password once, and how to recover when persistent volumes outlive the user secrets.
  • Tests updated: default is off, plus explicit-true and legacy-true cases.

Verified on top of current main: the 15 WebHostingExtensionsTests pass. The container smoke tests were not rerun for this change. The companion Host (EssentialCSharp.Host#307) may assume local AI is on by default and has not been checked.

Local AI previously downloaded a ~5 GB model by default; it is now enabled with AIOptions:UseLocalAI=true (legacy Parameters:UseLocalAI is still honored). The README documents setting Parameters:sqlserver-password and Parameters:postgres-password so persistent volumes survive a user-secrets reset.
@BenjaminMichaelis
BenjaminMichaelis merged commit 1078b3d into main Nov 28, 2026
23 checks passed
@BenjaminMichaelis
BenjaminMichaelis deleted the aspire-secret-db-passwords-opt-in-ai branch November 28, 2026 20:38
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