shell_gpt icon indicating copy to clipboard operation
shell_gpt copied to clipboard

Add DeepSeek R1 intregration

Open sjanaX01 opened this issue 11 months ago • 1 comments

DeepSeek R1 is amazing. Add DeepSeek R1 to sgpt.

sjanaX01 avatar Jan 28 '25 07:01 sjanaX01

After pip install litellm I was able to get it running locally with this config.

CHAT_CACHE_PATH=/tmp/chat_cache
CACHE_PATH=/tmp/cache
CHAT_CACHE_LENGTH=100
CACHE_LENGTH=100
REQUEST_TIMEOUT=60
DEFAULT_MODEL=ollama/deepseek-r1:14b
DEFAULT_COLOR=magenta
ROLE_STORAGE_PATH=~/.config/shell_gpt/roles
DEFAULT_EXECUTE_SHELL_CMD=false
DISABLE_STREAMING=false
CODE_THEME=dracula
OPENAI_FUNCTIONS_PATH=~/.config/shell_gpt/functions
OPENAI_USE_FUNCTIONS=false
SHOW_FUNCTIONS_OUTPUT=false
API_BASE_URL=http://127.0.0.1:11434
PRETTIFY_MARKDOWN=true
USE_LITELLM=true
SHELL_INTERACTION=true
OS_NAME=auto
SHELL_NAME=auto
OPENAI_API_KEY=AA

Since it's spamming errors and and lacking proper support I made a simple python wrapper myself. Maybe it will evolve into something like this project.

https://github.com/catoni0/deepseek_shell

Abyss-c0re avatar Jan 28 '25 22:01 Abyss-c0re