Azure / Azure/azure-sdk-for-python

azure-ai-agentserver: support hosted agents on the application-scoped endpoint

オープン
#45,941 コメント 2 件 リアクション 5 件 担当者 2 名 GitHub で見る

@lusu-msft がすでに取り組んでいます。

2026年3月26日 から。

customer-reported Hosted Agents needs-team-attention question Service Attention
主要言語
Python
スター
5.6k
フォーク
3.4k
平均マージ
2日 2時間
マージ済み PR(30日)
213

説明

SDK Version

azure-ai-agentserver==1.0.0b17

Problem

The application-scoped Responses API endpoint (/applications/{agent}/protocols/openai/responses) currently returns HTTP 400 for hosted agents:

Application-scoped routes only support prompt agents. Agent kind 'hosted' is not supported.

This forces hosted agents to use the project-scoped endpoint (/api/projects/{project}/openai/responses), which pre-persists the current user message to the conversation store before invoking the agent. When _fetch_historical_items runs on a cold start (no MemorySaver checkpoint), it reads back the pre-persisted message and merges it with the current input — producing a duplicate. The SDK then writes the duplicate back to the store, corrupting conversation history.

Expected Behaviour

The application-scoped endpoint should support hosted agents. This would bypass the project routing layer entirely, eliminating the pre-persistence behaviour and the resulting duplication.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。