# CodeBuddy Code v2.39.0 Release

## New Features

### Image Generation Tool

Added the `ImageGen` tool, enabling the AI assistant to generate images directly from text descriptions. Supports customizable size, style, quality, and other parameters, providing more possibilities for creative workflows.

- **Text-to-Image Model Switching**: Use the `/model:text-to-image` command to view and switch available text-to-image models
- **CLI Parameter Support**: Use the `--text-to-image-model` parameter at startup to specify the default model
- **Configuration Persistence**: Set `textToImageModel` in user configuration as the default text-to-image model

## Improvements

- **Configuration Panel Optimization**: Moved the Env-Route option to developer mode, activated via `/config --dev` or `/config -d`, simplifying the regular configuration interface
- **Input Submission Fix**: Fixed the issue where pressing Enter to submit while typing slash commands didn't work; commands can now be submitted normally, or invalid commands sent as regular messages
- **Tool Description Optimization**: Improved quote formatting in tool descriptions for better readability
- **SDK Version Update**: Updated SDK-JS to 0.3.19 and SDK-Python to 0.3.17
