Skip to content

Conversation

edenreich
Copy link
Contributor

Summary

This Pull-Request adds a new callback function onReasoning to the chatCompletionStreaming function. This callback is called when the model is reasoning, allowing the user to create a "thinking" effect in the chat.

@edenreich edenreich merged commit 200eb12 into main Apr 26, 2025
1 check passed
ig-semantic-release-bot bot added a commit that referenced this pull request Apr 26, 2025
## [0.5.0](v0.4.1...v0.5.0) (2025-04-26)

### ✨ Features

* Add on reasoning event callback function handling in streaming chat completions ([#7](#7)) ([200eb12](200eb12))

### 📦 Miscellaneous

* Add husky pre-commit hook ([#8](#8)) ([5ad49a0](5ad49a0))
@ig-semantic-release-bot
Copy link
Contributor

🎉 This PR is included in version 0.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@edenreich edenreich deleted the feat/add-onreasoning-callback-function branch April 26, 2025 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant