-
Notifications
You must be signed in to change notification settings - Fork 23
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
After upgrading to the latest version, the original Workflow failed to work #53
Comments
Update the provider to Gemini, utilizing the native Gemini. Everything functions smoothly, except for the issue where the {{NOTE}} variable incorrectly passes files with same names. |
Testing with the vision template from Cannoli College, even in the new version, works well. Could it be that there's a character in my prompt that might have caused misinterpretation? |
@Hwenyi have you tried using openai directly instead of your proxy in order to rule out the proxy as being an issue? The warning looks like a network issue. If you give me some instruction on how to use your cannoli I can try to reproduce locally |
Tried upgrading to the new version again, and it seems the new version throws this error when there are too many images: I attempted to adjust the Cross-Origin Resource Sharing (CORS) settings for CloudFlare R2, but it still didn't work. |
That error is unrelated to the amount of images in a cannoli, but instead related to where they are hosted. Your image host needs to remove the Access-Control-Allow-Origin header, or set it to CORS attempts to limit the hosts that can connect to a resource, like R2. In your case, obsidian is a host |
I have limited experience with coding, and through extensive searching, including consulting AI, I've tried numerous methods to set up cross-domain requests. Apart from changing the image URL and manually forwarding the request through a CloudFlare worker to reset the request headers, none of the other methods have been able to resolve this issue. If this problem is beyond your reach to solve, you can certainly put it aside, as it is clearly not a pressing issue. Thank you for the work you've done on cannoli, it is a very useful plugin. |
I use this project to convert numerous API providers like gemini into a unified OpenAI format for scheduling. In the old version, I set my own baseUrl using OpenAI as the provider and called the gemini model (with vision enabled) using the OpenAI format. Everything was running smoothly.
However, after updating to the latest version, with all settings unchanged and OpenAI's vision mode enabled by default in the settings, the original Workflow stopped working and threw an error:
My
.cno
file is as followsIt seems there might be an issue here. How should I go about troubleshooting it? Could you provide some insights?
To be able to upload, I had to rename the .canvas file to .md.
ocr.cno.md
The text was updated successfully, but these errors were encountered: