Skip to content

Conversation

@dbieber
Copy link
Owner

@dbieber dbieber commented Apr 18, 2025

Summary

  • Add support for configurable LLM providers (OpenAI and Anthropic)
  • Allow users to choose between GPT-4 and Claude 3.7 Sonnet models
  • Add model-specific commands that validate API key availability
  • Generic commands (:ai) use the configured default provider
  • Added provider configuration and status commands

Original Task

Make it so the LLM is configurable. The user should be able to choose between gpt-4 and Claude Sonnet 3.7. If using GPT-4, the user must provide an OpenAI API key. If using Claude, an Anthropic API key. Right now there are commands like :ai that are hard coded to use an openai model. Instead, the generic-named commands like :ai will use whichever model is configured. Also add more specific commands :gpt4 and :sonnet37 that use the model it says on the tin; they'll of course only work if an appropriate API key has been configured. If not, they'll simply say() that No OpenAI/Anthropic API key available.

🤖 Generated with Claude Code

- Add support for both GPT-4 and Claude 3.7 Sonnet models
- Create LLM provider abstraction layer to handle different APIs
- Add model-specific commands (:gpt4, :sonnet37)
- Add provider configuration commands (:set_llm, :llm_status)
- Update documentation with new LLM configuration options

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
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