Skip to content

Latest commit

 

History

History
49 lines (36 loc) · 1.74 KB

File metadata and controls

49 lines (36 loc) · 1.74 KB

Deepseek CLI Coder (Node.js)

Version: 1.0.0

This is a command-line interface (CLI) tool for interacting with the Deepseek AI API. It provides an interactive chat experience directly in your terminal.

Features

  • Interactive Chat: Engage in conversations with Deepseek models.
  • Streaming Responses: View AI responses as they are generated in real-time.
  • Session Management: Each session is logged to a unique Markdown file in the data-conversation/ directory.
  • Configuration Persistence: Your API key, preferred model, and system message are saved in settings.json.
  • Command System: Use slash commands for quick actions like changing settings or exiting the app.
  • Autocomplete: Basic autocomplete for commands to improve usability.

Installation

  1. Clone the repository if you haven't already.
  2. Navigate to the nodejs directory:
    cd nodejs
  3. Install the dependencies:
    npm install

Usage

To start the application, run the following command from the nodejs directory:

node main.js

On the first run, you will be prompted to enter your Deepseek API key. It will be saved for future sessions.

Commands

The following commands are available within the application:

  • /help: Display the help message.
  • /auth: Re-enter your API key.
  • /model <model-name>: Switch the LLM model (e.g., /model deepseek-chat).
  • /system <message>: Set a custom system message. This will set the current agent to custom.
  • /agents: List all available pre-defined agents.
  • /agent <agent-name>: Select an agent and apply its pre-defined system message.
  • /code-art: Display a random piece of ASCII art.
  • /exit: Exit the application.