Skip to content

[Bug] pydantic_core._pydantic_core.PydanticSerializationError: Error serializing to JSON: TypeError: 'MockValSer' object cannot be converted to 'SchemaSerializer' #965

Closed

Description

@tconley1428

What are you really trying to do?

Use openai_agents across multiple workers.

Describe the bug

In some cases openai models will not have been built.

Minimal Reproduction

export OPENAI_AGENTS_DONT_LOG_MODEL_DATA=1
Then run the hello world sample

Environment/Versions

  • OS and processor: [e.g. M1 Mac, x86 Windows, Linux]
  • Temporal Version: [e.g. 1.14.0?] and/or SDK version
  • Are you using Docker or Kubernetes or building Temporal from source?

Additional context

Activity

  1. added
    bug
    on Jul 14, 2025
  2. self-assigned this
    on Jul 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions