Skip to content

palm.list_models() list index out of range #602

@Islander-0v0-wxin

Description

@Islander-0v0-wxin

Description of the bug:


IndexError Traceback (most recent call last)
/tmp/ipython-input-3856027315.py in <cell line: 0>()
1 models = [m for m in palm.list_models() if 'generateText' in m.supported_generation_methods]
----> 2 model = models[0].name
3 print(model)

IndexError: list index out of range

Actual vs expected behavior:

No response

Any other information you'd like to share?

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions