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

Allow all LLMs for image generation assistants #3730

Merged
merged 5 commits into from
Jan 24, 2025
Merged

Conversation

pablonyx
Copy link
Contributor

@pablonyx pablonyx commented Jan 21, 2025

Description

Fixes https://linear.app/danswer/issue/DAN-1297/never-hide-non-image-assistants

Screen.Recording.2025-01-20.at.6.03.37.PM.mov

How Has This Been Tested?

  • Multiple providers, create images, switch models with images in chat from user

Backporting (check the box to trigger backport action)

Note: You have to check that the action passes, otherwise resolve the conflicts manually and tag the patches.

  • This PR should be backported (make sure to check that the backport attempt succeeds)
  • [Optional] Override Linear Check

Copy link

vercel bot commented Jan 21, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
internal-search ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 22, 2025 2:28am

Copy link
Contributor

@Weves Weves left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, I'm running into as I tested again:

Screenshot 2025-01-21 at 4 43 46 PM

Maybe we could do some additional prompt tuning to prevent this? Or we could just hardcode a response based on the prompts sent over to dalle.

Also, would prefer to not have the warnings for a case where there are no images in the chat even if image generation is enabled. I don't think that represents much of a degradation in experience

@Weves Weves added this pull request to the merge queue Jan 24, 2025
Merged via the queue into main with commit 3c37764 Jan 24, 2025
13 of 14 checks passed
@pablonyx pablonyx deleted the allow_all_assistants branch January 26, 2025 02:01
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.

2 participants