All notable changes to the project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Support for image detail parameter in vision mode
- File size validation (10MiB limit) for image uploads
- Proper message structure formatting for xAI Vision API
- Updated FileHandler to handle image detail parameter:
process_files()
now accepts detail parameterprocess_file()
passes detail to appropriate processing functionshandle_upload_command()
supports detail parameter
- Modified base GrokBase class:
handle_user_input()
now accepts image_detail parameter
- Updated Vision class to properly handle image parameters
- Improved message content structure to match xAI API specifications
- Fixed argument mismatch in
process_files()
- Corrected message structure for text-only responses in vision mode
- Standardized image URL and base64 message formatting
- Image detail parameter defaults to "high"
- File size limit enforced at 10MiB (10 * 1024 * 1024 bytes)
- Message content now properly structured as array of type-specific objects
- Changed repo name to 'grok-ai-toolkit'.
- Initial release.