forked from lobehub/lobe-chat
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ feat: add custom stream handle support for LobeOpenAICompatibleFact…
…ory (lobehub#5039) * ♻️ refactor: add function call support for Spark * ♻️ refactor: add non-stream mode support * ⚡️ perf: using stream mode for tools call * ✨ feat: add `handleStream` & `handleStreamResponse` for LobeOpenAICompatibleFactory, custom stream handle * ✨ feat: add `handleTtransformResponseToStream` for custom non-stream transform handle * ♻️ refactor: refactor qwen to LobeOpenAICompatibleFactory, enable `enable_search` for Qwen LLM * 🔨 chore: add unit test for LobeOpenAICompatibleFactory * 🔨 chore: add unit test for SparkAIStream * 🔨 chore: add unit test for Qwen & Spark * 🐛 fix: fix Qwen param range error * 🔨 chore: add `QwenLegacyModels` array, limit `presence_penalty` * 🐛 fix: fix typo
- Loading branch information
1 parent
cf0e8d8
commit ea7e732
Showing
10 changed files
with
570 additions
and
351 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.