gubbi
Minimalist LLM chatbot 🐤
Installation
pip install gubbi
Configuration
All configuration is stored in ~/.config/gubbi/settings.json. At least one provider needs added in order for chat to work. Either add it manually or program will ask for inputs on the first start.
{
"providers": {
"github": {
"slug": "github",
"url": "https://models.github.ai/inference",
"default_model_id": "openai/gpt-4.1-mini"
}
}
}
In theory, it should work with any provider who follows openai api spec though I've only tested with github and few others so far. Let me know through issue tracker if it works for others.
Usage
gubbi # just chat
gubbi -a # add provider/model
Commands
When a message starts with # (hash), it is interpreted as special command rather than a chat message sent to the LLM.
#help => List commands
#exit => Quit chat
#use <provider> => Switch provider
#model <model_name> => Switch model
#attach <path> => Attach a file
#clear => Clear context
#save => Save current chat
#load <filename> => Load an earlier chat
#models <filename> => List all models
#providers <filename> => List all providers
Screenshot
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gubbi-1.0.1.tar.gz
(8.3 kB
view details)
File details
Details for the file gubbi-1.0.1.tar.gz.
File metadata
- Download URL: gubbi-1.0.1.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.0.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b7a661daa233826c197bd1db0694f880c933b2af2ed6b7b2d8f8914a20812a1
|
|
| MD5 |
f1c65f6a67a703302d322dace7f3a789
|
|
| BLAKE2b-256 |
7e321478973449b872e90e58f3aedc5d2e15b82d78ea612e7f9d14b0db56c1e2
|