Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fvciprian/deepseek-r1-ext
https://github.com/fvciprian/deepseek-r1-ext
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/fvciprian/deepseek-r1-ext
- Owner: fvciprian
- Created: 2025-01-29T11:14:49.000Z (13 days ago)
- Default Branch: master
- Last Pushed: 2025-01-29T14:08:18.000Z (13 days ago)
- Last Synced: 2025-01-29T15:23:19.116Z (13 days ago)
- Language: TypeScript
- Size: 1.08 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
- awesome-AI-driven-development - deepseek-r1-ext - provides a chat interface for the DeepSeek-R1 model. (Uncategorized / Uncategorized)
README
# deepseek-r1-ext
This VS Code extension provides a chat interface for the [DeepSeek-R1](https://github.com/deepseek-ai/DeepSeek-R1) model.
Currently it's using the deepseek-r1:7b which is a smaller model distilled from DeepSeek-R1 with better performance so it can be run on local hardware.## Features
- Chat with the DeepSeek R1 model directly within VS Code.
- Stream responses from the model in real-time.
- Simple and intuitive webview interface.## Requirements
- VS Code version 1.96.0 or higher.
- [Ollama](https://ollama.com/download/windows) to interact with the DeepSeek R1 model.## Installation
- Download and install [Ollama](https://ollama.com/download/windows)
- Download and install [deepseek-r1-ext-0.0.1.vsix](./deepseek-r1-ext-0.0.1.vsix)To install a .vsix file in VS Code:
Go to the Extensions view.
Click Views and More Actions...
Select Install from VSIX...
orin your terminal, run the following commands:
```
code --install-extension deepseek-r1-ext-0.0.1.vsix
```To make sure the model is downloaded run the following command in the terminal:
```
ollama run deepseek-r1:7b
```## Usage
- After the extension is installed you can start it by typing this command:
![Deep Seek R1 Chat](./img/command.png)
- Ask anything
![Ask](./img/ask.png)
## Contributing
If you want to contribute to this extension or just want to use a different version of the deepseek-r1 model:
- Install Ollama api
```
npm install ollama
```
- Check full list of models [here](https://ollama.com/library/deepseek-r1)
- In extension.ts modify this line of code
```
const streamResponse = await ollama.chat({
model:'deepseek-r1:7b',
messages: [{role: 'user', content: prompt}],
stream: true
});
```
- Run and Debug extension![Run](./img/run.png)
- Package extension
In VS Code terminal run:
```
vsce package
```## Extension Settings
This extension does not add any VS Code settings through the `contributes.configuration` extension point.
## Known Issues
- None at the moment.
## Release Notes
### 0.0.1
- Initial release of DeepSeek R1 extension.
---
**Enjoy!**