Title: Fix ReadRange Tool AttributeError (CLI-31) · Issue #553 · cecli-dev/cecli · GitHub
Open Graph Title: Fix ReadRange Tool AttributeError (CLI-31) · Issue #553 · cecli-dev/cecli
X Title: Fix ReadRange Tool AttributeError (CLI-31) · Issue #553 · cecli-dev/cecli
Description: Problem: The ReadRange tool in cecli/tools/read_range.py crashes with an AttributeError because it expects params to be a dictionary, but it can sometimes be passed as a list. Root Cause: The AttributeError occurs in cecli/tools/read_ran...
Open Graph Description: Problem: The ReadRange tool in cecli/tools/read_range.py crashes with an AttributeError because it expects params to be a dictionary, but it can sometimes be passed as a list. Root Cause: The Attri...
X Description: Problem: The ReadRange tool in cecli/tools/read_range.py crashes with an AttributeError because it expects params to be a dictionary, but it can sometimes be passed as a list. Root Cause: The Attri...
Opengraph URL: https://github.com/cecli-dev/cecli/issues/553
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Fix ReadRange Tool AttributeError (CLI-31)","articleBody":"**Problem**: The `ReadRange` tool in `cecli/tools/read_range.py` crashes with an `AttributeError` because it expects `params` to be a dictionary, but it can sometimes be passed as a list.\n\n**Root Cause**: The `AttributeError` occurs in `cecli/tools/read_range.py` at the line `show = params.get(\"show\")`. The `.get()` method is a dictionary method, but `params` is being passed as a list, causing the crash.\n\n**Goal**: Resolve the `AttributeError` by implementing robust type checking or enforcing the correct schema for the `ReadRange` tool.\n\n**Jira Issue**: CLI-31","author":{"url":"https://github.com/szmania","@type":"Person","name":"szmania"},"datePublished":"2026-06-04T04:36:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/553/cecli/issues/553"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c48875a5-2fc2-1d74-c091-fc280cfef6a4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A89E:3E91C2:64F6EC:8BD6F0:6A618528 |
| html-safe-nonce | 6ba6378602fe99dc9180af7f69a278faab84b3eb959caf4fbd2c1e3f5c2d0903 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODlFOjNFOTFDMjo2NEY2RUM6OEJENkYwOjZBNjE4NTI4IiwidmlzaXRvcl9pZCI6IjUxMTg0NzUzOTM1ODc4NDAyOTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d602eccca1247a2611150197211c3ef6ce36f54d44a0533a1666f14b055ab489 |
| hovercard-subject-tag | issue:4585824955 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/cecli-dev/cecli/553/issue_layout |
| twitter:image | https://opengraph.githubassets.com/43be126f309be963d6fc4c800c89f861e6de794a9329094a0075066413ce2508/cecli-dev/cecli/issues/553 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/43be126f309be963d6fc4c800c89f861e6de794a9329094a0075066413ce2508/cecli-dev/cecli/issues/553 |
| og:image:alt | Problem: The ReadRange tool in cecli/tools/read_range.py crashes with an AttributeError because it expects params to be a dictionary, but it can sometimes be passed as a list. Root Cause: The Attri... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | szmania |
| hostname | github.com |
| expected-hostname | github.com |
| None | c28c2f6607f2aacbd934868d997038895c9780d08babfe918550d73773326f4c |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cd05235d52ffb3318513d883a56c87a121015c8b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width