feat: add image generation support with OpenAI image generation model

## CHANGES

- Add `--image-file` flag for saving generated images
- Implement image generation tool integration with OpenAI
- Support image editing with attachment input files
- Add comprehensive test coverage for image features
- Update documentation with image generation examples
- Fix HTML formatting issues in README
- Improve PowerShell code block indentation
- Clean up help text formatting and spacing
This commit is contained in:
Kayvan Sylvan
2025-07-04 14:36:55 -07:00
parent fc8c4babf8
commit 12fc6e2000
7 changed files with 300 additions and 80 deletions

View File

@@ -28,6 +28,7 @@ type ChatOptions struct {
MaxTokens int
Search bool
SearchLocation string
ImageFile string
}
// NormalizeMessages remove empty messages and ensure messages order user-assist-user