Title: --with fastapi --with orjson to fix missing package error with github_copilot models · Issue #601 · cecli-dev/cecli · GitHub
Open Graph Title: --with fastapi --with orjson to fix missing package error with github_copilot models · Issue #601 · cecli-dev/cecli
X Title: --with fastapi --with orjson to fix missing package error with github_copilot models · Issue #601 · cecli-dev/cecli
Description: Issue Right now I need to run cecli with the uv tool run ... --with fastapi --with orjson ... cecli options; otherwise it will raise a litellm.APIConnectionError: APIConnectionError: Github_copilotException with the message No module nam...
Open Graph Description: Issue Right now I need to run cecli with the uv tool run ... --with fastapi --with orjson ... cecli options; otherwise it will raise a litellm.APIConnectionError: APIConnectionError: Github_copilot...
X Description: Issue Right now I need to run cecli with the uv tool run ... --with fastapi --with orjson ... cecli options; otherwise it will raise a litellm.APIConnectionError: APIConnectionError: Github_copilot...
Opengraph URL: https://github.com/cecli-dev/cecli/issues/601
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"--with fastapi --with orjson to fix missing package error with github_copilot models","articleBody":"### Issue\n\nRight now I need to run cecli with the `uv tool run ... --with fastapi --with orjson ... cecli` options; otherwise it will raise a `litellm.APIConnectionError: APIConnectionError: Github_copilotException` with the message `No module named '...'` for either module. Looks like those are missing in the `requirements.txt`?\n\nThis happens with all `github_copilot/...` models.\n\nN.B. the code just displays \"Retrying in ...\" and suppresses any meaningful user output for this error unless I add this line:\n\n```\nmodified cecli/models.py\n@@ -1416,6 +1416,7 @@ class Model(ModelSettings):\n return hash_object, self.model_error_response()\n \n print(f\"Retrying in {retry_delay:.1f} seconds...\")\n+ print(f\"LiteLLM API Error: {str(err)}\")\n if interrupt_event:\n _res, interrupted = await coroutines.interruptible(\n asyncio.sleep(retry_delay), interrupt_event\n```\n\nSo there is a path through this method that displays no info whatsoever; maybe you could make it so at least the bare error message is displayed to the user in any case. I'd rather have a little spam than an error that is unactionable to the user.\n\nAs usual, thanks for your great work! :)\n\n### Version and model info\n\ncecli v0.100.13.dev9","author":{"url":"https://github.com/ekr1","@type":"Person","name":"ekr1"},"datePublished":"2026-07-13T10:55:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/601/cecli/issues/601"}
| 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:10ee0cd1-ff70-a10a-82d6-7c9732757892 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8B64:3D821D:2FAA874:44E98ED:6A60E7CB |
| html-safe-nonce | 72605fa80af2a5faba3521f309511c21c70f3a99d10b3f498d0bff5bd146aca4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjY0OjNEODIxRDoyRkFBODc0OjQ0RTk4RUQ6NkE2MEU3Q0IiLCJ2aXNpdG9yX2lkIjoiNDA4NDk4NjYyNTg1NjE2OTkzMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e5c89d060eee5aabff673a0ae09909d6232e4a8a9871567c8dcbfe78bf4f8052 |
| hovercard-subject-tag | issue:4872921592 |
| 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/601/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0cc88aa133a700f71fe2eabf5c76b7bc6b5eda7998d4ce381887d510b04c7ab8/cecli-dev/cecli/issues/601 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0cc88aa133a700f71fe2eabf5c76b7bc6b5eda7998d4ce381887d510b04c7ab8/cecli-dev/cecli/issues/601 |
| og:image:alt | Issue Right now I need to run cecli with the uv tool run ... --with fastapi --with orjson ... cecli options; otherwise it will raise a litellm.APIConnectionError: APIConnectionError: Github_copilot... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ekr1 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3ba36a464b9464992131f4003292a219fc87f92404b0dbe3fd1ef07f11102d0f |
| 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 | 2cc5e4f897a27632dd600edfec4c737bea2f8338 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width