Skip to content

v0.1.2-preview

Choose a tag to compare

@louisho5 louisho5 released this 11 Feb 15:49

Breaking Changes:

  • The attributes ollama and openrouter have been removed.
  • Use the attribute openai instead to configure all OpenAI-compatible API base endpoints such as OpenRouter, Ollama, llama.cpp, LM Studio, etc.

Example configuration:

"providers": {
  "openai": {
    "apiKey": "sk-or-v1-YOUR_KEY",
    "apiBase": "https://openrouter.ai/api/v1"
  }
}

For Docker

Now switched to OPENAI_API_BASE and OPENAI_API_BASE

Docker Run

docker run -d --name picobot \
  -e OPENAI_API_KEY="your-key" \
  -e OPENAI_API_BASE="https://openrouter.ai/api/v1" \
  -e PICOBOT_MODEL="google/gemini-2.5-flash" \
  -e TELEGRAM_BOT_TOKEN="your-telegram-token" \
  -v ./picobot-data:/home/picobot/.picobot \
  --restart unless-stopped \
  louisho5/picobot:latest

All config, memory, and skills are persisted in ./picobot-data on your host.

Docker Compose

Create a docker-compose.yml:

services:
  picobot:
    image: louisho5/picobot:latest
    container_name: picobot
    restart: unless-stopped
    environment:
      - OPENAI_API_KEY=your-key
      - OPENAI_API_BASE=https://openrouter.ai/api/v1
      - PICOBOT_MODEL=google/gemini-2.5-flash
      - TELEGRAM_BOT_TOKEN=your-telegram-token
      - TELEGRAM_ALLOW_FROM=your-user-id
    volumes:
      - ./picobot-data:/home/picobot/.picobot

Then run:

docker compose up -d