Bootstrap praxis init with messages and responses starters#642
Closed
franciscojavierarceo wants to merge 1 commit into
Closed
Conversation
praxis init with responses starters
praxis init with responses starterspraxis init with responses and messages starters
a584df6 to
5b42539
Compare
praxis init with responses and messages startersSigned-off-by: Francisco Javier Arceo <farceo@redhat.com>
08519e4 to
a1009ae
Compare
Member
|
I like the idea, but separating it and letting it soak and grow on its own for a bit will be helpful for cognitive load. I've moved the epic over to a new repository: praxis-proxy/config-generator#1 let's move this over there 👍 |
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Bootstrap
praxis initwith a small, truthful first slice aimed at issue praxis-proxy/config-generator#1.This PR adds:
praxis init <family> <recipe>CLI surfacemessages protocolmessages to-openairesponses passthroughresponses full-flowpraxis.yamlWhy
Issue praxis-proxy/config-generator#1 proposes a starter-config CLI that makes Praxis easier to try without starting from a blank YAML file.
This PR establishes the command framework and ships the first recipes from maintained in-repo examples for both Anthropic Messages and OpenAI Responses workflows.
Scope notes
This is still the first slice of the broader epic:
messagesandresponsespraxis.yamlin the working directory and refuses to overwrite existing filesValidation
cargo test -p praxiscargo run -q -p praxis -- init messages --helpcargo run -q --manifest-path server/Cargo.toml -- init messages protocolin a temp dir and verified the generatedpraxis.yamlcargo run -q --manifest-path server/Cargo.toml -- init responses passthroughin a temp dir and verified the generatedpraxis.yamlCloses praxis-proxy/config-generator#1