[feat] url based rollout#235
Draft
mathewjhan wants to merge 5 commits into
Draft
Conversation
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.
What
Why
How to Test
Checklist
[module] type: descriptionformatenhancement,bug,breaking)ruff check .andruff format --check .passpyright osmosis_ai/passespytestpasses (new tests added if applicable)Summary by cubic
Switch rollouts to URL-based routing and a single-sample contract to simplify execution, grading, and integrations. Adds minimal multiply examples for
openai_agentsandstrands.New Features
chat_completions_urland callback paths;rollout_idin the body is optional (server generates one if missing).sample.jsonandreward.json; grader callbacks send a singlesample.OsmosisLitellmModelno longer stamps per-call headers; models rely on URL routing.openai_agentsandstrands, each with a local server, tools, workflow, and grader.Migration
ExecutionResult.sample,GraderInitRequest.sample,GraderCompleteRequest.sample;RolloutSampleno longer hasid; removeMultiTurnMode.RolloutContext.set_sample_source(...),get_sample(), andGraderContext.set_reward(...).--sampleandsample.json; grader writesreward.jsonas{"reward": <float>}.OsmosisMemorySession()to OpenAI Agents runners; useOsmosisStrandsAgentwithOsmosisRolloutModelin Strands; models rely on URL routing.Written for commit d55ebc8. Summary will update on new commits.