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 langfuse generation trace #1325

Merged
merged 19 commits into from
Mar 5, 2024
Merged

✨ feat: support langfuse generation trace #1325

merged 19 commits into from
Mar 5, 2024

Conversation

arvinxx
Copy link
Contributor

@arvinxx arvinxx commented Feb 19, 2024

💻 变更类型 | Change Type

  • ✨ feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • ⚡️ perf
  • 📝 docs

🔀 变更说明 | Description of Change

📝 补充信息 | Additional Information

@arvinxx arvinxx marked this pull request as draft February 19, 2024 16:07
Copy link

vercel bot commented Feb 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
lobe-chat ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 5, 2024 6:09am

@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 Feb 20, 2024

Codecov Report

Attention: Patch coverage is 82.11382% with 132 lines in your changes missing coverage. Please review.

Project coverage is 92.48%. Comparing base (04a6ef7) to head (250e932).
Report is 1696 commits behind head on main.

Files with missing lines Patch % Lines
src/store/chat/slices/message/action.ts 63.11% 45 Missing ⚠️
src/libs/traces/event.ts 73.68% 35 Missing ⚠️
src/services/trace.ts 40.00% 18 Missing ⚠️
src/store/global/slices/common/action.ts 36.00% 16 Missing ⚠️
src/libs/traces/index.ts 90.38% 5 Missing ⚠️
src/services/chat.ts 92.30% 4 Missing ⚠️
src/store/chat/slices/plugin/action.ts 89.28% 3 Missing ⚠️
src/utils/trace.ts 85.71% 3 Missing ⚠️
src/services/message.ts 71.42% 2 Missing ⚠️
src/database/core/db.ts 94.44% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1325      +/-   ##
==========================================
- Coverage   93.13%   92.48%   -0.65%     
==========================================
  Files         222      227       +5     
  Lines       11390    12022     +632     
  Branches     1401     1457      +56     
==========================================
+ Hits        10608    11119     +511     
- Misses        782      903     +121     

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

@0xNancy520

This comment was marked as spam.

@lobehub lobehub deleted a comment from lobehubbot Feb 22, 2024
@arvinxx arvinxx force-pushed the feat/langfuse branch 2 times, most recently from 9dc8dbf to 87aff85 Compare February 27, 2024 05:56
@arvinxx arvinxx merged commit aaedfa7 into main Mar 5, 2024
8 of 10 checks passed
@arvinxx arvinxx deleted the feat/langfuse branch March 5, 2024 06:15
@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 Mar 5, 2024
## [Version 0.131.0](v0.130.7...v0.131.0)
<sup>Released on **2024-03-05**</sup>

#### ✨ Features

- **misc**: Support langfuse integration.

<br/>

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

#### What's improved

* **misc**: Support langfuse integration, closes [#1325](#1325) ([aaedfa7](aaedfa7))

</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 0.131.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

github-actions bot pushed a commit to bentwnghk/lobe-chat that referenced this pull request Mar 5, 2024
## [Version&nbsp;1.13.0](v1.12.6...v1.13.0)
<sup>Released on **2024-03-05**</sup>

#### ✨ Features

- **misc**: Support langfuse integration.

#### 🐛 Bug Fixes

- **misc**: Fix rename.

<br/>

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

#### What's improved

* **misc**: Support langfuse integration, closes [lobehub#1325](https://github.com/bentwnghk/lobe-chat/issues/1325) ([aaedfa7](aaedfa7))

#### What's fixed

* **misc**: Fix rename ([1ea2d42](1ea2d42))

</details>

<div align="right">

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

</div>
573dave pushed a commit to 573dave/lobe-chat that referenced this pull request Mar 5, 2024
* ✨ feat: support langfuse trace

* ✅ test: fix test

* ✅ test: add test

* ✅ test: add db user test

* ✅ test: add test

* ♻️ refactor: refactor the route code

* ♻️ refactor: make  updateMessageContent the private method

* ✨ feat: langfuse with user events

* ✅ test: fix test

* ⚡️ perf: improve trace

* ✅ test: add tests

* 🚧 wip: notification

* ♻️ refactor: refactor the common settings

* ✨ feat: add about page

* ✨ feat: add about page

* ✨ feat: add control with user settings

* ✨ feat: add telemetry in mobile

* ✅ test: fix test

* 🌐 chore: add i18n
573dave pushed a commit to 573dave/lobe-chat that referenced this pull request Mar 5, 2024
## [Version&nbsp;0.131.0](lobehub/lobe-chat@v0.130.7...v0.131.0)
<sup>Released on **2024-03-05**</sup>

#### ✨ Features

- **misc**: Support langfuse integration.

<br/>

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

#### What's improved

* **misc**: Support langfuse integration, closes [lobehub#1325](lobehub#1325) ([aaedfa7](lobehub@aaedfa7))

</details>

<div align="right">

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

</div>
miroshar-success added a commit to miroshar-success/OpenAI_Integraion_platform that referenced this pull request Apr 5, 2024
## [Version&nbsp;0.131.0](lobehub/lobe-chat@v0.130.7...v0.131.0)
<sup>Released on **2024-03-05**</sup>

#### ✨ Features

- **misc**: Support langfuse integration.

<br/>

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

#### What's improved

* **misc**: Support langfuse integration, closes [#1325](lobehub/lobe-chat#1325) ([aaedfa7](lobehub/lobe-chat@aaedfa7))

</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.

3 participants