openai_request.go
6.58 KB
-
refactor: Update SetToolCalls method to use pointer receiver · 18ed3795
- Changed the SetToolCalls method to use a pointer receiver for the Message struct, allowing for modifications to the original instance. - This change improves the method's efficiency and aligns with Go best practices for mutating struct methods.
CalciumIon committed