
Security News
NIST Under Federal Audit for NVD Processing Backlog and Delays
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
A command-line interface for chatting with LLMs, storing chats and (future) rag interactions
c# Chat CLI
A comprehensive command-line interface for chatting with various AI language models. This application allows you to interact with different LLM providers through an intuitive terminal-based interface.
Clone this repository:
git clone https://github.com/yourusername/chat-cli.git
cd chat-cli
Install the required dependencies:
pip install -r requirements.txt
Set up your API keys:
Create a .env
file in the project root directory with your API keys:
OPENAI_API_KEY=your_openai_api_key_here
ANTHROPIC_API_KEY=your_anthropic_api_key_here
Run the application:
chat-cli
To test the OpenAI reasoning models implementation, you can use the included test script:
./test_reasoning.py
This script will test both completion and streaming with the available reasoning models.
OpenAI's reasoning models (o1, o3, o4-mini, etc.) are LLMs trained with reinforcement learning to perform reasoning. These models:
The implementation in this CLI supports both standard completions and streaming with these models.
q
- Quit the applicationn
- Start a new conversations
- Toggle sidebarf
- Focus search boxEscape
- Cancel current generationCtrl+C
- Quit the applicationThe application creates a configuration file at ~/.chatcli/config.json
on first run. You can edit this file to:
Conversation history is stored in a SQLite database at ~/.chatcli/chat_history.db
.
The application is structured as follows:
main.py
- Main application entry pointapp/
- Application modules
api/
- LLM provider API client implementationsui/
- User interface componentsconfig.py
- Configuration managementdatabase.py
- Database operationsmodels.py
- Data modelsutils.py
- Utility functionsMIT
FAQs
A command-line interface for chatting with LLMs, storing chats and (future) rag interactions
We found that chat-console demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
Research
Security News
Socket’s Threat Research Team has uncovered 60 npm packages using post-install scripts to silently exfiltrate hostnames, IP addresses, DNS servers, and user directories to a Discord-controlled endpoint.
Security News
TypeScript Native Previews offers a 10x faster Go-based compiler, now available on npm for public testing with early editor and language support.