[bug] Agent Preview Share Link does not preserve ?version= parameter, causing start prompt and description to be missing #395
Unanswered
Ethan-Tsai
asked this question in
Product Feedback and Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Technical Feedback
Following up on discussion #386, I found a likely root cause for the Agent Preview shared-link issue.
An Agent configured with a description and start prompt works correctly in my own preview. However, when opened through a shared preview link in another browser/account, the description and start prompt are not preserved, and the page falls back to the default “How can I help you today...” message. I also observed this error in the shared-link flow:
invalid_value Invalid 'thread_id': 'conv_...'. Expected an ID that begins with 'thread'.The likely cause is that the Agent Preview Share / Copy link button does not preserve the current
?version=<version-number>parameter.Original preview URL:
https://ai.azure.com/nextgen/r/<resource-info>/agents/<agent-name>/preview?version=<version-number>Copied share link:
https://ai.azure.com/nextgen/r/<resource-info>/agents/<agent-name>/previewBecause the copied link is missing
?version=..., the shared preview does not load the intended agent version. After manually adding the correct version parameter back, the description/start prompt load correctly, and the thread/conversation issue is resolved.I tested this across two different Foundry projects/resources with different Foundry(new) agents, and the same behavior occurred.
Desired Outcome
The Agent Preview Share / Copy link button should preserve the current ?version= parameter when generating the shared preview URL.
Current Workaround
After adding the version parameter manually, the configured description and start prompt load correctly.
Beta Was this translation helpful? Give feedback.
All reactions