From 6037fa56a46db0e31d556059b0cd2f5103723b38 Mon Sep 17 00:00:00 2001 From: DB Lee Date: Thu, 14 May 2026 11:23:35 -0700 Subject: [PATCH] docs(copilot-skills): drop deprecated --force flag; deduplicate judge env var block MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Re-validated docs/tutorial-copilot-skills.md against current develop (297 lines). Two doc-only drifts fixed: - Section 'Option 2: CLI install' used 'agentops skills install --platform copilot --force'. --force is now deprecated per the CLI help text ('Deprecated — skills are always overwritten with the latest version.'). Dropped from the example. - 'Set local evaluator variables' set both AZURE_OPENAI_DEPLOYMENT and AZURE_AI_MODEL_DEPLOYMENT_NAME to the same value 'gpt-4o-mini'. The runtime reads them as fallbacks of each other (_model_config: 'os.getenv(AZURE_OPENAI_DEPLOYMENT) or os.getenv(AZURE_AI_MODEL_DEPLOYMENT_NAME)') - setting both is redundant. Show one, add a one-line note about the alias. Verified runtime: 'agentops skills install --platform copilot' produces the documented 7-file tree exactly as listed in 'Expected files'. Refs #133. CLI help text gap (cursor missing from --platform list) tracked separately in #157. --- docs/tutorial-copilot-skills.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/tutorial-copilot-skills.md b/docs/tutorial-copilot-skills.md index 68beb04..5c50c4c 100644 --- a/docs/tutorial-copilot-skills.md +++ b/docs/tutorial-copilot-skills.md @@ -48,7 +48,7 @@ python -m venv .venv python -m pip install -U pip python -m pip install "agentops-toolkit[foundry,agent]" -agentops skills install --platform copilot --force +agentops skills install --platform copilot ``` Expected files: @@ -83,9 +83,12 @@ Set local evaluator variables: $env:AZURE_AI_FOUNDRY_PROJECT_ENDPOINT = "https://.services.ai.azure.com/api/projects/" $env:AZURE_OPENAI_ENDPOINT = "https://.openai.azure.com" $env:AZURE_OPENAI_DEPLOYMENT = "gpt-4o-mini" -$env:AZURE_AI_MODEL_DEPLOYMENT_NAME = "gpt-4o-mini" ``` +`AZURE_AI_MODEL_DEPLOYMENT_NAME` is accepted as a fallback name for the +judge deployment if you prefer the Foundry-style variable. Set only one +of the two — `AZURE_OPENAI_DEPLOYMENT` wins when both are set. + ## 1. Ask Copilot to configure AgentOps Prompt Copilot: