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

๐Ÿ› fix: fix and improve tool calling #2941

Merged
merged 5 commits into from
Jun 19, 2024
Merged

Conversation

arvinxx
Copy link
Contributor

@arvinxx arvinxx commented Jun 19, 2024

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

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

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

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

Copy link

vercel bot commented Jun 19, 2024

The latest updates on your projects. Learn more about Vercel for Git โ†—๏ธŽ

Name Status Preview Comments Updated (UTC)
lobe-chat-preview โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Jun 19, 2024 6:25pm

@lobehubbot
Copy link
Member

๐Ÿ‘ @arvinxx

Thank you for raising your pull request and contributing to our Community
Please make sure you have followed our contributing guidelines. We will review it as soon as possible.
If you encounter any problems, please feel free to connect with us.
้žๅธธๆ„Ÿ่ฐขๆ‚จๆๅ‡บๆ‹‰ๅ–่ฏทๆฑ‚ๅนถไธบๆˆ‘ไปฌ็š„็คพๅŒบๅšๅ‡บ่ดก็Œฎ๏ผŒ่ฏท็กฎไฟๆ‚จๅทฒ็ป้ตๅพชไบ†ๆˆ‘ไปฌ็š„่ดก็ŒฎๆŒ‡ๅ—๏ผŒๆˆ‘ไปฌไผšๅฐฝๅฟซๅฎกๆŸฅๅฎƒใ€‚
ๅฆ‚ๆžœๆ‚จ้‡ๅˆฐไปปไฝ•้—ฎ้ข˜๏ผŒ่ฏท้šๆ—ถไธŽๆˆ‘ไปฌ่”็ณปใ€‚

Copy link

codecov bot commented Jun 19, 2024

Codecov Report

Attention: Patch coverage is 76.89243% with 58 lines in your changes missing coverage. Please review.

Project coverage is 93.30%. Comparing base (f40300c) to head (86e269d).
Report is 1 commits behind head on main.

Files Patch % Lines
src/store/chat/slices/plugin/action.ts 64.84% 45 Missing โš ๏ธ
src/store/chat/slices/message/action.ts 91.66% 4 Missing โš ๏ธ
src/store/chat/utils/index.ts 78.94% 4 Missing โš ๏ธ
src/libs/agent-runtime/utils/streams/anthropic.ts 89.65% 3 Missing โš ๏ธ
src/services/message/server.ts 50.00% 2 Missing โš ๏ธ
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2941      +/-   ##
==========================================
+ Coverage   93.27%   93.30%   +0.02%     
==========================================
  Files         382      383       +1     
  Lines       23897    23900       +3     
  Branches     2548     2543       -5     
==========================================
+ Hits        22291    22300       +9     
+ Misses       1606     1600       -6     
Flag Coverage ฮ”
app 93.30% <76.89%> (+0.02%) โฌ†๏ธ
server 66.38% <13.04%> (+0.30%) โฌ†๏ธ

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.

@arvinxx arvinxx merged commit ea06536 into main Jun 19, 2024
10 checks passed
@arvinxx arvinxx deleted the fix/improve-tool-calling branch June 19, 2024 18:26
@lobehubbot
Copy link
Member

โค๏ธ Great PR @arvinxx โค๏ธ

The growth of project is inseparable from user feedback and contribution, thanks for your contribution! If you are interesting with the lobehub developer community, please join our discord and then dm @arvinxx or @canisminor1990. They will invite you to our private developer channel. We are talking about the lobe-chat development or sharing ai newsletter around the world.
้กน็›ฎ็š„ๆˆ้•ฟ็ฆปไธๅผ€็”จๆˆทๅ้ฆˆๅ’Œ่ดก็Œฎ๏ผŒๆ„Ÿ่ฐขๆ‚จ็š„่ดก็Œฎ! ๅฆ‚ๆžœๆ‚จๅฏน LobeHub ๅผ€ๅ‘่€…็คพๅŒบๆ„Ÿๅ…ด่ถฃ๏ผŒ่ฏทๅŠ ๅ…ฅๆˆ‘ไปฌ็š„ discord๏ผŒ็„ถๅŽ็งไฟก @arvinxx ๆˆ– @canisminor1990ใ€‚ไป–ไปฌไผš้‚€่ฏทๆ‚จๅŠ ๅ…ฅๆˆ‘ไปฌ็š„็งๅฏ†ๅผ€ๅ‘่€…้ข‘้“ใ€‚ๆˆ‘ไปฌๅฐ†ไผš่ฎจ่ฎบๅ…ณไบŽ Lobe Chat ็š„ๅผ€ๅ‘๏ผŒๅˆ†ไบซๅ’Œ่ฎจ่ฎบๅ…จ็ƒ่Œƒๅ›ดๅ†…็š„ AI ๆถˆๆฏใ€‚

github-actions bot pushed a commit that referenced this pull request Jun 19, 2024
### [Version&nbsp;1.0.13](v1.0.12...v1.0.13)
<sup>Released on **2024-06-19**</sup>

#### ๐Ÿ› Bug Fixes

- **misc**: Fix and improve tool calling.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix and improve tool calling, closes [#2941](#2941) ([ea06536](ea06536))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
@lobehubbot
Copy link
Member

๐ŸŽ‰ This PR is included in version 1.0.13 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€

github-actions bot pushed a commit to bentwnghk/lobe-chat that referenced this pull request Jun 19, 2024
### [Version&nbsp;1.43.7](v1.43.6...v1.43.7)
<sup>Released on **2024-06-19**</sup>

#### ๐Ÿ› Bug Fixes

- **misc**: Fix and improve tool calling.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix and improve tool calling, closes [lobehub#2941](https://github.com/bentwnghk/lobe-chat/issues/2941) ([ea06536](ea06536))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
Mingholy pushed a commit to Mingholy/lobe-chat that referenced this pull request Jul 1, 2024
* ๐Ÿ› fix: fix and improve tool calling

* โœ… test: fix tests

* ๐Ÿ› fix: fix Anthropic stream tool calling

* โœ… test: fix test

* ๐Ÿ’„ style: fix display on markdown
Mingholy pushed a commit to Mingholy/lobe-chat that referenced this pull request Jul 1, 2024
### [Version&nbsp;1.0.13](lobehub/lobe-chat@v1.0.12...v1.0.13)
<sup>Released on **2024-06-19**</sup>

#### ๐Ÿ› Bug Fixes

- **misc**: Fix and improve tool calling.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix and improve tool calling, closes [lobehub#2941](lobehub#2941) ([ea06536](lobehub@ea06536))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] claude3-opusๅ›ž็ญ”ๅญ˜ๅœจๆ˜พ็คบ้”™่ฏฏ
2 participants