Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output formatting fix #33

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Output formatting fix #33

wants to merge 3 commits into from

Conversation

ayushshah21
Copy link
Collaborator

Removed the extra lines on front and end bullets when generating a response

This commit fixes issues with image handling in the Grok vision model implementation by:

- Move model switching logic before capabilities check to prevent errors

- Ensure consistent image tag handling regardless of model type

- Add detailed logging for better debugging and error tracking

- Remove redundant model switching logic from handleGrok method

The changes ensure that:

- Images are properly detected and handled before model capability checks

- The correct vision model (grok-2-vision-1212) is selected when images are present

- Image data is consistently wrapped in <image> tags

- Debug logs provide clear visibility into the image processing flow
@ayushshah21 ayushshah21 changed the title Fix/bullet point spacing Output formatting fix Mar 4, 2025
- Add edit button to user messages with hover state - Implement edit/save functionality for message content - Remove subsequent messages when editing - Generate new response after editing - Update button text from 'Save' to 'Send' for clarity - Fix spacing between messages - Maintain consistent margins between edited messages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant