-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
fix: NEAR AI image generation #3881
base: develop
Are you sure you want to change the base?
fix: NEAR AI image generation #3881
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. |
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Relates to near-agent/near-eliza-starter#5
Risks
Low
Background
What does this PR do?
This PR fixes the image generation API invocation of NEAR AI.
What kind of change is this?
Bug fixes (non-breaking change which fixes an issue)
Why are we doing this? Any context or related work?
The current image generation procedure with NEAR AI doesn't work well because it falls back to call OpenAI.
Documentation changes needed?
My changes do not require a change to the project documentation.
Testing
We have tested in this PR and it works well: near-agent/near-eliza-starter#13
Where should a reviewer start?
We have added the missing NEAR AI branch in
generateImage
function, using the OpenAI compatible APIs.Detailed testing steps
generate an image of a plane
;generatedImages
folder.