Skip to content

Add: Endpoint to list the assisted labeling providers - #2823

Draft
iunir wants to merge 1 commit into
iunir-assisted-labeling-provider-interfacefrom
iunir-assisted-labeling-provider-registry
Draft

iunir wants to merge 1 commit into
iunir-assisted-labeling-provider-interfacefrom
iunir-assisted-labeling-provider-registry

Conversation

@iunir

@iunir iunir commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

What has changed and why?

Part 2 of 20. This stack replaces the assisted labeling prototype (PR 2752) with small PRs. Each PR adds one part.

  • Adds a registry of providers. It creates a provider only on first use, not at import.
  • Adds GET /api/annotate/providers. It returns each provider with its capabilities and the reason if it is not available.

How has it been tested?

  • Unit tests for the registry (lazy creation, unknown id) and the service.
  • Route test for GET /api/annotate/providers.

Did you update CHANGELOG.md?

  • Yes
  • Not needed (internal change)

@coderabbitai

coderabbitai Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 58 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 4 included reviews currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Repository: lightly-ai/lightly-studio/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 683d7d2a-f827-4a0d-bbc6-febe1258309f
📥 Commits

Reviewing files that changed from the base of the PR and between 4dba26f and 70f8e7e.

📒 Files selected for processing: 10
  • lightly_studio/src/lightly_studio/api/app.py
  • lightly_studio/src/lightly_studio/api/routes/api/annotate.py
  • lightly_studio/src/lightly_studio/assisted_labeling/registry.py
  • lightly_studio/src/lightly_studio/models/assisted_labeling.py
  • lightly_studio/src/lightly_studio/services/assisted_labeling_service/__init__.py
  • lightly_studio/src/lightly_studio/services/assisted_labeling_service/get_provider_views.py
  • lightly_studio/tests/api/routes/api/test_annotate.py
  • lightly_studio/tests/assisted_labeling/test_registry.py
  • lightly_studio/tests/services/assisted_labeling_service/__init__.py
  • lightly_studio/tests/services/assisted_labeling_service/test_get_provider_views.py
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@iunir
iunir added this pull request to stack #2842 October 16, 2026 17:03

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant