What happened?
Pi is sending enable_thinking to zai. The correct parameter is thinking.type. As a result, thinking is always left as the default (enabled).
Steps to reproduce
- Use the zai provider, thinking disabled. Send any message.
- Notice that the model is thinking.
Expected behavior
Disabling thinking in pi should disable thinking.
Happy to send a PR to fix this, it's a 1-line change.
Version
master
What happened?
Pi is sending enable_thinking to zai. The correct parameter is thinking.type. As a result, thinking is always left as the default (enabled).
Steps to reproduce
Expected behavior
Disabling thinking in pi should disable thinking.
Happy to send a PR to fix this, it's a 1-line change.
Version
master