Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: runloopai/api-client-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: siddarth/doc-shared-params
Choose a base ref
...
head repository: runloopai/api-client-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 17 commits
  • 137 files changed
  • 6 contributors

Commits on Nov 25, 2025

  1. fix(scenarios): update parameters for manually maintained start_run_a…

    …nd_await_env_ready methods (#692)
    
    * update parameters for manually maintained start_run_and_await_env_ready methods
    
    * added helper comment (maintains consistency)
    sid-rl authored Nov 25, 2025
    Configuration menu
    Copy the full SHA
    8000495 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bf8bf33 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2025

  1. Configuration menu
    Copy the full SHA
    6cc8c2f View commit details
    Browse the repository at this point in the history
  2. feat(devbox): added devbox.shell(shellName) command and stateful shel…

    …l class to SDK (#696)
    
    * cp dines
    
    * cp dines
    
    * cp dines
    dines-rl authored Nov 26, 2025
    Configuration menu
    Copy the full SHA
    c1e8f09 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2025

  1. release: 1.0.0 (#688)

    * chore: hide build context APIs
    
    * fix(devbox): launch parameter typo
    
    * fix(scorer): fixed RL_TEST_CONTEXT to RL_SCORER_CONTEXT
    
    * fix(api): don't ignore devbox keep_alive, suspend and resume in api
    
    * feat(blueprints): Add build context to the OpenAPI spec (#6494)
    
    * chore(mounts): Update documentation for deprecated fields to direct the user to the replacement API
    
    * chore(blueprints): Add build context examples (#694)
    
    * feat(sdk): added scorer classes to sdk (#698)
    
    * added scorer class (kept create and list as static methods for now since we don't know how we're creating scorers yet)
    
    * refactored static methods to ScorerOps class
    
    * fix example docstrings to use correct scorer create params
    
    * scorer tests
    
    * fixed scorer unit test parameters for update and validate
    
    * update scorer and scorer ops docstrings to be more helpful while not exposing system internals
    
    * update docs with scorer classes, methods and types
    
    * remove verbose request options in unit test parameters
    
    * rename client to ops in client test
    
    * rename client test file to ops
    
    * added list_empty, list_single and list_multiple unit tests to all ops class tests
    
    * fix assert_called to assert_awaited
    
    * remove duplicate tests
    
    * release: 1.0.0
    
    ---------
    
    Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
    Co-authored-by: Adam Lesinski <adam@runloop.ai>
    Co-authored-by: sid-rl <siddarth@runloop.ai>
    3 people authored Dec 2, 2025
    Configuration menu
    Copy the full SHA
    1bd9450 View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2025

  1. Configuration menu
    Copy the full SHA
    663ead3 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2025

  1. feat(SDK): Build context helpers for the python clients and SDKs (#684)

    * added context loader helper
    
    * added context loader helper to make it easier to add build context when creating a blueprint
    
    * added oop build context functional method wrapper
    
    * added context helpers to SDKs
    
    * made ctxt example a bit better
    
    * made this example better
    
    * refactored ignore logic to follow moby (docker project) pattern matching logic and tests
    
    * fixed some tests and broken imports
    
    * improved typing and made the ignore matching less docker-specific
    
    * added tar filter for upload_from_dir
    
    * fixed bad type
    
    * removed some dead code and standardized the ignore interface & made it a bit more ergonomic
    
    * rolled back change that made tar its own filter type -- big misunderstanding
    
    * added handling for extremely weird edge case behavior for dockerignore
    
    * added some type hints and override flags
    
    * docstring fixes and consolidation of duplicated ignore code
    james-rl authored Dec 6, 2025
    Configuration menu
    Copy the full SHA
    42849d6 View commit details
    Browse the repository at this point in the history
  2. release: 1.1.0 (#700)

    * chore(smoketests): fixed smoketests and cleaned up typing/formatting (#699)
    
    * increase timeout for flaky smoketest
    
    * don't convert params from TypedDict to dict (unnecessary and undoes type hints)
    
    * docstring formatting fixes
    
    * removed shell exec tests with 'working_dir' parameter testing
    
    * feat(scenarios): added scenario class to sdk (#701)
    
    * uv lock upgrade
    
    * scenario wrapper
    
    * modified ScenarioStartRunParams to follow our previous pattern for use in the SDK
    
    * fixed redundancy and formatting in scenario and scenario run unit tests
    
    * formatting fixes
    
    * changed scenario and scenario smoketests to update existing scenarios and add metadata tag instead of creating new ones every time (workaround for lack of cleanup option)
    
    * changed scenario run methods to `run` and `run_async`, updated parameter TypedDicts appropriately
    
    * exposed all scenario update parameters appropriately using typeddict
    
    * formatting fixes
    
    * remove scenario builder smoketests
    
    * add score_and_complete and download_logs methods to scenario runs, and update docstrings to not leak internals
    
    * add unit tests for ScenarioOps and AsyncScenarioOps
    
    * update tests for scenario.update and change test name for scenario.run and run_async
    
    * add unit tests for download_logs and score_and_complete
    
    * don't pass polling_config to get_info within await_env_ready
    
    * release: 1.1.0
    
    ---------
    
    Co-authored-by: sid-rl <siddarth@runloop.ai>
    Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
    stainless-app[bot] and sid-rl authored Dec 6, 2025
    Configuration menu
    Copy the full SHA
    ea91ef6 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2025

  1. cleanup(blueprints): remove references to named_build_contexts (#703)

    * uv lock upgrade
    
    * remove references to named_build_context
    
    * add type annotations for agent create sources
    
    * remove metadata, _unused_kwargs parameters in agent unit tests
    sid-rl authored Dec 8, 2025
    Configuration menu
    Copy the full SHA
    6928652 View commit details
    Browse the repository at this point in the history
  2. chore: remove some unnecessary changes to reduce diff from Stainless (#…

    …705)
    
    * Remove some unneccessary changes to reduce the diff from Stainless
    
    These diffs were reported by Stainless as custom code patches,
    which we are not interested in maintaining.
    
    * update pyproject.toml to add support for python 3.14, remove rye dependencies. regenerate uv.lock and requirements-dev.lock
    
    * update test script (skip pydantic v1 tests on python 3.14)
    
    * add formatting for sdk README
    
    * change uv version requirement to >= 0.8
    
    * upgrade uv back to >= 0.9
    
    ---------
    
    Co-authored-by: Adam Lesinski <adam@runloop.ai>
    sid-rl and adam-rl authored Dec 8, 2025
    Configuration menu
    Copy the full SHA
    715c9d0 View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2025

  1. Configuration menu
    Copy the full SHA
    a2d5326 View commit details
    Browse the repository at this point in the history
  2. release: 1.2.0 (#704)

    * chore: update uv.lock
    
    * fix: ensure streams are always closed
    
    * chore(deps): mypy 1.18.1 has a regression, pin to 1.17
    
    * chore(internal): version bump
    
    * chore: bump required `uv` version
    
    * chore: update lockfile
    
    * chore(docs): use environment variables for authentication in code snippets
    
    * feat(devbox): return user for createSshKey
    
    * feat(devbox): default to x86 arch
    
    * release: 1.2.0
    
    ---------
    
    Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
    stainless-app[bot] authored Dec 9, 2025
    Configuration menu
    Copy the full SHA
    80e662a View commit details
    Browse the repository at this point in the history
  3. cleanup: add type declaration for source in agent unit test, upgrade …

    …uv lock (#709)
    
    * uv lock upgrade
    
    * type declaration cleanup for agent unit tests
    sid-rl authored Dec 9, 2025
    Configuration menu
    Copy the full SHA
    6a29f8e View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2025

  1. Configuration menu
    Copy the full SHA
    fb3cc3d View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2025

  1. feat(scenarios): add scenario builder to sdk (#706)

    * init commit
    
    * formatting fix
    
    * clean up imports in scenario ops unit tests
    
    * use Blueprint and Snapshot objects directly in ScenarioBuilder
    
    * consolidate from_blueprint and from_snapshot unit tests
    
    * further consolidate scenario builder unit tests, make sure async coverage matches sync
    
    * stricter type declaration for _build_params
    
    * expose request options in push()
    
    * add scenario creation smoketests, with push_or_update logic
    
    * update sdk smoke tests with all ops
    
    * avoid modifyng _scorers internal state when normalizing weights (create copy instead)
    
    * formatting fixes
    
    * update builder docstrings to use fluent pattern, replaced all references to RunloopSDK() to 'runloop' instead of 'sdk' or 'client'
    
    * clarify from_blueprint and from_snapshot docstrings
    
    * rename add_scorer methods to be more clear
    
    * format fix
    
    * address type check errors in scenario builder unit tests
    
    * rename add_scorer methods in docstrings
    
    * make sure it is clear that score is 0.0-1.0 inclusive
    
    * update script scorer docstrings
    
    * formatting
    
    * clarify reference solution/gold patch terminology and validation strategy
    
    * make name first argument passed to scenario builder
    
    * add preview method
    
    * clean up unit test imports, rename builder fixture to mock_builder
    
    * added `preview()` method to scenario builder
    
    * rename `_build_params` to `build` (now publicly exposed method)
    
    * formatting
    
    * update docstring examples to use builder.build() instead of builder.push()
    
    * formatting
    
    * update with_problem_statement and with_additional_context docstrings
    sid-rl authored Dec 12, 2025
    Configuration menu
    Copy the full SHA
    2d41a15 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2025

  1. chore: add documentation url to pypi project page (#711)

    * uv lock upgrade
    
    * add docs url to pypi page
    sid-rl authored Dec 16, 2025
    Configuration menu
    Copy the full SHA
    7afb327 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2025

  1. docs: reformat sidebar and index pages to be more transparent, add fa…

    …vicon to browser tab (#715)
    
    * uv lock upgrade
    
    * keep default sidebar options so logo and search bar aren't scrollable
    
    * restructure index so there's no redundant "SDK Reference" index
    
    * added favicon
    
    * remove separation between core module and resource modules
    sid-rl authored Dec 18, 2025
    Configuration menu
    Copy the full SHA
    1161b8f View commit details
    Browse the repository at this point in the history
Loading