Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12", "3.13"]
python-version: ["3.12", "3.13"]
fail-fast: false
defaults:
run:
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -141,3 +141,6 @@ cython_debug/

# Reference directory - ignore all reference projects
reference/

# Others
.pdm-python
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ BUB_API_KEY=your-api-key-here
BUB_MODEL=gpt-4 # AI model to use
BUB_API_BASE=https://api.custom.ai # Custom API endpoint
BUB_MAX_TOKENS=4000 # Maximum response tokens
BUB_TIMEOUT_SECONDS=30 # Timeout for AI responses (seconds)
BUB_MAX_ITERATIONS=10 # Maximum tool execution cycles
BUB_WORKSPACE_PATH=/path/to/work # Default workspace
BUB_SYSTEM_PROMPT="custom prompt" # Custom system prompt
```
Expand Down
12 changes: 2 additions & 10 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,6 @@ export BUB_API_KEY="sk-..."
export BUB_PROVIDER="anthropic"
export BUB_MODEL_NAME="claude-3-5-sonnet-20241022"
export BUB_API_KEY="your-anthropic-key"

# For local models with Ollama
export BUB_PROVIDER="ollama"
export BUB_MODEL_NAME="llama3"
# No API key needed for local models

# For Groq (fast inference)
export BUB_PROVIDER="groq"
export BUB_MODEL_NAME="llama3-8b-8192"
export BUB_API_KEY="gsk_..."
```

### Usage
Expand Down Expand Up @@ -101,6 +91,8 @@ Configure Bub via environment variables or a `.env` file:
| `BUB_MAX_TOKENS` | Maximum response tokens (optional) | `4000` |
| `BUB_WORKSPACE_PATH` | Default workspace directory (optional) | `/path/to/work` |
| `BUB_SYSTEM_PROMPT` | Custom system prompt (optional) | `"You are a helpful assistant..."` |
| `BUB_TIMEOUT_SECONDS` | Timeout for AI responses (seconds) | `30` |
| `BUB_MAX_ITERATIONS` | Maximum number of tool execution cycles | `10` |

### Custom System Prompt with BUB.md

Expand Down
Loading
Loading