-
-
Notifications
You must be signed in to change notification settings - Fork 10.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
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. |
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. |
- 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
I have now tried it with the Client-Side Fetching Mode. |
π» εζ΄η±»ε | Change Type
π εζ΄θ―΄ζ | Description of Change
π θ‘₯ε δΏ‘ζ― | Additional Information
fix #4642
Related #3888