Skip to content

Conversation

@knjiang
Copy link
Contributor

@knjiang knjiang commented Dec 23, 2025

Add foundational ProviderAdapter trait that unifies provider handling:

  • 11 methods for detection, transformation, and metadata
  • OpenAI and Anthropic adapter implementations
  • Coverage report binary for cross-provider testing
  • Updated docs/ADDING_PROVIDERS.md with adapter pattern guide

This replaces the previous FormatDetector trait with a more
comprehensive adapter pattern that supports incremental provider
addition.

🤖 Generated with Claude Code

Co-Authored-By: Claude noreply@anthropic.com

Copy link
Contributor Author

knjiang commented Dec 23, 2025

…ropic adapters

Add foundational ProviderAdapter trait that unifies provider handling:
- 11 methods for detection, transformation, and metadata
- OpenAI and Anthropic adapter implementations
- Coverage report binary for cross-provider testing
- Updated docs/ADDING_PROVIDERS.md with adapter pattern guide

This replaces the previous FormatDetector trait with a more
comprehensive adapter pattern that supports incremental provider
addition.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@knjiang knjiang force-pushed the 12-23-feat_adapter_introduce_provideradapter_pattern_with_openai_and_anthropic_adapters branch from 0546ed8 to b68fac3 Compare December 23, 2025 19:46
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.

2 participants