-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Resolving discrepancy when image model is different than base model #1772
Comments
Hello @simistern! Welcome to the ai16z community. Thank you for opening your first issue; we appreciate your contribution. You are now a ai16z contributor! |
It has been like this since a bit. |
Hi @simistern, are you working on resolving this issue? |
Hi @tcm390, I have resolved the issue on a local branch but I think I need permissions to submit the PR? Is there a process for being allowed to submit PR's? |
@AIFlowML I have fixed this locally, happy to submit the PR and become a contributor :) |
The user solved locally the problem and is ready to PR |
Describe the bug
During experimentation, I have found that it was not clear when the image model was not in sync with the base character model. For example, grok image generation API is not publicly available yet, so when asking my character to generate an image, it defaulted to openAI but that code was not set. It is not clear to developers that this is possible (the image gen using a different fallback than the base LLM). In the case where the image model is provided but does not work, it will assume the underlying access token is openAI, and will use groks token. I think this will extend to all other models where the image model API is not aligned with this
core/generation
file.I have added some logging and a bit of logic to improve this and will take ownership of integrating grok image gen when it becomes publicly available, I am following along development in the xAI discord.
Currently seeking repo permissions to submit the PR for the enhancement to
packages/core/src/generation
and to add grok image gen capability when it becomes available.To Reproduce
Set character model to grok and ask it to generate an image, user will receive error message pointing to openAI env keys not being set.
Expected behavior
User is informed that the image does not exist or will not match the base model, and that it will default to OPENAI
Screenshots
Additional context
The text was updated successfully, but these errors were encountered: