forked from langchain4j/langchain4j
-
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.
Support ToolExecutionResultMessage on Qwen Models (langchain4j#1260)
The current implementation supports the tool calls plan, but does not include ToolExecutionResultMessage. This makes it impossible to feed back the tool execution results to the model. This patch includes support for ToolExecutionResultMessage. <!-- Thank you so much for your contribution! --> <!-- Please fill in all the sections below. --> <!-- Please open the PR as a draft initially. Once it is reviewed and approved, we will ask you to add documentation and examples. --> <!-- Please note that PRs with breaking changes will be rejected. --> <!-- Please note that PRs without tests will be rejected. --> <!-- Please note that PRs will be reviewed based on the priority of the issues they address. --> <!-- We ask for your patience. We are doing our best to review your PR as quickly as possible. --> <!-- Please refrain from pinging and asking when it will be reviewed. Thank you for understanding! --> ## Issue <!-- Please paste the link to the issue this PR is addressing. For example: langchain4j#1012 --> ## Change <!-- Please describe the changes you made. --> ## General checklist <!-- Please double-check the following points and mark them like this: [X] --> - [x] There are no breaking changes - [x] I have added unit and integration tests for my change - [x] I have manually run all the unit and integration tests in the module I have added/changed, and they are all green
- Loading branch information
1 parent
eba2b1c
commit b74270b
Showing
6 changed files
with
252 additions
and
121 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
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
42 changes: 0 additions & 42 deletions
42
langchain4j-dashscope/src/main/java/dev/langchain4j/model/dashscope/QwenParameters.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.