Skip to content

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

@tconley1428

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

Metadata

Metadata

Assignees

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