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 tool calls #19

Merged
merged 6 commits into from
Jul 1, 2024
Merged

feat: support tool calls #19

merged 6 commits into from
Jul 1, 2024

Conversation

northes
Copy link
Owner

@northes northes commented Jul 1, 2024

Describe the change

Support for tool calls and a simple example.

Provide Moonshot documentation link

https://platform.moonshot.cn/docs/api/tool-use

Additional context

Close: #16

@northes northes linked an issue Jul 1, 2024 that may be closed by this pull request
Copy link

codecov bot commented Jul 1, 2024

Codecov Report

Attention: Patch coverage is 86.66667% with 4 lines in your changes missing coverage. Please review.

Project coverage is 75.22%. Comparing base (85f703d) to head (a5ab186).
Report is 4 commits behind head on main.

Files Patch % Lines
chat_completions_builder.go 84.61% 2 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #19      +/-   ##
==========================================
+ Coverage   71.08%   75.22%   +4.13%     
==========================================
  Files          11       11              
  Lines         377      440      +63     
==========================================
+ Hits          268      331      +63     
  Misses         60       60              
  Partials       49       49              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@northes northes self-assigned this Jul 1, 2024
@northes northes merged commit 8ba83a1 into main Jul 1, 2024
8 checks passed
@northes northes deleted the tool_call branch July 1, 2024 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can you open support for function calls
1 participant