Skip to content

Nomnom 0.4.0

Choose a tag to compare

@Vein05 Vein05 released this 09 Apr 23:24
· 310 commits to main since this release

Nomnom 0.4.0 introduces vision capabilities that can be turned on from the config.

Enhancements to AI Vision Capabilities:

  • Added a new VisionConfig struct to the AIConfig to enable vision mode and set maximum image size (internal/utils/config.go).
  • Introduced the doVisionAI function for handling image files in vision mode, including base64 image conversion and request handling (internal/ai/ai.go).
  • Modified SendQueryToLLM to check for vision mode and process image files accordingly (internal/ai/ai.go).

Configuration Updates:

  • Updated config.example.json to include the new vision configuration under the ai section (config.example.json).

Dependency Updates:

  • Updated the deepseek-go dependency to version v1.2.10 in go.mod (go.mod).

File Handling Enhancements:

  • Added support for .webp image files in the ReadFile function (internal/files/operations.go).
  • Introduced the IsImageFile function to check if a file has an image extension (internal/files/validation.go).

Full Changelog: 0.3.0...0.4.0