Title: fix(tools): harden Grep format_output for local-model searches JSON by JessicaMulein · Pull Request #549 · cecli-dev/cecli · GitHub
Open Graph Title: fix(tools): harden Grep format_output for local-model searches JSON by JessicaMulein · Pull Request #549 · cecli-dev/cecli
X Title: fix(tools): harden Grep format_output for local-model searches JSON by JessicaMulein · Pull Request #549 · cecli-dev/cecli
Description: Summary Harden Grep format_output and execute when local models emit double-encoded or malformed searches JSON (truncated inner JSON, string instead of list). Add _coerce_searches() and route through parse_tool_arguments Regression test in tests/tools/test_tool_arguments.py Context Reopened from Digital-Defiance/cecli#12 (rebased on cecli-dev/main). Test plan pytest tests/tools/test_tool_arguments.py -k grep — 3 passed (local run) BrightVision dogfood: Grep tool no longer crashes on qwen-style searches JSON
Open Graph Description: Summary Harden Grep format_output and execute when local models emit double-encoded or malformed searches JSON (truncated inner JSON, string instead of list). Add _coerce_searches() and route thro...
X Description: Summary Harden Grep format_output and execute when local models emit double-encoded or malformed searches JSON (truncated inner JSON, string instead of list). Add _coerce_searches() and route thro...
Opengraph URL: https://github.com/cecli-dev/cecli/pull/549
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:09d52472-ed11-38e1-0b8e-dc427ecc2ac8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B030:AAE15:CB399C:11DD19F:6A61C8DD |
| html-safe-nonce | 6dd1bdbf47b3fc67ea0817c767eec66ed22c85dd32c1b3b342e1d3e9f9f3ee29 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDMwOkFBRTE1OkNCMzk5QzoxMUREMTlGOjZBNjFDOEREIiwidmlzaXRvcl9pZCI6IjgxNDMwNTA5NDMyMTczODc3NDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3b07c000066ff94b18128b2efab6e66bf73b577955bf3088ec8acb3d1a07ffdd |
| hovercard-subject-tag | pull_request:3791807039 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/cecli-dev/cecli/pull/549/files |
| twitter:image | https://avatars.githubusercontent.com/u/3766240?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/3766240?s=400&v=4 |
| og:image:alt | Summary Harden Grep format_output and execute when local models emit double-encoded or malformed searches JSON (truncated inner JSON, string instead of list). Add _coerce_searches() and route thro... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6f4633bcf01c1ad14b73fd07dd39ac31d61f3d3c2578ee08ec1792b7b351eeb9 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/cecli-dev/cecli git https://github.com/cecli-dev/cecli.git |
| octolytics-dimension-user_id | 250452847 |
| octolytics-dimension-user_login | cecli-dev |
| octolytics-dimension-repository_id | 1030985330 |
| octolytics-dimension-repository_nwo | cecli-dev/cecli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 638629097 |
| octolytics-dimension-repository_parent_nwo | Aider-AI/aider |
| octolytics-dimension-repository_network_root_id | 638629097 |
| octolytics-dimension-repository_network_root_nwo | Aider-AI/aider |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ac296ae7f21856f1f92adbad22f870b6fbb4b907 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width