Update litellm/llms/azure_ai/agents/handler.py

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
Sameer Kankute 2026-03-18 09:09:30 +05:30 committed by GitHub
parent 6fe3188af0
commit 6514446dcb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -137,7 +137,7 @@ class AzureAIAgentsHandler:
result: List[Dict[str, Any]] = []
for ann in raw_annotations:
ann_type = ann.get("type", "url_citation")
ann_type = ann.get("type")
if ann_type == "url_citation":
url_citation = dict(ann.get("url_citation", {}))
# Azure puts start/end_index at annotation level; OpenAI