Add Azure Foundry fine-tuning skill and cross-agent skill wiring#27
Open
amangupta26 wants to merge 1 commit into
Open
Add Azure Foundry fine-tuning skill and cross-agent skill wiring#27amangupta26 wants to merge 1 commit into
amangupta26 wants to merge 1 commit into
Conversation
AliciaFrame
added a commit
that referenced
this pull request
Apr 21, 2026
…gent Skills docs Adopts three patterns from PR #27: 1. HelpOnErrorParser in common.py — prints full --help on invalid args 2. PEP 723 inline script metadata (# /// script) on all scripts — enables 'uv run scripts/submit_training.py' with auto-installed deps 3. DefaultAzureCredential fallback in get_clients() — works without API key when az CLI or Managed Identity is available Also adds AI Agent Skills section to README with usage instructions for Copilot (VS Code + CLI), Claude Code, and Codex agents. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
AliciaFrame
added a commit
that referenced
this pull request
Apr 21, 2026
…tAzureCredential * Add agent discovery symlinks for fine-tuning skill Add symlinks so coding agents (Copilot, Claude, Codex) can auto-discover the fine-tuning skill from their conventional paths: - .github/skills/azure-ai-fine-tuning -> ../../Skills - .claude/skills/azure-ai-fine-tuning -> ../../Skills - .agents/skills/azure-ai-fine-tuning -> ../../Skills This reuses the existing comprehensive skill (SFT, DPO, RFT with graders and tools, 8 scripts, 11 reference docs, 5 workflows) rather than creating a separate thinner skill. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Add HelpOnErrorParser, PEP 723 deps, DefaultAzureCredential, and AI Agent Skills docs Adopts three patterns from PR #27: 1. HelpOnErrorParser in common.py — prints full --help on invalid args 2. PEP 723 inline script metadata (# /// script) on all scripts — enables 'uv run scripts/submit_training.py' with auto-installed deps 3. DefaultAzureCredential fallback in get_clients() — works without API key when az CLI or Managed Identity is available Also adds AI Agent Skills section to README with usage instructions for Copilot (VS Code + CLI), Claude Code, and Codex agents. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Fix: scripts now use HelpOnErrorParser, fix credential fallback bug - All 7 scripts now import and use HelpOnErrorParser from common.py (previously added the class but scripts still used argparse.ArgumentParser) - Fix bug in DefaultAzureCredential fallback: when base_url is set but api_key is None and credential fails, no longer creates client with api_key=None (which would fail silently on first API call) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Fix: DPO system message bug, cross-dir import path, dedup imports - convert_dataset.py: Fix DPO generation to include system messages when generating non-preferred responses from base model (was generating without system prompt but recording it in the DPO input — distributional mismatch) - All scripts: Add sys.path.insert for common.py import to work when scripts are run from outside the scripts/ directory - Clean up duplicate os/sys imports Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
AliciaFrame
added a commit
that referenced
this pull request
Jun 1, 2026
…tAzureCredential * Add agent discovery symlinks for fine-tuning skill Add symlinks so coding agents (Copilot, Claude, Codex) can auto-discover the fine-tuning skill from their conventional paths: - .github/skills/azure-ai-fine-tuning -> ../../Skills - .claude/skills/azure-ai-fine-tuning -> ../../Skills - .agents/skills/azure-ai-fine-tuning -> ../../Skills This reuses the existing comprehensive skill (SFT, DPO, RFT with graders and tools, 8 scripts, 11 reference docs, 5 workflows) rather than creating a separate thinner skill. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Add HelpOnErrorParser, PEP 723 deps, DefaultAzureCredential, and AI Agent Skills docs Adopts three patterns from PR #27: 1. HelpOnErrorParser in common.py — prints full --help on invalid args 2. PEP 723 inline script metadata (# /// script) on all scripts — enables 'uv run scripts/submit_training.py' with auto-installed deps 3. DefaultAzureCredential fallback in get_clients() — works without API key when az CLI or Managed Identity is available Also adds AI Agent Skills section to README with usage instructions for Copilot (VS Code + CLI), Claude Code, and Codex agents. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Fix: scripts now use HelpOnErrorParser, fix credential fallback bug - All 7 scripts now import and use HelpOnErrorParser from common.py (previously added the class but scripts still used argparse.ArgumentParser) - Fix bug in DefaultAzureCredential fallback: when base_url is set but api_key is None and credential fails, no longer creates client with api_key=None (which would fail silently on first API call) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Fix: DPO system message bug, cross-dir import path, dedup imports - convert_dataset.py: Fix DPO generation to include system messages when generating non-preferred responses from base model (was generating without system prompt but recording it in the DPO input — distributional mismatch) - All scripts: Add sys.path.insert for common.py import to work when scripts are run from outside the scripts/ directory - Clean up duplicate os/sys imports Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds a reusable Azure AI Foundry fine-tuning skill and makes it available across supported coding agents.
What changed:
Why: