python CLI - remove devtools and ai sample#519
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR removes the Python “ai” CLI template and stops generating OpenAI/Azure OpenAI-related environment variables for new Python projects, while also attempting to drop the Python devtools dependency from the remaining templates.
Changes:
- Removed the
packages/cli/templates/python/aitemplate (code, README, app package assets, sample.env, and pyproject). - Removed automatic propagation of
OPENAI_*/AZURE_OPENAI_*env vars in the Pythonnewcommand. - Updated the Python
echotemplate’spyproject.toml.hbsdependencies (removedmicrosoft-teams-devtools).
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| packages/cli/templates/python/echo/pyproject.toml.hbs | Removes microsoft-teams-devtools from the echo template dependencies. |
| packages/cli/templates/python/ai/src/main.py | Deletes the Python AI template entrypoint. |
| packages/cli/templates/python/ai/sample.env | Deletes AI template sample env file. |
| packages/cli/templates/python/ai/pyproject.toml.hbs | Deletes AI template project metadata/deps. |
| packages/cli/templates/python/ai/appPackage/outline.png | Deletes AI template app icon. |
| packages/cli/templates/python/ai/appPackage/color.png | Deletes AI template app icon. |
| packages/cli/templates/python/ai/appPackage/manifest.json.hbs | Deletes AI template Teams manifest template. |
| packages/cli/templates/python/ai/README.md | Deletes AI template README. |
| packages/cli/src/commands/new/python.ts | Removes adding OpenAI/Azure OpenAI env vars to generated Python projects. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
MehakBindra
approved these changes
Apr 23, 2026
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.
Uh oh!
There was an error while loading. Please reload this page.