Release/v0.2.0 - #5
Merged
Merged
Conversation
The starter moves onto pipelex-sdk 0.14.0 and mthds 0.17.0, where every route raises the typed `ApiResponseError` on a non-2xx answer, so the raw `httpx.HTTPStatusError` branch is gone and `httpx` leaves the runtime dependencies. A refused run now prints its reason, the pipe or concept each validation error names, the server's next step and the retry advice, in every mode, with the `StartRequiresAsyncOrchestration` hint moved onto the typed branch; `make codegen` and `make add-method` also stop reading a 404 the route answered as a missing route. Closes L-260927-23e105 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01Xcr1G5gkEa4Aeoo1a7ATyh <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Moves the starter onto `pipelex-sdk` 0.14.0 and `mthds` 0.17.0, where every route raises the typed `ApiResponseError` on a non-2xx answer. The raw `httpx.HTTPStatusError` branch is gone from all three modes, and `httpx` leaves the runtime dependencies (it stays dev-only for the test transport fakes). **Refused requests now say why, where, and what to do** - A method the API refuses to run prints the reason, the pipe or concept each validation error names, the server's next step, and the retry advice — the same shape a failed run's report uses, in every mode. - Multi-line reasons hang their continuation lines under the label. - 401/403 failures keep the API-key hint and also read out their reason; the `StartRequiresAsyncOrchestration` hint now rides on the typed error. **Codegen scripts stop misreading 404s** - `explain` sends you to `PIPELEX_BASE_URL` only for a bare 404; a 404 carrying the runner's error class (e.g. a missing `method_ref` package) prints the server's reason instead. - Non-404 refusals now include the server's next step under the reason. Closes L-260927-23e105. <sup>Written for commit 89c05f6. Summary will update on new commits.</sup> <a href="https://cubic.dev/pr/Pipelex/pipelex-starter-python/pull/4?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="Review in cubic" src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a> <!-- End of auto-generated description by cubic. --> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…lex-sdk 0.14.0 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xcr1G5gkEa4Aeoo1a7ATyh
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.
Release v0.2.0
Bumps version from
0.1.1to0.2.0. Promotesdev→main.Changelog
Changed
pipelex-sdk0.14.0 andmthds0.17.0 are the floors, andhttpxis no longer a dependency (Breaking): frompipelex-sdk0.14.0 every route,executeandstartamong them, raises the typedApiResponseErroron a non-2xx answer, so each mode's_run()catchesPipelineRequestErrorwith no second arm for a rawhttpx.HTTPStatusError, and nothing in the project parses one any more. Code copied from the starter that caughthttpx.HTTPStatusErrorcatchesApiResponseErrorand readsexc.statuswhere it readexc.response.status_code.Fixed
widget blocking …,widget attended …orwidget detached …, now prints the refusal's reason, the pipe or concept each of its validation errors names, the next step the server advises and whether running it again can succeed, the same lines a failed run prints, instead of the reason alone; a reason that spans lines hangs under its label. Any other refused request reads out its reason the same way, an authentication failure included, beside the API-key hint.make codegenandmake add-methodtell a missing route from a 404 the route answered: a 404 carrying the runner's error class, such as amethod_refwhose package does not exist, is reported with the server's reason instead of sending you to checkPIPELEX_BASE_URL, and any other refused request prints the server's next step under its reason.Closes L-260927-892e08
🤖 Generated with Claude Code
https://claude.ai/code/session_01Xcr1G5gkEa4Aeoo1a7ATyh
Summary by cubic
Promotes dev to main as v0.2.0, moving the starter onto
pipelex-sdk0.14.0 andmthds0.17.0.ApiResponseErrorinstead of a rawhttpx.HTTPStatusError(breaking: code that caught the httpx error must catchApiResponseErrorand readexc.status), andhttpxdrops out of the runtime dependencies.make codegenandmake add-methodno longer read a 404 that the route itself answered (e.g. amethod_refwhose package does not exist) as a missing base URL, and print the server's next step on other refusals.Written for commit ede7ecd. Summary will update on new commits.