Skip to content
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

โœจ feat: Support Cloudflare function calling #4671

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

BrandonStudio
Copy link
Contributor

@BrandonStudio BrandonStudio commented Nov 12, 2024

๐Ÿ’ป ๅ˜ๆ›ด็ฑปๅž‹ | Change Type

  • โœจ feat
  • ๐Ÿ› fix
  • โ™ป๏ธ refactor
  • ๐Ÿ’„ style
  • ๐Ÿ‘ท build
  • โšก๏ธ perf
  • ๐Ÿ“ docs
  • ๐Ÿ”จ chore

๐Ÿ”€ ๅ˜ๆ›ด่ฏดๆ˜Ž | Description of Change

Complement Cloudflare provider:

  • Support function calling
  • Add Image-to-Text models
  • Complement tests

๐Ÿ“ ่กฅๅ……ไฟกๆฏ | Additional Information

Won't do in this PR:

  • Embeddings
  • Text-to-Image
  • Text-to-Speech

NOTES:

  • To improve function calling performance, system prompt of plugins is disabled within Cloudflare.
  • Requests with tools get non-stream response.

Former #3402

Copy link

vercel bot commented Nov 12, 2024

@BrandonStudio is attempting to deploy a commit to the LobeHub Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

codecov bot commented Nov 12, 2024

Codecov Report

All modified and coverable lines are covered by tests โœ…

Project coverage is 92.56%. Comparing base (49e1e08) to head (40b8f0f).
Report is 36 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4671      +/-   ##
==========================================
+ Coverage   92.53%   92.56%   +0.03%     
==========================================
  Files         522      522              
  Lines       37335    37462     +127     
  Branches     2351     3539    +1188     
==========================================
+ Hits        34547    34676     +129     
+ Misses       2788     2786       -2     
Flag Coverage ฮ”
app 92.56% <100.00%> (+0.03%) โฌ†๏ธ
server 97.26% <รธ> (รธ)

Flags with carried forward coverage won't be shown. Click here to find out more.

โ˜” View full report in Codecov by Sentry.
๐Ÿ“ข Have feedback on the report? Share it here.


๐Ÿšจ Try these New Features:

@BrandonStudio BrandonStudio marked this pull request as ready for review November 12, 2024 07:33
@dosubot dosubot bot added size:XL This PR changes 500-999 lines, ignoring generated files. ๐ŸŒ  Feature Request New feature or request | ็‰นๆ€งไธŽๅปบ่ฎฎ labels Nov 12, 2024
@BrandonStudio BrandonStudio changed the title Support Cloudflare function calling โœจ feat: Support Cloudflare function calling Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
๐ŸŒ  Feature Request New feature or request | ็‰นๆ€งไธŽๅปบ่ฎฎ size:XL This PR changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant