Skip to content

AttributeError: module 'eventlet' has no attribute 'getcurrent' #28

@KannamSridharKumar

Description

@KannamSridharKumar

I'm running the example notebook provided as it it. I'm using standard OpenAI not Azure based one. Below is my OAI_CONFIG_LIST.

I'm getting the error:
AttributeError: module 'eventlet' has no attribute 'getcurrent'
APIConnectionError: Connection error.

The source code for the APIConnectionError is in /site-packages/openai/_base_client.py

Does it work only with Azure OpenAI?

[
{
"model": "gpt-4o",
"api_key": api_key
}

]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions