Skip to content

TypeError: argument of type 'NoneType' is not iterable #3

Description

@DavidLee528

Error message:

Exception has occurred: TypeError
argument of type 'NoneType' is not iterable
  File "/home/tianhao.li/research/agent_fuzzer/code/utils.py", line 102, in judge
    if not ans in pred:
  File "/home/tianhao.li/research/agent_fuzzer/code/main.py", line 222, in main
    guardrailed_answer_correct = judge(prediction["guardrailed_answer"], answer_gt)
  File "/home/tianhao.li/research/agent_fuzzer/code/main.py", line 293, in <module>
    main()
TypeError: argument of type 'NoneType' is not iterable

Root cause:

ConversableAgent._append_oai_message() missing 1 required positional argument: 'is_sending'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions