You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The copy button next to the kagenti-adk model setup command on the "no model selected" error page does not copy the command to the clipboard. Clicking the button appears to do nothing — the text is not available for pasting afterward.
The root cause is likely that navigator.clipboard.writeText() in CopyButton is called without awaiting the returned Promise and without error handling, so failures are silently swallowed. The Clipboard API also requires a secure context (HTTPS or localhost), which may not be available in all deployment scenarios.
To Reproduce
Launch the UI without a model configured
Observe the "no model selected" error page with the kagenti-adk model setup snippet
Click the copy button next to the command
Try to paste — nothing was copied
Expected behavior
Clicking the copy button should copy the command text to the clipboard, or show an error/fallback if clipboard access is unavailable.
Pre-requisities
Describe the bug
The copy button next to the
kagenti-adk model setupcommand on the "no model selected" error page does not copy the command to the clipboard. Clicking the button appears to do nothing — the text is not available for pasting afterward.The root cause is likely that
navigator.clipboard.writeText()inCopyButtonis called without awaiting the returned Promise and without error handling, so failures are silently swallowed. The Clipboard API also requires a secure context (HTTPS or localhost), which may not be available in all deployment scenarios.To Reproduce
kagenti-adk model setupsnippetExpected behavior
Clicking the copy button should copy the command text to the clipboard, or show an error/fallback if clipboard access is unavailable.
Logs / Screenshots / Code snippets
Relevant components:
apps/adk-ui/src/components/CopyButton/CopyButton.tsxapps/adk-ui/src/components/CopySnippet/CopySnippet.tsxapps/adk-ui/src/modules/runs/components/NoModelSelectedErrorPage.tsx