Skip to content

[BOUNTY: 20 RTC] Add image/screenshot viewing for vision models #65

@Scottcjn

Description

@Scottcjn

Bounty: 20 RTC

Task

If the LLM backend supports vision (Llava, Qwen-VL, etc.), allow TrashClaw to send images as part of the conversation.

Requirements

  • New tool: view_image — reads an image file and includes it in the next LLM request as a base64-encoded image
  • New slash command: /screenshot — takes a screenshot and includes it (using system tools)
  • Auto-detect if model supports vision (check /v1/models response for multimodal flag)
  • Graceful fallback: if no vision support, tell the user
  • No external dependencies (use stdlib base64 module)

Notes

The OpenAI chat completions API supports image content via {"type": "image_url", "image_url": {"url": "data:image/png;base64,..."}} in message content arrays.

Wallet: Drop your wallet name when you submit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions