Skip to content

Conversation

arvinxx
Copy link
Member

@arvinxx arvinxx commented Aug 11, 2025

💻 变更类型 | Change Type

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

🔀 变更说明 | Description of Change

📝 补充信息 | Additional Information

Summary by Sourcery

Refactor project structure by extracting common constants into a standalone @lobechat/const package and updating imports and configuration to accommodate the new module

Enhancements:

  • Extract constants into a dedicated @lobechat/const package with proper exports
  • Update import paths to reference the new constants package
  • Consolidate image generation and URL constants under the new package

Build:

  • Add tsconfig path alias for '@/const/*' to resolve the new constants package

Chores:

  • Add package.json for the new @lobechat/const package

Summary by Sourcery

Refactor common constants into a standalone package and update project configuration to use the new module

Enhancements:

  • Extract image generation and URL constants into a dedicated @lobechat/const package and update imports
  • Replace package.json references for homepage and bug URLs with static constants

Build:

  • Add tsconfig path alias and Vitest alias for @/const to resolve the new constants package

Chores:

  • Add package.json for the new @lobechat/const package

Copy link

vercel bot commented Aug 11, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
lobe-chat-database Canceled Canceled Aug 16, 2025 11:59am
lobe-chat-preview Canceled Canceled Aug 16, 2025 11:59am

Copy link
Contributor

sourcery-ai bot commented Aug 11, 2025

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

This PR refactors the project by extracting common constants into a standalone @lobechat/const package, replacing dynamic package.json imports with static URLs, and updating TypeScript and Vitest configurations to integrate the new module.

Entity relationship diagram for new @lobechat/const package

erDiagram
  CONST_PACKAGE {
    string name
    string version
    boolean private
    string main
  }
  CONST_PACKAGE ||--o| IMAGE_GENERATION_CONFIG : contains
  CONST_PACKAGE ||--o| URL_CONSTANTS : contains
Loading

Class diagram for extracted constants in @lobechat/const

classDiagram
  class IMAGE_GENERATION_CONFIG {
    +COVER_MAX_SIZE: number
    +THUMBNAIL_MAX_SIZE: number
  }
  class URL_CONSTANTS {
    +UTM_SOURCE: string
    +OFFICIAL_SITE: string
    +OG_URL: string
    +GITHUB: string
    +GITHUB_ISSUES: string
    +CHANGELOG: string
    +DOCKER_IMAGE: string
    +SELF_HOSTING_DOCUMENTS: string
    +MANUAL_UPGRADE_URL: string
    +BLOG: string
    +ABOUT: string
    +FEEDBACK: string
    +PRIVACY_URL: string
    +TERMS_URL: string
  }
  IMAGE_GENERATION_CONFIG <|-- ConstPackage
  URL_CONSTANTS <|-- ConstPackage
  class ConstPackage {
    <<package>>
  }
Loading

File-Level Changes

Change Details Files
Extract shared constants into a dedicated @lobechat/const package
  • Create package.json for @lobechat/const
  • Move imageGeneration.ts and url.ts into packages/const/src
  • Remove pkg import in url.ts and hardcode GITHUB and FEEDBACK URLs
packages/const/package.json
src/const/imageGeneration.ts
packages/const/src/imageGeneration.ts
src/const/url.ts
packages/const/src/url.ts
Update build and test configurations to reference the new constants package
  • Add '@/const/*' alias in tsconfig.json
  • Configure '@/const' alias in vitest.config.ts
  • Configure '@/const' alias in vitest.config.server.ts
tsconfig.json
vitest.config.ts
vitest.config.server.ts

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@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
Contributor

claude bot commented Aug 11, 2025

Claude finished @arvinxx's task —— View job


Code Review: Constants Refactoring

I've completed my review of the constants refactoring PR. Here's my comprehensive analysis:

Todo List:

  • Read repository guidelines (CLAUDE.md)
  • Examine new package structure and configuration
  • Review package.json for the new @lobechat/const package
  • Check TypeScript configuration changes
  • Verify import path updates
  • Review moved constant files for any issues
  • Check for potential breaking changes
  • Provide comprehensive feedback

🔍 Review Summary

This PR successfully refactors constants from src/const/* into a dedicated @lobechat/const package. The refactoring is well-structured but has several areas that need attention.

Strengths

  1. Clean Architecture: Moving constants to a separate package improves modularity and reusability
  2. Proper TypeScript Integration: The path alias @/const/* is correctly configured in tsconfig.json:21
  3. Minimal Breaking Changes: Most files were simply moved without content modifications
  4. Consistent Structure: The package maintains the same internal structure as the original constants

⚠️ Critical Issues

1. Package Configuration Problems (packages/const/package.json)

Issue: The exports field configuration is incorrect and will cause module resolution failures:

"exports": {
  "./*": {
    "types": ["./src/*.ts", "./src/*/index.ts"],
    "default": ["./src/*.ts", "./src/*/index.ts"]
  }
}

Problems:

  • types and default should be strings, not arrays
  • No proper fallback for different import patterns
  • Missing explicit exports for sub-modules

Recommended Fix:

"exports": {
  "./*": {
    "types": "./src/*.ts", 
    "import": "./src/*.ts",
    "require": "./src/*.ts"
  },
  "./settings/*": {
    "types": "./src/settings/*.ts",
    "import": "./src/settings/*.ts", 
    "require": "./src/settings/*.ts"
  }
}

2. Incorrect Import Path (packages/const/src/url.ts:7)

Issue: The url.ts file still uses ../../../package.json which assumes the old location:

import pkg from '../../../package.json';

This will break since the package is now in packages/const/ instead of src/const/.

Fix Required: Update to the correct relative path or use the workspace root.

⚠️ Potential Issues

3. Missing Build Configuration

  • No main, module, or build scripts in the package.json
  • No TypeScript compilation setup for the package
  • Could cause issues with IDE intellisense and builds

4. Import Path Inconsistency

Some imports in moved files like packages/const/src/url.ts:4 still reference:

import { withBasePath } from '@/utils/basePath';

This creates a dependency back to the main app, which may not be intended for a standalone package.

📊 Performance & Security Assessment

  • Performance: ✅ No performance impact, purely structural changes
  • Security: ✅ No security concerns identified
  • Bundle Size: ✅ No impact on bundle size

🧪 Test Coverage Concerns

The move includes test files (layoutTokens.test.ts, plugin.test.ts) but:

  • No verification that tests still run correctly with new paths
  • Test configuration may need updates to recognize the new package structure

📋 Recommendations

High Priority:

  1. Fix package.json exports configuration - Critical for module resolution
  2. Update incorrect import path in url.ts - Will cause build failures
  3. Test the build process - Ensure all imports resolve correctly

Medium Priority:

  1. Add build configuration to the const package
  2. Consider whether utils dependencies should remain or be extracted
  3. Verify test suite runs successfully with new structure

Low Priority:

  1. Add package description and proper metadata
  2. Consider adding a README for the constants package

📝 Summary

This refactoring follows good architectural principles but has critical configuration issues that must be addressed before merging. The package.json exports field and import paths need immediate fixes to prevent build failures.

Overall Assessment: ⚠️ Needs Work - Good concept with execution issues that require fixes.


Copy link
Contributor

claude bot commented Aug 16, 2025

Claude finished @arvinxx's task —— View job


🔍 Code Review: Constants Refactoring

I've completed my review of the constants refactoring PR. Here's my comprehensive analysis:

Todo List:

  • Read repository guidelines (CLAUDE.md)
  • Examine new package structure and configuration
  • Review package.json for the new @lobechat/const package
  • Check TypeScript configuration changes
  • Verify import path updates
  • Review moved constant files for any issues
  • Check for potential breaking changes
  • Provide comprehensive feedback

Strengths

  1. Clean Architecture: Moving constants to a separate package improves modularity and reusability
  2. Proper TypeScript Integration: The path alias @/const/* is correctly configured in tsconfig.json:23
  3. Minimal Breaking Changes: Most files were simply moved without content modifications
  4. Consistent Structure: The package maintains the same internal structure as the original constants

⚠️ Critical Issues

1. Package Configuration Problems (packages/const/package.json)

Issue: The exports field configuration is incorrect and will cause module resolution failures:

"exports": {
  "./*": {
    "types": ["./src/*.ts", "./src/*/index.ts"],
    "default": ["./src/*.ts", "./src/*/index.ts"]
  }
}

Problems:

  • types and default should be strings, not arrays
  • No proper fallback for different import patterns
  • Missing explicit exports for sub-modules

Recommended Fix:

"exports": {
  "./*": {
    "types": "./src/*.ts", 
    "import": "./src/*.ts",
    "require": "./src/*.ts"
  },
  "./settings/*": {
    "types": "./src/settings/*.ts",
    "import": "./src/settings/*.ts", 
    "require": "./src/settings/*.ts"
  }
}

2. Incorrect Import Path (packages/const/src/url.ts:7)

Issue: The url.ts file still uses ../../../package.json which assumes the old location:

import pkg from '../../../package.json';

This will break since the package is now in packages/const/ instead of src/const/.

Fix Required: Update to ../../../../package.json or use the workspace root.

3. External Dependencies in Constants Package (packages/const/src/url.ts:4-5)

Issue: The constants package still imports from the main application:

import { withBasePath } from '@/utils/basePath';
import { isDev } from '@/utils/env';

This creates a circular dependency where the constants package depends on utilities from the main app, which defeats the purpose of extracting it as a separate package.

Recommendation: Either:

  • Move these utilities to the constants package, or
  • Pass these values as parameters instead of importing them

⚠️ Potential Issues

4. Missing Build Configuration

  • No main, module, or build scripts in the package.json
  • No TypeScript compilation setup for the package
  • Could cause issues with IDE intellisense and production builds

5. Test Files Included in Package

The moved files include test files (layoutTokens.test.ts, plugin.test.ts) but:

  • No test configuration in the package.json
  • Test files shouldn't be part of the runtime package

📊 Performance & Security Assessment

  • Performance: ✅ No performance impact, purely structural changes
  • Security: ✅ No security concerns identified
  • Bundle Size: ⚠️ Including test files may increase bundle size unnecessarily

🧪 Test Coverage Concerns

  • Test files were moved but no verification that tests still run correctly
  • Test configuration may need updates to recognize the new package structure
  • Recommend running bun run type-check and test suite to verify

📋 Recommendations

High Priority:

  1. Fix package.json exports configuration - Critical for module resolution
  2. Update incorrect import path in url.ts:7 - Will cause build failures
  3. Resolve external dependencies - Remove imports from main app to avoid circular dependencies
  4. Test the build process - Run bun run type-check to ensure all imports resolve correctly

Medium Priority:

  1. Add proper build configuration to the const package
  2. Move test files to a separate test directory or exclude from package
  3. Consider adding a package README with usage instructions

Low Priority:

  1. Add package description and proper metadata
  2. Consider versioning strategy for the package

📝 Summary

This refactoring follows good architectural principles but has critical configuration issues that must be addressed before merging. The package.json exports field, import paths, and external dependencies need immediate fixes to prevent build failures.

The main concern is that this appears to be an incomplete extraction - the constants package still depends on the main application, which defeats the purpose of extracting it as a separate package.

Overall Assessment: ⚠️ Needs Work - Good concept with execution issues that require fixes before merging.

Copy link
Contributor

claude bot commented Aug 16, 2025

Claude finished @arvinxx's task —— View job


🔍 Code Review: Constants Refactoring PR

Todo List:

  • Read repository guidelines (CLAUDE.md)
  • Examine new package structure and configuration
  • Review package.json for the new @lobechat/const package
  • Check TypeScript configuration changes
  • Verify import path updates
  • Review moved constant files for any issues
  • Check for potential breaking changes
  • Provide comprehensive feedback

Summary

This PR successfully refactors constants from src/const/* into a dedicated @lobechat/const package, which is a good architectural improvement for modularity and reusability. The refactoring follows the monorepo pattern already established in the project.

🎯 Code Quality & Best Practices

Strengths:

  1. Clean separation: Moving constants to a dedicated package improves code organization
  2. Proper TypeScript path mapping: The @/const/* alias is correctly configured in tsconfig.json:23 and test configs
  3. Minimal code changes: Most files were moved without modification, reducing risk
  4. Consistent formatting: The imageGeneration.ts file had minor formatting improvements

Areas of Concern:

1. ⚠️ Package.json exports configuration issue (packages/const/package.json:7-14)

The exports field configuration is incorrect. Arrays are not valid for types and default fields:

"exports": {
  "./*": {
    "types": ["./src/*.ts", "./src/*/index.ts"],  // ❌ Should be string
    "default": ["./src/*.ts", "./src/*/index.ts"]  // ❌ Should be string
  }
}

Recommended fix:

"exports": {
  "./*": {
    "types": "./src/*.ts",
    "import": "./src/*.ts",
    "require": "./src/*.ts"
  },
  "./settings/*": {
    "types": "./src/settings/*.ts",
    "import": "./src/settings/*.ts"
  }
}

2. ⚠️ Incorrect import path (packages/const/src/url.ts:7)

The import path still references the old location:

import pkg from '../../../package.json';

This should be updated to:

import pkg from '../../../../package.json';

Since the file moved from src/const/ to packages/const/src/.

3. ⚠️ Cross-package dependency (packages/const/src/url.ts:4-5)

The file imports from the main app:

import { withBasePath } from '@/utils/basePath';
import { isDev } from '@/utils/env';

This creates a circular dependency where the constants package depends on the main app. Consider:

  • Moving these utilities to a shared package
  • Or passing these values as parameters

🐛 Potential Bugs

  1. Module resolution failure: The incorrect exports configuration will cause TypeScript and bundlers to fail resolving imports
  2. Build failure: The wrong package.json path will cause runtime errors when accessing package metadata
  3. Missing build configuration: No main or module fields in package.json may cause issues with some tools

Performance Considerations

  • ✅ No performance impact - this is purely a structural refactoring
  • ✅ Bundle size should remain unchanged
  • ✅ No runtime overhead introduced

🔒 Security Concerns

  • ✅ No security issues identified
  • ✅ No sensitive data exposed
  • ✅ Dependencies remain unchanged

🧪 Test Coverage

  • ✅ Test files were moved along with source files (layoutTokens.test.ts, plugin.test.ts)
  • ✅ Test configurations updated with correct path mappings
  • ⚠️ Recommendation: Run the full test suite to ensure all imports resolve correctly

📋 Additional Recommendations

  1. Add package metadata: Consider adding description, author, and license fields to packages/const/package.json
  2. Document the package: Add a README.md explaining the purpose and usage of the constants package
  3. Consider build process: If this package will be published or used externally, add proper build configuration
  4. Update CLAUDE.md: Document this new package structure in the project guidelines

🚦 Overall Assessment

Status: Needs Minor Fixes ⚠️

The refactoring is well-intentioned and mostly correct, but the package.json exports configuration and import path issues must be fixed before merging to prevent build failures.


Copy link

codecov bot commented Aug 16, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.58%. Comparing base (0905559) to head (a7ff4ad).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff            @@
##             main    #8756    +/-   ##
========================================
  Coverage   85.58%   85.58%            
========================================
  Files         935      935            
  Lines       72829    72829            
  Branches     4901     4668   -233     
========================================
  Hits        62333    62333            
  Misses      10496    10496            
Flag Coverage Δ
app 85.58% <100.00%> (ø)
server 96.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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

claude bot commented Aug 16, 2025

Claude finished @arvinxx's task —— View job


🔍 Code Review: Constants Refactoring PR

Todo List:

  • Read repository guidelines (CLAUDE.md)
  • Examine new package structure and configuration
  • Review package.json for the new @lobechat/const package
  • Check TypeScript configuration changes
  • Verify import path updates
  • Review moved constant files for any issues
  • Check for potential breaking changes
  • Provide comprehensive feedback

Summary

This PR successfully refactors constants from src/const/* into a dedicated @lobechat/const package, following the existing monorepo pattern established in the project. The implementation is clean and the majority of the refactoring is well-executed.

🎯 Code Quality & Best Practices

Strengths:

  1. Clean separation of concerns: Moving constants to a dedicated package improves modularity
  2. Proper TypeScript path mapping: The @/const/* alias is correctly configured in tsconfig.json:23 and test configurations
  3. Minimal code changes: Most files were moved without modification, reducing risk
  4. Consistent formatting: The imageGeneration.ts file received proper formatting improvements
  5. Follows monorepo pattern: Aligns with existing packages like @/libs/model-runtime and @/types

Areas Needing Attention:

1. ⚠️ Missing index.ts file

The package.json:5 specifies "main": "./src/index.ts", but no index.ts file exists in the package. This will cause module resolution errors.

Recommendation: Either:

  • Remove the "main" field from package.json, or
  • Create an index.ts file that exports all constants

2. ⚠️ Cross-package dependency (packages/const/src/url.ts:4-5)

The constants package imports utilities from the main application:

import { withBasePath } from '@/utils/basePath';
import { isDev } from '@/utils/env';

This creates a circular dependency where the constants package depends on the main app.

Recommendation: Consider one of these approaches:

  • Move these utilities to a shared utilities package
  • Make these values configurable through parameters
  • Move the dependent constants back to the main app

3. 📝 Test files included in package

Test files (layoutTokens.test.ts, plugin.test.ts) are included in the package source directory.

Recommendation: Consider moving test files to a separate test directory or ensure they're excluded from production builds.

🐛 Potential Bugs

No critical bugs identified. The refactoring appears safe with the exception of the missing index.ts file which could cause build issues.

Performance Considerations

  • No performance impact: This is purely a structural refactoring
  • Bundle size unchanged: Constants are simply relocated
  • No runtime overhead: Module resolution is handled at build time

🔒 Security Concerns

  • No security issues identified
  • No sensitive data exposed
  • No new dependencies introduced

🧪 Test Coverage

  • ✅ Test files were properly moved with source files
  • ✅ Test configurations correctly updated with new path aliases
  • ✅ Coverage configuration appears intact

Recommendation: Run bun run type-check and the test suite to ensure all imports resolve correctly after the refactoring.

📋 Additional Recommendations

  1. Add package metadata: Consider adding description, author, and license fields to packages/const/package.json
  2. Document the package: Add a README.md explaining the purpose and usage of the constants package
  3. Consider exports field: For better module resolution, consider adding proper exports field configuration
  4. Update CLAUDE.md: Document this new package structure in the project guidelines

🚦 Overall Assessment

Status: Good to Merge ✅ (with minor fixes)

The refactoring is well-executed and follows the project's established patterns. The main concern is the missing index.ts file referenced in package.json, which should be addressed before merging. The cross-package dependency is a design consideration that could be addressed in a follow-up PR if needed.

Great work on improving the project's modularity! 🎉


Copy link
Contributor

gru-agent bot commented Aug 16, 2025

There is too much information in the pull request to test.

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Aug 16, 2025
@arvinxx arvinxx changed the title ♻️ refactor: refactor const ♻️ refactor: refactor const folder to a new package Aug 16, 2025
@arvinxx arvinxx merged commit 30a4734 into main Aug 16, 2025
33 checks passed
@arvinxx arvinxx deleted the refactor/const branch August 16, 2025 12:04
@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 消息。

Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

github-actions bot pushed a commit that referenced this pull request Aug 16, 2025
### [Version&nbsp;1.112.3](v1.112.2...v1.112.3)
<sup>Released on **2025-08-16**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor const folder to a new package.

<br/>

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

#### Code refactoring

* **misc**: Refactor const folder to a new package, closes [#8756](#8756) ([30a4734](30a4734))

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

The release is available on:

Your semantic-release bot 📦🚀

github-actions bot pushed a commit to jaworldwideorg/OneJA-Bot that referenced this pull request Aug 18, 2025
## [Version&nbsp;1.113.0](v1.112.0...v1.113.0)
<sup>Released on **2025-08-18**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor const folder to a new package, refactor prompts folder to the `@lobechat/prompts` pacakge, 重构ArgsInput组件.

#### ✨ Features

- **provider**: Add BFL provider support for image generation.

#### 🐛 Bug Fixes

- **db**: Desktop local db can't vectorization.
- **misc**: Improve mcp tracing with user config.

#### 💄 Styles

- **misc**: Add Imagen 4 GA models, style improve auth sign in box loading.

<br/>

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

#### Code refactoring

* **misc**: Refactor const folder to a new package, closes [lobehub#8756](https://github.com/jaworldwideorg/OneJA-Bot/issues/8756) ([30a4734](30a4734))
* **misc**: Refactor prompts folder to the `@lobechat/prompts` pacakge, closes [lobehub#8810](https://github.com/jaworldwideorg/OneJA-Bot/issues/8810) ([d82e7bb](d82e7bb))
* **misc**: 重构 ArgsInput 组件, closes [lobehub#8765](https://github.com/jaworldwideorg/OneJA-Bot/issues/8765) ([0905559](0905559))

#### What's improved

* **provider**: Add BFL provider support for image generation, closes [lobehub#8806](https://github.com/jaworldwideorg/OneJA-Bot/issues/8806) ([519e03e](519e03e))

#### What's fixed

* **db**: Desktop local db can't vectorization, closes [lobehub#8830](https://github.com/jaworldwideorg/OneJA-Bot/issues/8830) ([a00fd9d](a00fd9d))
* **misc**: Improve mcp tracing with user config, closes [lobehub#8827](https://github.com/jaworldwideorg/OneJA-Bot/issues/8827) ([5cab2ee](5cab2ee))

#### Styles

* **misc**: Add Imagen 4 GA models, closes [lobehub#8799](https://github.com/jaworldwideorg/OneJA-Bot/issues/8799) ([2e9ad20](2e9ad20))
* **misc**: Style improve auth sign in box loading, closes [lobehub#8805](https://github.com/jaworldwideorg/OneJA-Bot/issues/8805) ([62f5a1b](62f5a1b))

</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
released size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants