sdk-python
sdk-python copied to clipboard
[Bug] Error running hello world workflow
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
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.
Pinning openai agents to 0.2.9 works. Thank you for the quick response.