Skip to content

List types set in web get stuck in "starting" #1525

Closed
@venkr

Description

@venkr

Union and list types were added as of #1311, however when you call them with an invalid type, the UI incorrectly displays them as "Booting" forever.

Test case:

  • Use the following Replicate model: https://replicate.com/venkr/cog-union-test
  • 1: Try setting string_union to a string -> it works fine, response is received in milliseconds.
  • 2: Try setting string_union to a string, and string_list to a string -> the model gets stuck in booting forever.

I think it's fine if the UI doesn't support / breaks with this for now, but it should fail fast rather than showing the user that it's stuck in booting.

Some example prediction-ids:

  • Success where an invalid type isn't provided: 4hfvd6bbr5ahfgakoe72ymcwxy
  • Infinite booting where an invalid type is provided: jew4vajbowvtett2qm2djrwgiq

Metadata

Metadata

Assignees

No one assigned

    Labels

    BackendIssues with the replicate backend

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions