Commit Graph
1 Commits
Author SHA1 Message Date
Alex Philipp 7f80303cc3 Fix max_completion_tokens (#860)
The json tag is incorrect, and results in an error from the API when using the o1 model.  

I didn't modify the struct field name to maintain compatibility if anyone else had started using it, but it wouldn't work for them either.
2024-09-26 13:26:22 +03:00