Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(openai): Reorder model matching logic to prioritize tool calls
The change swaps the order of the two model matching cases to give priority to processing the tool call message. This is because in some cases, the tool call message may be more important and should be processed first. The updated code first matches the tool call message, and then the content message. This ensures that the tool call message is processed correctly and promptly.
- Loading branch information