A CLI tool to chat with LLM models including GPT and Claude.
Project description
fire-chat
Overview
This project provides a command-line interface (CLI) for interacting with various large language models (LLMs) using the LiteLLM wrapper. It supports multiple providers, including OpenAI, Anthropic, Azure, and Gemini. The CLI allows users to chat with these models, manage budgets, and handle API keys efficiently.
Configuration
The configuration is managed through a $HOME/.config/fire-chat/config.yaml
file. The first time you run the CLI run.
You can copy paste the starting config file config.yaml to the location, adds your API key,
and quick start the application fire-chat
.
Installation and Usage
-
Install the CLI:
pip install --user fire-chat # requires python 3.10+
-
Configure the CLI:
Edit the
$HOME/.config/fire-chat/config.yaml
file to set your preferred provider, model, and other settings. -
Run the CLI:
fire-chat
or run with arguments (overriding config yaml file)
fire-chat --model=gpt-4o
for full list of configs, see main.py.
-
Exit: To exit the CLI,
Ctrl+C
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file fire_chat-0.0.6.dev803345.tar.gz
.
File metadata
- Download URL: fire_chat-0.0.6.dev803345.tar.gz
- Upload date:
- Size: 86.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 933e2483740c73a60beb9bcdb801153e6e7e9a693679f3247433e58686430b1b |
|
MD5 | 267b55c089d65e68584abc5903bf0dad |
|
BLAKE2b-256 | 5a43d574a19a039c3a3c7e75f4c93af967eae127660ec2ad410718b04c6080f9 |
File details
Details for the file fire_chat-0.0.6.dev803345-py3-none-any.whl
.
File metadata
- Download URL: fire_chat-0.0.6.dev803345-py3-none-any.whl
- Upload date:
- Size: 17.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96609deb2eb975c959e4e9047676934657693edfad70dfbe0588bd808d549f24 |
|
MD5 | 0a970049482c2e6444efed005863c73f |
|
BLAKE2b-256 | 4423e2977394769ed7297105c76c9ceb68d95f4b5c9a5d690e90543fc919fd69 |