Skip to content

refactor!: remove deprecated Eval API and related APIs#5290

Draft
leseb wants to merge 7 commits intollamastack:mainfrom
leseb:remove-eval-api
Draft

refactor!: remove deprecated Eval API and related APIs#5290
leseb wants to merge 7 commits intollamastack:mainfrom
leseb:remove-eval-api

Conversation

@leseb
Copy link
Copy Markdown
Collaborator

@leseb leseb commented Mar 25, 2026

Summary

Remove the Eval API and all connected APIs that are already marked deprecated in the spec:

  • /v1alpha/eval/ (benchmarks, jobs, evaluations)
  • /v1beta/datasets/ (dataset CRUD)
  • /v1beta/datasetio/ (append-rows, iterrows)
  • /v1/scoring-functions/ (scoring function CRUD)
  • Scoring API (score, score_batch)

These APIs have limited adoption and are better served by purpose-built tools (MLflow, eval frameworks). Removing them sharpens the project's focus on OpenAI-compatible agentic APIs.

What was removed

  • 6 API packages, all provider implementations (inline + remote), registry entries, routing tables, routers
  • 6 Api enum values
  • All distribution config references
  • All integration and unit tests

Stats

  • 174 files changed, -20,628 lines net
  • 224 unit tests pass

Test plan

  • Unit tests pass
  • CI

Signed-off-by: Sebastien Han shan@redhat.com

…o, scoring, scoring_functions, benchmarks)

Remove the Eval API and all connected APIs that were already marked as
deprecated in the spec. This includes the datasets, datasetio, scoring,
scoring_functions, and benchmarks APIs along with all their provider
implementations, routing tables, routers, registry entries, distribution
configs, and tests.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Sébastien Han <seb@redhat.com>
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Mar 25, 2026
@leseb leseb added this to the 0.8.0 milestone Mar 25, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 25, 2026

✱ Stainless preview builds

This PR will update the llama-stack-client SDKs with the following commit message.

refactor!: remove deprecated Eval API and related APIs

Edit this comment to update it. It will appear in the SDK's changelogs.

llama-stack-client-node studio · conflict

Your SDK build had at least one new note diagnostic, which is a regression from the base state.

New diagnostics (1 note)
💡 Model/Recommended: `#/components/schemas/ImageContentItem-Input` could potentially be defined as a [model](https://www.stainless.com/docs/guides/configure#models) within `#/resources/vector_io`.
llama-stack-client-go studio · conflict

Your SDK build had at least one new note diagnostic, which is a regression from the base state.

New diagnostics (1 note)
💡 Model/Recommended: `#/components/schemas/ImageContentItem` could potentially be defined as a [model](https://www.stainless.com/docs/guides/configure#models) within `#/resources/$shared`.
llama-stack-client-openapi studio · code · diff

Your SDK build had at least one "warning" diagnostic, but this did not represent a regression.
generate ⚠️

New diagnostics (1 note)
💡 Model/Recommended: `#/components/schemas/ImageContentItem-Input` could potentially be defined as a [model](https://www.stainless.com/docs/guides/configure#models) within `#/resources/vector_io`.
llama-stack-client-python studio · conflict

Your SDK build had at least one new note diagnostic, which is a regression from the base state.

New diagnostics (1 note)
💡 Model/Recommended: `#/components/schemas/ImageContentItem-Input` could potentially be defined as a [model](https://www.stainless.com/docs/guides/configure#models) within `#/resources/vector_io`.

This comment is auto-generated by GitHub Actions and is automatically kept up to date as you push.
If you push custom code to the preview branch, re-run this workflow to update the comment.
Last updated: 2026-03-27 14:54:31 UTC

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Mar 25, 2026

This pull request has merge conflicts that must be resolved before it can be merged. @leseb please rebase it. https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork

Signed-off-by: Sébastien Han <seb@redhat.com>
Signed-off-by: Sébastien Han <seb@redhat.com>
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Mar 26, 2026

This pull request has merge conflicts that must be resolved before it can be merged. @leseb please rebase it. https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork

@mergify mergify bot added the needs-rebase label Mar 26, 2026
…nses rename

Merge upstream/main into remove-eval-api branch, resolving conflicts caused
by the agents-to-responses API rename (PR llamastack#5195) interacting with the eval API
removal. This includes fixing distribution templates that still referenced the
old "agents" API name, removing the stale DatasetPurpose import from
template.py, cleaning up the stainless config to remove references to deleted
eval/scoring/dataset endpoints, removing the now-orphaned nvidia datasetio
test, and regenerating all OpenAPI specs and distribution configs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Sébastien Han <seb@redhat.com>
@mergify mergify bot removed the needs-rebase label Mar 26, 2026
leseb and others added 3 commits March 26, 2026 21:05
Resolve merge conflicts from upstream/main. All modify/delete conflicts
are resolved by keeping the deletions from this branch since the purpose
of this branch is to remove the eval, scoring, datasetio, and benchmarks
APIs. Content conflicts in datatypes.py files are resolved by excluding
the eval-related classes that upstream added.

Signed-off-by: Sébastien Han <seb@redhat.com>
Merge upstream/main into remove-eval-api branch. The Dell distribution
was removed upstream, so the conflicting Dell files (config.yaml,
dell.py, run-with-safety.yaml) are resolved by accepting the upstream
deletion.

Signed-off-by: Sebastien Han <seb@redhat.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Sébastien Han <seb@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant