Skip to content
Merged
Changes from all 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
6 changes: 4 additions & 2 deletions python/packages/devui/agent_framework_devui/_deployment.py
Original file line number Diff line number Diff line change
Expand Up @@ -470,9 +470,11 @@ async def _deploy_to_azure(
)
elif "https://" in line_text:
# Try to extract all URLs and check if any is on azurecontainerapps.io
urls = re.findall(r'https://[^\s]+', line_text)
urls = re.findall(r'https://[^\s<>"]+', line_text)
for url in urls:
host = urlparse(url).hostname
# Strip common trailing punctuation to ensure clean URL parsing
url_clean = url.rstrip('.,;:!?\'")}]')
host = urlparse(url_clean).hostname
if host and (host == "azurecontainerapps.io" or host.endswith(".azurecontainerapps.io")):
await event_queue.put(
DeploymentEvent(type="deploy.progress", message="Deployment URL generated!")
Expand Down