Skip to content

feat: Add support for OpenAI and Anthropic LLM clients#7

Open
kshirajahere wants to merge 2 commits intogoogle-deepmind:mainfrom
kshirajahere:feat/multi-provider-llm-clients
Open

feat: Add support for OpenAI and Anthropic LLM clients#7
kshirajahere wants to merge 2 commits intogoogle-deepmind:mainfrom
kshirajahere:feat/multi-provider-llm-clients

Conversation

@kshirajahere
Copy link

  • Add client_openai.py with OpenAI GPT support (GPT-4, GPT-4-turbo, etc.)
  • Add client_anthropic.py with Anthropic Claude support (Claude 3.5, etc.)
  • Add client_factory.py for unified provider interface
  • Add optional dependencies [openai], [anthropic], [all-providers] in pyproject.toml
  • Update README with comprehensive usage documentation for all providers
  • Add unit tests for all new client modules

This makes strategicwm accessible to users of all major LLM providers without requiring any code modifications.

- Add client_openai.py with OpenAI GPT support (GPT-4, GPT-4-turbo, etc.)
- Add client_anthropic.py with Anthropic Claude support (Claude 3.5, etc.)
- Add client_factory.py for unified provider interface
- Add optional dependencies [openai], [anthropic], [all-providers] in pyproject.toml
- Update README with comprehensive usage documentation for all providers
- Add unit tests for all new client modules

This makes strategicwm accessible to users of all major LLM providers
without requiring any code modifications.
- Remove module-specific type hints that cause Pylance errors
- Fix Gemini client mock path in tests
- Add tests for OpenAI and Anthropic client creation
@Pratz1337
Copy link

#6

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