v0.16.3
Release v0.16.3
π New Features
-
Image Generation Tool β Generate images using a structured JSON meta prompt format. Supports three providers with automatic fallback: OpenAI
gpt-image-2β Google Geminigemini-3.1-flash-imageβ DeepInfraFLUX-2-pro. Agents can describe subjects, environments, camera settings, lighting, and style to produce detailed images. The generated image is displayed inline in the conversation. (#cc89733, #f7ba2b00, #42d2dabe) -
Console UI Image Rendering β Inline image display for attached images, generated images, and tool results containing images. Uses
textual-imagerenderable with base64 data URI decoding. (#f7ba2b00) -
Optimized Image Input β Images attached to conversations are automatically converted to WebP format with resizing (max 2048px) and quality compression (80) for more efficient context usage. Includes caching to avoid reprocessing. (#133c16e3)
-
Kimi K2.7 Code Model β Added to CommandCode, CrofAI, Fireworks, and OpenCode Go providers. A coding-focused agentic model with improved long-horizon coding and 30% fewer thinking tokens compared to K2.6. (#758fc67b)
π Improvements
-
Reasoning Content Rework β Thinking blocks are now embedded directly inside assistant messages instead of separate
MessageType.Thinkingmessages. This improves compatibility with OSS models while preserving thinking data for providers that support it (Claude, Gemini, OpenAI reasoning models). TheMessageType.Thinkingenum has been removed. (#d3a34336, #68b297bc) -
File Handling Decoupled from LLM β File processing is now handled independently by
FileHandlerinstead of each LLM service. The deprecated_process_file,process_file_for_message, andhandle_file_commandmethods in provider services now returnNone(marked with@deprecated). (#a12f0467) -
Enhanced Context Messages β Improved context prompts for better agent behavior and transfer handling. (#3dfd099d)
-
Browser Screenshot Optimization β Screenshots go through the same image optimization pipeline before being sent to the model. (#133c16e3)
π Fixes
- Fixed token usage merging in
LocalAgentstreaming β now properly mergeschunk_token_usageeven when no tool uses are present. - Fixed
_finalize_current_turnmethod signature β removed unusedassistant_responseandemit_response_completedparameters. - Fixed GitHub Copilot service thinking block handling for backward compatibility with old conversations.
- Fixed TogetherAI service to output
reasoning_contentinstead of wrapping thinking in<thinking>tags.
π§Ή Housekeeping
- Added
textual-image==0.13.2dependency topyproject.toml - Added test script for image rendering
- Updated
.gitignoreto exclude.agentcrew/images/output directory