-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
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: correct image upload field for ollama llama3.2-vision #4697
base: main
Are you sure you want to change the base?
Conversation
@samurai00 is attempting to deploy a commit to the LobeChat Community Team on Vercel. A member of the Team first needs to authorize it. |
Thank you for raising your pull request and contributing to our Community |
have you tried with client fetch? |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4697 +/- ##
==========================================
+ Coverage 92.44% 97.26% +4.82%
==========================================
Files 524 27 -497
Lines 36893 3843 -33050
Branches 2518 168 -2350
==========================================
- Hits 34104 3738 -30366
+ Misses 2789 105 -2684
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
I found the imageUrlToBase64 method in anthropicHelpers.ts, which is used in Anthropic's agent-runtime. Looking at the implementation, it's just using fetch and then converting to base64. |
f1b0deb
to
ba0bbad
Compare
I have now tried it with the Client-Side Fetching Mode. |
- Fix image data not being passed to correct field in API request - Enable proper image recognition functionality for llama3.2-vision model fix lobehub#4642 Related lobehub#3888
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
📝 补充信息 | Additional Information
fix #4642
Related #3888