shell_gpt icon indicating copy to clipboard operation
shell_gpt copied to clipboard

Please support claude.ai

Open bitcoinmeetups opened this issue 9 months ago • 8 comments

Please support claude.ai. I don't mind it, sometimes it's even nicer to work with than chatgpt.

#List of existence

bitcoinmeetups avatar May 13 '24 07:05 bitcoinmeetups

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.

grantcarthew avatar Jul 03 '24 05:07 grantcarthew

LiteLLM is already supported

jeanlucthumm avatar Jul 07 '24 23:07 jeanlucthumm

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: @.***>

bitcoinmeetups avatar Jul 08 '24 01:07 bitcoinmeetups

Well, given the maintainers are currently not into answering this thread, this is a good replacement: https://github.com/sigoden/aichat

bdteo avatar Sep 12 '24 16:09 bdteo

@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.

grantcarthew avatar Sep 12 '24 22:09 grantcarthew

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

kodi avatar Sep 13 '24 15:09 kodi

Using this strategy, you should be able (in theory) to access any model that is hosted on OpenRouter.

kodi avatar Sep 13 '24 15:09 kodi

I would also recommend aichat over this

jeanlucthumm avatar Sep 13 '24 18:09 jeanlucthumm