forked from spring-projects/spring-ai
-
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.
Fix MiniMax model function call implementation
Implement function call capability for MiniMax model and add unit tests based on new tool classes. Address most scenarios, but note limitations in complex English contexts with multiple function calls. Weather query example: may stop prematurely when querying multiple locations due to single-location parameter limit. This behavior stems from model performance constraints. Streaming function calling is not passing tests, will be address seperately. Resolves spring-projects#1077 Implement function call capability for the Moonshot model. Include unit tests to verify the new functionality. This feature addresses the requirements outlined in issue spring-projects#1058. fix: MiniMax function call review
- Loading branch information
1 parent
611c949
commit 0927bd1
Showing
11 changed files
with
279 additions
and
275 deletions.
There are no files selected for viewing
361 changes: 194 additions & 167 deletions
361
models/spring-ai-minimax/src/main/java/org/springframework/ai/minimax/MiniMaxChatModel.java
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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.