Skip to content

AttributeError: 'property' object has no attribute '_llm_type' #1

@lwh8915

Description

@lwh8915

I first ran source third_party/CodeExecContainer/run.sh, then ran python run.py server \

  • run
    --port=8080, and then I sent a request in Postman as shown in the following screenshot:

Image

Then the backend reports an error as shown below:

Image

After debugging, I found that there seemed to be a problem with the _update_config function in the server.py file. This function finally returns new_config, but when I debugged it, new_config was always empty and the configuration could not be updated. The original function is as follows:

Image
My api_keys.json file configuration is as follows:

Image
Please help me find where the problem is, thank you very much

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