Repository navigation
Conversation
- Added support for new built-in tools including web_extractor, web_search_image, and image_search. - Introduced flags for specifying built-in tools and images in responses. - Updated documentation to reflect new command options and usage examples. - Enhanced validation for built-in tool flags and image requirements in responses API.
This branch has not been deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
--builtin-toolonbl text chatfor Responses tools (web_search,web_extractor,code_interpreter,web_search_image,image_search) with Chat mappings for search and code interpreter--imageforinput_image, including dry-run redaction and large-file pending-upload placeholders--toolvalidation, last-user image rewrite, and offline e2e coverage for the new pathsDescription
This extends
text chatso agents can enable DashScope built-in tools without hand-writingtools[]JSON. On Responses,--builtin-toolmerges selected types (withweb_extractorauto-addingweb_search); bare--tool {"type":"web_extractor"}without search is rejected because the--toolpath does not auto-add companions. Chat mapsweb_search/code_interpreterontoenable_*and still forces streaming for Chat code interpreter; Responses code interpreter does not require streaming.--imagerebuilds the last user message into Responses multimodal content, preserves unrecognized non-image parts, and confines image-source conflict checks to that rewritten message. Dry-run keeps large local files aspending-uploadplaceholders and redacts Data URIs; mismatched pending indexes fail closed instead of silently sending placeholders.Skills reference and offline unit/e2e coverage follow the flag and notes changes. Gap review item about early
hasMessagesFileallow forimage_searchwas left as Low/optional: run-time validation still returns the correct USAGE message.