File tree Expand file tree Collapse file tree 9 files changed +26
-5
lines changed
sdk/ai/azure-ai-agentserver-core
azure/ai/agentserver/core
bilingual_weekend_planner Expand file tree Collapse file tree 9 files changed +26
-5
lines changed Original file line number Diff line number Diff line change 11# Release History
22
3- ## 1.0.0a1
3+ ## 1.0.0a1 (2025-11-06)
44
55### Features Added
66
Original file line number Diff line number Diff line change @@ -6,3 +6,4 @@ recursive-include doc *.rst *.md
66include azure/__init__.py
77include azure/ai/__init__.py
88include azure/ai/agentserver/__init__.py
9+ include azure/ai/agentserver/core/py.typed
Original file line number Diff line number Diff line change 11# ---------------------------------------------------------
22# Copyright (c) Microsoft Corporation. All rights reserved.
33# ---------------------------------------------------------
4- # pylint: disable=no-name-in-module
4+ # pylint: disable=no-name-in-module
55from typing import Optional
66
77from .openai import response_create_params # type: ignore
Original file line number Diff line number Diff line change @@ -49,6 +49,9 @@ exclude = [
4949version = { attr = " azure.ai.agentserver.core._version.VERSION" }
5050readme = { file = [" README.md" ], content-type = " text/markdown" }
5151
52+ [tool .setuptools .package-data ]
53+ pytyped = [" py.typed" ]
54+
5255[tool .ruff ]
5356line-length = 120
5457target-version = " py311"
@@ -60,5 +63,9 @@ exclude = [
6063]
6164
6265[tool .ruff .lint .isort ]
63- known-first-party = [" azure.ai.agentserver.core" ] # Your package/module name
66+ known-first-party = [" azure.ai.agentserver.core" ]
6467combine-as-imports = true
68+
69+ [tool .azure-sdk-build ]
70+ verifytypes = false # has unknown dependencies
71+ pyright = false
Original file line number Diff line number Diff line change 1+ {
2+ "reportTypeCommentUsage" : true ,
3+ "reportMissingImports" : false ,
4+ "pythonVersion" : " 3.11" ,
5+ "exclude" : [
6+ " ./samples"
7+ ],
8+ "extraPaths" : [
9+ ]
10+ }
Original file line number Diff line number Diff line change 1+ # mypy: ignore-errors
12"""Bilingual weekend planner sample with full GenAI telemetry capture."""
23
34from __future__ import annotations
5152from rich .logging import RichHandler
5253
5354try :
54- from azure .monitor .opentelemetry .exporter import ( # type : ignore import-not-found
55+ from azure .monitor .opentelemetry .exporter import ( # mypy : ignore
5556 AzureMonitorTraceExporter ,
5657 )
5758except Exception : # pragma: no cover
58- AzureMonitorTraceExporter = None # type : ignore[assignment]
59+ AzureMonitorTraceExporter = None # mypy : ignore
5960
6061# Load env early so adapter init sees them
6162load_dotenv (override = True )
Original file line number Diff line number Diff line change 1+ # mypy: ignore-errors
12"""Custom MCP simple sample.
23
34This sample combines the patterns from:
Original file line number Diff line number Diff line change 1+ # mypy: ignore-errors
12import datetime
23
34from azure .ai .agentserver .core import AgentRunContext , FoundryCBAgent
You can’t perform that action at this time.
0 commit comments