Skip to content

fix: Fix Foundry Local exported project AppName validation error#595

Merged
haoliuu merged 1 commit intomainfrom
haoliu/fl-export-naming
Mar 24, 2026
Merged

fix: Fix Foundry Local exported project AppName validation error#595
haoliuu merged 1 commit intomainfrom
haoliu/fl-export-naming

Conversation

@haoliuu
Copy link
Copy Markdown
Collaborator

@haoliuu haoliuu commented Mar 24, 2026

Root Cause

The AppName in FoundryLocalChatClientFactory was set to "AIDevGallery.FoundryLocalExportedSample", which contains dots (.). The Foundry Local SDK validates that AppName only allows letters, numbers, spaces, hyphens, and underscores.

Fix

Replace the dot separator with a hyphen: "AIDevGallery-FoundryLocalExportedSample".

Copilot AI review requested due to automatic review settings March 24, 2026 03:14
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Foundry Local exported sample’s SDK configuration to comply with Foundry Local AppName validation rules (disallowing . characters), preventing exported projects from failing at runtime during client initialization.

Changes:

  • Replace dot-separated AppName with a hyphen-separated value in the Foundry Local chat client factory.

@haoliuu haoliuu enabled auto-merge (squash) March 24, 2026 03:30
@haoliuu haoliuu merged commit 0ed32af into main Mar 24, 2026
12 checks passed
@haoliuu haoliuu deleted the haoliu/fl-export-naming branch March 24, 2026 03:34
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.

3 participants