Skip to content

Fix VariantLink for DEFAULT_FUNCTION variants#6180

Draft
simeonlee wants to merge 1 commit intomainfrom
simeonlee/variant-link-default-fn
Draft

Fix VariantLink for DEFAULT_FUNCTION variants#6180
simeonlee wants to merge 1 commit intomainfrom
simeonlee/variant-link-default-fn

Conversation

@simeonlee
Copy link
Member

Summary

  • DEFAULT_FUNCTION variants are dynamically generated based on model names and won't be present in the config
  • Previously, clicking a DEFAULT_FUNCTION variant showed an error toast instead of navigating to the detail page
  • The variant detail page already handles DEFAULT_FUNCTION variants correctly, so this just allows the link

Part 1 of the function detail page streaming refactor (split from #6082).

DEFAULT_FUNCTION variants are dynamically generated based on model names
and won't be present in the config. Allow navigation to their detail pages
instead of showing an error toast.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant