Skip to content

Python warnings.warn log spam Python log spam when importing openai_harmony. #109

@jdkessinger

Description

@jdkessinger

This isn't the end of the world and it's only once per invocation, but it gets old at some point.

(yolo) jkessinger-ubuntu:jkessinger$ python -c "import openai_harmony"
/home/jkessinger/repos/yolo/.venv/lib/python3.12/site-packages/pydantic/_internal/_fields.py:132: UserWarning: Field "model_identity" in SystemContent has conflict with protected namespace "model_".

You may be able to resolve this warning by setting `model_config['protected_namespaces'] = ()`.
  warnings.warn(

#108 would resolve this .

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