Nomnom 0.4.0
Nomnom 0.4.0 introduces vision capabilities that can be turned on from the config.
Enhancements to AI Vision Capabilities:
- Added a new
VisionConfigstruct to theAIConfigto enable vision mode and set maximum image size (internal/utils/config.go). - Introduced the
doVisionAIfunction for handling image files in vision mode, including base64 image conversion and request handling (internal/ai/ai.go). - Modified
SendQueryToLLMto check for vision mode and process image files accordingly (internal/ai/ai.go).
Configuration Updates:
- Updated
config.example.jsonto include the newvisionconfiguration under theaisection (config.example.json).
Dependency Updates:
- Updated the
deepseek-godependency to versionv1.2.10ingo.mod(go.mod).
File Handling Enhancements:
- Added support for
.webpimage files in theReadFilefunction (internal/files/operations.go). - Introduced the
IsImageFilefunction to check if a file has an image extension (internal/files/validation.go).
Full Changelog: 0.3.0...0.4.0