feat: support workflow version specification in workflow and chat APIs (#23188)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
qiaofenlin 2025-08-03 16:27:12 +08:00 • committed by GitHub
commit 20f0238aab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 846 additions and 13 deletions

View file

@ -29,9 +29,12 @@ const useContextMenu = (props: ContextMenuProps) => {
key: VersionHistoryContextMenuOptions.edit,
name: t('workflow.versionHistory.nameThisVersion'),
},
{
key: VersionHistoryContextMenuOptions.copyId,
name: t('workflow.versionHistory.copyId'),
},
]
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [isNamedVersion])
}, [isNamedVersion, t])
return {
deleteOperation,