Skip to content
Open
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ quote-agent/
```python title="src/main.py"
from microsoft_teams.api import MessageActivity, TypingActivityInput
from microsoft_teams.apps import ActivityContext, App, AppOptions
Copy link

Copilot AI Apr 22, 2026

Choose a reason for hiding this comment

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

[HIGH] This snippet still imports AppOptions but no longer uses it after removing DevToolsPlugin. Drop the unused import (or show an AppOptions usage). Also ensure the surrounding getting-started/code-basics.mdx template text (which references DevTools as already running) is updated/conditioned for Python now that DevToolsPlugin is gone.

Suggested change
from microsoft_teams.apps import ActivityContext, App, AppOptions
from microsoft_teams.apps import ActivityContext, App

Copilot uses AI. Check for mistakes.
from microsoft_teams.devtools import DevToolsPlugin

app = App(plugins=[DevToolsPlugin()])
app = App()

```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,13 @@ In the console, you should see a similar output:

```sh
[INFO] @teams/app Successfully initialized all plugins
[WARNING] @teams/app.DevToolsPlugin ⚠️ Devtools is not secure and should not be used in production environments ⚠️
[INFO] @teams/app.HttpPlugin Starting HTTP server on port 3978
INFO: Started server process [6436]
INFO: Waiting for application startup.
[INFO] @teams/app.DevToolsPlugin available at http://localhost:3979/devtools
[INFO] @teams/app.HttpPlugin listening on port 3978 🚀
[INFO] @teams/app Teams app started successfully
[INFO] @teams/app.DevToolsPlugin listening on port 3979 🚀
INFO: Application startup complete..
INFO: Uvicorn running on http://0.0.0.0:3979 (Press CTRL+C to quit)
INFO: Uvicorn running on http://0.0.0.0:3978 (Press CTRL+C to quit)
```

Copy link

Copilot AI Apr 22, 2026

Choose a reason for hiding this comment

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

[HIGH] Python quickstart output no longer shows DevTools (3979), but getting-started/quickstart.mdx still states a devtools server starts on 3979 and instructs users to open /devtools. Make the devtools section language-specific/conditional (or restore devtools for Python) so Python instructions match the actual runtime behavior/ports.

Suggested change
The Python quickstart starts your app's HTTP server on port `3978` only. It does not start a DevTools server on port `3979`, and there is no `/devtools` page for this runtime.

Copilot uses AI. Check for mistakes.
<!-- manual-install -->
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading