Description
When using GLM-5.2 model through DigitalOcean provider, the request fails with a Python attribute error. The error suggests that a string is being passed where a dictionary/object is expected in the API request payload.
Error message:
Error from provider (DigitalOcean): 'str object' has no attribute 'items'
Turn execution failed
Provider rejected the model request.
provider=59a1a147-6163-4b9f-9a6a-e3c3d74db3f3 model=glm-5.2 request= reason=invalid_request status=400 retryable=false
Plugins
No response
OpenCode version
No response
Steps to reproduce
- Configure GLM-5.2 model with DigitalOcean provider in Zcode
- Start a new conversation or send any message
- The request fails immediately with the above error
Screenshot and/or share link
No response
Operating System
No response
Terminal
No response
Description
When using GLM-5.2 model through DigitalOcean provider, the request fails with a Python attribute error. The error suggests that a string is being passed where a dictionary/object is expected in the API request payload.
Error message:
Error from provider (DigitalOcean): 'str object' has no attribute 'items'
Turn execution failed
Provider rejected the model request.
provider=59a1a147-6163-4b9f-9a6a-e3c3d74db3f3 model=glm-5.2 request= reason=invalid_request status=400 retryable=false
Plugins
No response
OpenCode version
No response
Steps to reproduce
Screenshot and/or share link
No response
Operating System
No response
Terminal
No response