-
Notifications
You must be signed in to change notification settings - Fork 10.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: tool params not work as expected when develop a tool #6550
Merged
Conversation
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
laipz8200
approved these changes
Jul 23, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes in the backend look good to me.
iamjoel
approved these changes
Jul 23, 2024
Scorpion1221
added a commit
to yybht155/dify
that referenced
this pull request
Jul 27, 2024
* commit '49729647ea0bed4f78e6970b36b105da6aaec614': (108 commits) bump to 0.6.15 (langgenius#6592) fix(variables): NoneVariable should inherit from NoneSegment. (langgenius#6584) feat: update prompt generate (langgenius#6516) chore: enchance auto generate prompt (langgenius#6564) fix(segments): Support NoneType. (langgenius#6581) fix audio not working during development due to react's useEffect wil be triggered twice (langgenius#6126) chore: layout UI upgrade (langgenius#6577) fix(api/core/workflow/nodes/llm/llm_node.py): Fix LLM Node error. (langgenius#6576) fix: tool params not work as expected when develop a tool (langgenius#6550) fix: name 'current_app' is not defined in recommended_app_service (langgenius#6574) feat: add tencent asr (langgenius#6091) fix: extract only `like` feedback to caculate User Satisfaction (langgenius#6553) feat(variables): Support `to_object`. (langgenius#6572) fix(api/nodes): Fallback to `get_any` in some nodes that use object or array. (langgenius#6566) fix: fetch context error in llm node (langgenius#6562) fix the issue of MILVUS_DATABASE has no effect. (langgenius#6424) Add search by full text when using Oracle23ai as vector DB (langgenius#6559) fix: escape double quotation marks in the vector DB search query (langgenius#6506) feat: add Mingdao HAP tool, implemented read and maintain HAP application worksheet data. (langgenius#6257) fix: chat flow chat with annotation or moderation but answer empty (langgenius#6202) ... # Conflicts: # api/core/model_runtime/model_providers/openai/llm/gpt-4o-mini-2024-07-18.yaml # api/core/model_runtime/model_providers/openai/llm/gpt-4o-mini.yaml # api/core/tools/tool_file_manager.py # api/core/workflow/nodes/tool/tool_node.py # api/poetry.lock # web/yarn.lock
cuiks
pushed a commit
to cuiks/dify
that referenced
this pull request
Aug 6, 2024
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
🐞 bug
Something isn't working
🔨 feat:tools
Tools for agent, function call related stuff.
lgtm
This PR has been approved by a maintainer
size:L
This PR changes 100-499 lines, ignoring generated files.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Checklist:
Important
Please review the checklist below before submitting your pull request.
dev/reformat
(backend) andcd web && npx lint-staged
(frontend) to appease the lint godsDescription
Fixes #6549
btw, when the number input is empty string will raise an error, when it is
null
orundefined
will raise another error, so I fix the first situation on the backendType of Change
Testing Instructions
test locally