Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename InstrumentedProvider to BaseProvider #645

Merged
merged 1 commit into from
Jan 16, 2025
Merged

Conversation

teocns
Copy link
Contributor

@teocns teocns commented Jan 16, 2025

Changes

  • Renamed InstrumentedProvider class to BaseProvider to better reflect its role as the abstract base class for all provider implementations
  • Updated all provider class imports and inheritance to use the new BaseProvider name
  • Updated documentation in CONTRIBUTING.md to reflect the new class name

Motivation

The name InstrumentedProvider was potentially misleading as it suggested the class itself handled instrumentation, when in fact it serves as an abstract base class that defines the interface and common functionality for all LLM provider implementations. The new name BaseProvider better communicates its role in the codebase.

@teocns teocns added the v0.4 label Jan 16, 2025
@teocns teocns merged commit fa49968 into main Jan 16, 2025
9 checks passed
@teocns teocns deleted the refactor-providers branch January 16, 2025 18:48
Copy link

codecov bot commented Jan 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant