shell_gpt
shell_gpt copied to clipboard
Please support claude.ai
Please support claude.ai. I don't mind it, sometimes it's even nicer to work with than chatgpt.
#List of existence
I've been using Claude for the last few days. It's great to see some competition for OpenAI. Claude 3.5 is fantastic.
I'm going to suggest adding support for Anthropic.ia and many other AI models by adding something like LiteLLM.
A rename or fork to shell_ai would also work if it doesn't already exist.
LiteLLM is already supported
How do I use LiteLLM (Anthropic) with shell_gpt?
-------- Original Message -------- On 7/8/24 02:16, Jean-Luc Thumm wrote:
LiteLLM is already supported
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Well, given the maintainers are currently not into answering this thread, this is a good replacement: https://github.com/sigoden/aichat
@bdteo - This is a great option. It supports shell integration nicely: https://github.com/sigoden/aichat/blob/main/scripts/shell-integration/integration.bash
It's in the Arch repo: sudo pacman -S aichat
Thanks for the suggestion.
I managed to make it work by using the open router and following config:
DEFAULT_MODEL=anthropic/claude-3.5-sonnet
OPENAI_API_HOST=https://api.openrouter.ai
OPENAI_API_KEY=sk-or-v1-C..........................1231232132131231332
API_BASE_URL=https://openrouter.ai/api/v1
Using this strategy, you should be able (in theory) to access any model that is hosted on OpenRouter.
I would also recommend aichat over this