Skip to content

Error when sending request to LLM API: Task got bad yield: WaitTaskRescheduled(abort_func=<function sleep_forever.<locals>.<lambda> at 0x1413db380>) #715

@gokturkDev

Description

@gokturkDev

Describe the bug
I am running a hypercorn trio ASGI server, and want to check for Jailbreaks. However, I get the following error

2024-07-05 19:40:52.345 | ERROR    | uptrain.operators.language.llm:async_process_payload:103 - Error when sending request to LLM API: Task got bad yield: WaitTaskRescheduled(abort_func=<function sleep_forever.<locals>.<lambda> at 0x1413db380>)
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 151.81it/s]
2024-07-05 19:40:52.346 | ERROR    | uptrain.operators.language.jailbreak:evaluate_local:190 - Error when processing payload at index 0: Task got bad yield: WaitTaskRescheduled(abort_func=<function sleep_forever.<locals>.<lambda> at 0x1413db380>)

To Reproduce
Steps to reproduce the behavior:

  • Run a hypercorn server
  • Execute a Jailbreak check.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions