sdk-python icon indicating copy to clipboard operation
sdk-python copied to clipboard

[Bug] Error running hello world workflow

Open cecilpang opened this issue 1 year ago • 2 comments

What are you really trying to do?

Run the hello world workflow in Python

Describe the bug

Getting this error in run_worker.py:

TypeError: _TemporalModelStub.get_response() got an unexpected keyword argument 'conversation_id' Failed activation on workflow HelloWorldAgent with ID my-workflow-id and run ID 01993e0a-60d4-729b-986c-40c623c0c9e7

Minimal Reproduction

Environment/Versions

  • OS and processor: M4 Pro Mac
  • Temporal Version: 1.17.0
  • OpenAI Agents SDK Version: 0.3.0
  • Are you using Docker or Kubernetes or building Temporal from source? No

Additional context

cecilpang avatar Sep 12 '25 13:09 cecilpang

Breaking changes were made in 0.2.11 and subsequently exist in 0.3.0. It has been fixed in main, but an upper bound of <0.3.0 has been added, as that version didn't exist at the time. For now you have to pin openai agents to 0.2.9 or lower.

tconley1428 avatar Sep 12 '25 14:09 tconley1428

Pinning openai agents to 0.2.9 works. Thank you for the quick response.

cecilpang avatar Sep 12 '25 14:09 cecilpang