mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2026-02-05 06:46:27 -06:00
Remove unnecessary initialization of empty arrays for systemMessages, assistantMessages, and userMessages in OpenaiService. Also, implement a function to handle open chat completion and refactor the code for better readability and maintainability. Affected files: openai.service.ts