Skip to content

Bug in locomo/task_eval/gpt_utils.py line 277: duplicated condition #30

@SJTUfei

Description

@SJTUfei

In locomo/task_eval/gpt_utils.py at line 277, there is a duplicated condition:

if 'gpt-4' in args.model:
time.sleep(5)
elif 'gpt-4' in args.model:
time.sleep(1)

The elif condition is identical to the if above, so it will never execute.
It may need to check for a different model

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions