Repository navigation
[pull] main from Alishahryar1:main - #239
Merged
Merged
Conversation
## Why Closes #1862. Automatic WebSearch rejected a model response with multiple searches and rejected a later search when the conversation included an earlier search result. These failures occurred in FCC's shared path regardless of the selected provider. ## How Project completed search history into provider-neutral quoted text before forwarding a new request upstream, while preserving the client-visible history. Execute multiple model-selected searches with bounded concurrency, honor `max_uses`, and return linked result or error blocks with the actual search count in one Anthropic response. Bump FCC to 6.2.58. <!-- greptile_comment --> <!-- greptile_summary --> <h2><a href="https://app.greptile.com/api/retrigger?id=68124844"><picture><source media="(prefers-color-scheme: dark)" srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source media="(prefers-color-scheme: light)" srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img alt="Retrigger" src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2" align="right"></picture></a>Confidence Score: 5/5</h2> The changed automatic search flow preserves valid upstream text responses when no search is selected and introduces no identified merge-blocking behavior. What we checked: - Validated that the zero-tool-call upstream path produced HTTP 200 with the same valid text both before and after the guard, and that contexts[0] was not reached because the guard returned at line 161. <a href="https://www.greptile.com/trex"><img alt="T-Rex" src="https://greptile-static-assets.s3.amazonaws.com/trex/trex_green.svg" height="16" align="absmiddle"></a> - Concluded there is no security issue from this behavior, as it does not introduce unhandled failures, information exposure, or a security boundary bypass. <a href="https://www.greptile.com/trex"><img alt="T-Rex" src="https://greptile-static-assets.s3.amazonaws.com/trex/trex_green.svg" height="16" align="absmiddle"></a> - Inspected the supporting artifacts to verify the guard behavior and response integrity: the Python contract validation script and two runtime logs. <a href="https://www.greptile.com/trex"><img alt="T-Rex" src="https://greptile-static-assets.s3.amazonaws.com/trex/trex_green.svg" height="16" align="absmiddle"></a> <details open><summary>Summary</summary> - Enables multiple automatic web searches in a single model response, with bounded concurrency and `max_uses` enforcement. - Makes completed search history available to later requests by converting it into provider-neutral context. - Extends Anthropic SSE output to represent multiple linked tool-use and result blocks while retaining the existing single-search behavior. - An automatic-search request for which the upstream model selects no search continues to return the upstream text response successfully. This change is safe to merge. </details> <!-- greptile_confidence_score:5 --> <sub>Reviews (1) · Last reviewed commit: ["Support repeated automatic web searches ..."](https://github.com/alishahryar1/free-claude-code/commit/2267f0281d19216287fe3920ca313537cfb5f9e5)</sub> <!-- /greptile_comment -->
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )