Compare commits

...

313 Commits

Author SHA1 Message Date
semantic-release-bot 448ebfed4d 🔖 chore(release): v1.117.1 [skip ci]
### [Version 1.117.1](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.117.0...v1.117.1)
<sup>Released on **2025-08-25**</sup>

#### 🐛 Bug Fixes

- **files**: Remove force-static rendering to enable session access.

<br/>

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

#### What's fixed

* **files**: Remove force-static rendering to enable session access, closes [#8900](https://github.com/jaworldwideorg/OneJA-Bot/issues/8900) ([6100d21](https://github.com/jaworldwideorg/OneJA-Bot/commit/6100d21))

</details>

<div align="right">

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

</div>
2025-08-25 08:32:14 +00:00
Jamie Stivala fd41ff3328 Merge remote-tracking branch 'origin/main' 2025-08-25 10:21:18 +02:00
Jamie Stivala eed9a8c987 Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
2025-08-25 10:21:05 +02:00
lobehubbot 855ec8a294 📝 docs(bot): Auto sync agents & plugin to readme 2025-08-22 11:22:08 +00:00
semantic-release-bot 643413ff47 🔖 chore(release): v1.117.0 [skip ci]
## [Version&nbsp;1.117.0](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.116.0...v1.117.0)
<sup>Released on **2025-08-22**</sup>

#### ♻ Code Refactoring

- **misc**: Move database to packages.

####  Features

- **misc**: Add Azure image generation models to configuration, Add support for Azure OpenAI image generation and editing, Enhance error logging for Azure Image API response handling, Improve Azure image generation response handling and logging, Update Azure model configs with 'auto' size default and fix deployment IDs.

#### 💄 Styles

- **misc**: Update mistral model vision ability.

<br/>

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

#### Code refactoring

* **misc**: Move database to packages, closes [#8874](https://github.com/jaworldwideorg/OneJA-Bot/issues/8874) ([af1f715](https://github.com/jaworldwideorg/OneJA-Bot/commit/af1f715))

#### What's improved

* **misc**: Add Azure image generation models to configuration ([c0ba087](https://github.com/jaworldwideorg/OneJA-Bot/commit/c0ba087))
* **misc**: Add support for Azure OpenAI image generation and editing ([65547bb](https://github.com/jaworldwideorg/OneJA-Bot/commit/65547bb))
* **misc**: Enhance error logging for Azure Image API response handling ([2c17743](https://github.com/jaworldwideorg/OneJA-Bot/commit/2c17743))
* **misc**: Improve Azure image generation response handling and logging ([8b384ed](https://github.com/jaworldwideorg/OneJA-Bot/commit/8b384ed))
* **misc**: Update Azure model configs with 'auto' size default and fix deployment IDs ([700b027](https://github.com/jaworldwideorg/OneJA-Bot/commit/700b027))

#### Styles

* **misc**: Update mistral model vision ability, closes [#8885](https://github.com/jaworldwideorg/OneJA-Bot/issues/8885) ([915c0ff](https://github.com/jaworldwideorg/OneJA-Bot/commit/915c0ff))

</details>

<div align="right">

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

</div>
2025-08-22 11:21:37 +00:00
Jamie Stivala 7eff0843df Merge branch 'feat/azure-image-gen'
# Conflicts:
#	packages/model-runtime/src/azureOpenai/index.ts
#	src/config/aiModels/azure.ts
2025-08-22 13:11:04 +02:00
Jamie Stivala 44f9863f4c Merge branch 'feat/local-development'
# Conflicts:
#	CHANGELOG.md
#	changelog/v1.json
2025-08-22 13:10:42 +02:00
Jamie Stivala fa87c28902 📝 docs: document development mode setup using Docker Compose, including PostgreSQL, MinIO, and SearxNG 2025-08-22 13:10:13 +02:00
Jamie Stivala 2c17743acb feat: Enhance error logging for Azure Image API response handling
- Add truncation for lengthy raw responses in error logs
- Include raw response details when parsing failures occur
- Improve error messages for missing or invalid data arrays
2025-08-22 13:01:14 +02:00
Jamie Stivala 63aba035ab 🔨 chore: Add comprehensive tests for createImage in Azure OpenAI integration
- Covers various response scenarios (e.g., JSON, bodyAsText, b64_json)
- Adds error handling tests for invalid responses (e.g., empty data, missing fields)
- Includes tests for editing images and handling multiple image URLs
2025-08-22 12:55:47 +02:00
Jamie Stivala 8b384edc08 feat: Improve Azure image generation response handling and logging
- Replace `debug` instance with a dedicated `azureImageLogger`
- Add detailed error handling to parse Azure Image API JSON responses
- Normalize and validate API response shapes to ensure consistency
2025-08-22 12:40:57 +02:00
Jamie Stivala 0ce02d7cc2 Merge branch 'lobehub:main' into feat/local-development 2025-08-22 11:16:01 +02:00
Jamie Stivala 700b02777c feat: Update Azure model configs with 'auto' size default and fix deployment IDs 2025-08-22 11:13:01 +02:00
Jamie Stivala c0ba087c29 feat: Add Azure image generation models to configuration 2025-08-22 11:07:10 +02:00
Jamie Stivala 39652787be Merge remote-tracking branch 'upstream/main' into feat/azure-image-gen 2025-08-22 10:46:03 +02:00
lobehubbot d5d48af83e 📝 docs(bot): Auto sync agents & plugin to readme 2025-08-21 16:46:29 +00:00
semantic-release-bot eca8ce4027 🔖 chore(release): v1.116.0 [skip ci]
## [Version&nbsp;1.116.0](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.115.0...v1.116.0)
<sup>Released on **2025-08-21**</sup>

####  Features

- **misc**: Add support for Azure image models and implement `createImage` API method.

#### 🐛 Bug Fixes

- **misc**: Can't load custom provider config.

<br/>

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

#### What's improved

* **misc**: Add support for Azure image models and implement `createImage` API method ([c3ae413](https://github.com/jaworldwideorg/OneJA-Bot/commit/c3ae413))

#### What's fixed

* **misc**: Can't load custom provider config, closes [#8880](https://github.com/jaworldwideorg/OneJA-Bot/issues/8880) ([9ec3315](https://github.com/jaworldwideorg/OneJA-Bot/commit/9ec3315))

</details>

<div align="right">

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

</div>
2025-08-21 16:45:55 +00:00
Jamie Stivala 65547bb683 feat: Add support for Azure OpenAI image generation and editing 2025-08-21 18:26:05 +02:00
Jamie Stivala 07c4936770 Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
2025-08-21 18:22:39 +02:00
Jamie Stivala c3ae4138e3 feat: add support for Azure image models and implement createImage API method 2025-08-21 18:20:34 +02:00
Jamie Stivala 920d277108 Merge branch 'feat/local-development' 2025-08-21 15:49:00 +02:00
Jamie Stivala 0da00bb3ab 🔧 chore: add NEXT_PUBLIC_ENABLE_NEXT_AUTH to .env.example for development setup 2025-08-21 15:48:48 +02:00
Jamie Stivala 0b012e06fb Merge branch 'feat/local-development' 2025-08-21 15:45:12 +02:00
Jamie Stivala 131b6487a9 Merge remote-tracking branch 'origin/feat/local-development' into feat/local-development
# Conflicts:
#	docker-compose/setup.sh
2025-08-21 15:41:53 +02:00
Jamie Stivala ee0f763748 🔧 chore: update S3 configuration in .env.example and enhance setup.sh to ensure MinIO variables are set correctly 2025-08-21 15:40:55 +02:00
Jamie Stivala b08d9236cb Merge branch 'feat/local-development' 2025-08-21 15:20:57 +02:00
Jamie Stivala 3489daa515 🔧 chore: update S3 configuration in .env.example and enhance setup.sh to ensure MinIO variables are set correctly 2025-08-21 15:20:24 +02:00
Jamie Stivala 24e92a69b7 Merge remote-tracking branch 'origin/main' 2025-08-21 14:49:26 +02:00
Jamie Stivala a306818ed8 Merge branch 'feat/local-development' 2025-08-21 14:49:19 +02:00
Jamie Stivala 56c0092705 🔧 chore: update default development ports in .env.example for Lobe app and auth URL 2025-08-21 14:49:03 +02:00
lobehubbot e2389b6895 📝 docs(bot): Auto sync agents & plugin to readme 2025-08-21 12:41:16 +00:00
semantic-release-bot 9fe6493348 🔖 chore(release): v1.115.0 [skip ci]
## [Version&nbsp;1.115.0](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.114.0...v1.115.0)
<sup>Released on **2025-08-21**</sup>

#### ♻ Code Refactoring

- **misc**: Move chain into `@lobechat/prompts`.

####  Features

- **misc**: Add development Docker Compose setup with PostgreSQL, MinIO, and SearxNG services.

<br/>

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

#### Code refactoring

* **misc**: Move chain into `@lobechat/prompts`, closes [#8875](https://github.com/jaworldwideorg/OneJA-Bot/issues/8875) ([c576b97](https://github.com/jaworldwideorg/OneJA-Bot/commit/c576b97))

#### What's improved

* **misc**: Add development Docker Compose setup with PostgreSQL, MinIO, and SearxNG services ([ce5332a](https://github.com/jaworldwideorg/OneJA-Bot/commit/ce5332a))

</details>

<div align="right">

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

</div>
2025-08-21 12:40:46 +00:00
Jamie Stivala 87a76cda0d 🔥 chore: Remove unused development database Dockerfile.dev.database 2025-08-21 14:25:25 +02:00
Jamie Stivala 7e0b44263a Merge branch 'feat/local-development'
# Conflicts:
#	CHANGELOG.md
#	docker-compose/development/.env.example
#	docker-compose/development/docker-compose.yml
2025-08-21 14:24:24 +02:00
Jamie Stivala 15149341e1 Merge remote-tracking branch 'upstream/main' into feat/local-development 2025-08-21 14:00:51 +02:00
Jamie Stivala ce5332ada1 feat: Add development Docker Compose setup with PostgreSQL, MinIO, and SearxNG services 2025-08-21 13:57:49 +02:00
Jamie Stivala ecca8bd982 Merge remote-tracking branch 'upstream/main' 2025-08-20 11:36:46 +02:00
semantic-release-bot 388f529940 🔖 chore(release): v1.114.0 [skip ci]
## [Version&nbsp;1.114.0](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.113.1...v1.114.0)
<sup>Released on **2025-08-19**</sup>

####  Features

- **models**: Add Qwen Image Edit model.

<br/>

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

#### What's improved

* **models**: Add Qwen Image Edit model, closes [#8851](https://github.com/jaworldwideorg/OneJA-Bot/issues/8851) ([4d7a060](https://github.com/jaworldwideorg/OneJA-Bot/commit/4d7a060))

</details>

<div align="right">

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

</div>
2025-08-19 15:53:01 +00:00
Jamie Stivala 7ee9c23434 Merge remote-tracking branch 'origin/main' 2025-08-19 17:36:52 +02:00
Jamie Stivala 85cea19f7e Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
2025-08-19 17:36:15 +02:00
semantic-release-bot b991c5360e 🔖 chore(release): v1.113.1 [skip ci]
### [Version&nbsp;1.113.1](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.113.0...v1.113.1)
<sup>Released on **2025-08-19**</sup>

#### 🐛 Bug Fixes

- **mcp**: Use customParams for environment settings fallback.
- **misc**: Support Grok thinking models in AiHubMix, The 'stream_options' parameter is only allowed when 'stream' is enabled.

<br/>

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

#### What's fixed

* **mcp**: Use customParams for environment settings fallback, closes [#8814](https://github.com/jaworldwideorg/OneJA-Bot/issues/8814) ([ab043d4](https://github.com/jaworldwideorg/OneJA-Bot/commit/ab043d4))
* **misc**: Support Grok thinking models in AiHubMix, closes [#8713](https://github.com/jaworldwideorg/OneJA-Bot/issues/8713) ([ffa9b1b](https://github.com/jaworldwideorg/OneJA-Bot/commit/ffa9b1b))
* **misc**: The 'stream_options' parameter is only allowed when 'stream' is enabled, closes [#8778](https://github.com/jaworldwideorg/OneJA-Bot/issues/8778) ([fcc32d5](https://github.com/jaworldwideorg/OneJA-Bot/commit/fcc32d5))

</details>

<div align="right">

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

</div>
2025-08-19 08:52:55 +00:00
Jamie Stivala c79541bacc Merge remote-tracking branch 'origin/main' 2025-08-19 10:37:30 +02:00
Jamie Stivala 377002cb3c Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
2025-08-19 10:36:43 +02:00
lobehubbot 2ac167a912 📝 docs(bot): Auto sync agents & plugin to readme 2025-08-18 04:45:09 +00:00
semantic-release-bot dc767d7fee 🔖 chore(release): v1.113.0 [skip ci]
## [Version&nbsp;1.113.0](https://github.com/jaworldwideorg/OneJA-Bot/compare/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 [#8756](https://github.com/jaworldwideorg/OneJA-Bot/issues/8756) ([30a4734](https://github.com/jaworldwideorg/OneJA-Bot/commit/30a4734))
* **misc**: Refactor prompts folder to the `@lobechat/prompts` pacakge, closes [#8810](https://github.com/jaworldwideorg/OneJA-Bot/issues/8810) ([d82e7bb](https://github.com/jaworldwideorg/OneJA-Bot/commit/d82e7bb))
* **misc**: 重构 ArgsInput 组件, closes [#8765](https://github.com/jaworldwideorg/OneJA-Bot/issues/8765) ([0905559](https://github.com/jaworldwideorg/OneJA-Bot/commit/0905559))

#### What's improved

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

#### What's fixed

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

#### Styles

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

</details>

<div align="right">

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

</div>
2025-08-18 04:44:34 +00:00
Jamie Stivala e1d1d8e20f Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
2025-08-18 06:25:56 +02:00
semantic-release-bot 4114d12be6 🔖 chore(release): v1.112.0 [skip ci]
## [Version&nbsp;1.112.0](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.111.11...v1.112.0)
<sup>Released on **2025-08-15**</sup>

####  Features

- **feature-flags**: Add ai_image flag to control AI painting UI.

<br/>

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

#### What's improved

* **feature-flags**: Add ai_image flag to control AI painting UI, closes [#8797](https://github.com/jaworldwideorg/OneJA-Bot/issues/8797) ([a1c66c8](https://github.com/jaworldwideorg/OneJA-Bot/commit/a1c66c8))

</details>

<div align="right">

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

</div>
2025-08-15 09:45:56 +00:00
Jamie Stivala 45dc85e4e8 Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
2025-08-15 11:30:53 +02:00
Jamie Stivala 226a56b7b7 Merge remote-tracking branch 'upstream/main' 2025-08-14 11:29:57 +02:00
GH Action - Upstream Sync 23f141d7b8 Merge branch 'main' of https://github.com/lobehub/lobe-chat 2025-08-14 06:10:12 +00:00
lobehubbot 676f35b9e0 📝 docs(bot): Auto sync agents & plugin to readme 2025-08-13 11:04:00 +00:00
semantic-release-bot 098d1c5fab 🔖 chore(release): v1.106.2 [skip ci]
### [Version&nbsp;1.106.2](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.106.1...v1.106.2)
<sup>Released on **2025-08-13**</sup>

#### 💄 Styles

- **misc**: Update Mistral AI models & Optimize many model providers fetching.

<br/>

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

#### Styles

* **misc**: Update Mistral AI models & Optimize many model providers fetching, closes [#8644](https://github.com/jaworldwideorg/OneJA-Bot/issues/8644) ([1d466e5](https://github.com/jaworldwideorg/OneJA-Bot/commit/1d466e5))

</details>

<div align="right">

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

</div>
2025-08-13 11:03:33 +00:00
Jamie Stivala 36e539b31f Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
#	changelog/v1.json
2025-08-13 12:48:38 +02:00
Jamie Stivala 76eedda9dd Updated the branding to OneAI reflecting marketing changes 2025-08-13 12:46:26 +02:00
GH Action - Upstream Sync 4eb2510471 Merge branch 'main' of https://github.com/lobehub/lobe-chat 2025-08-12 18:09:34 +00:00
GH Action - Upstream Sync 9886517312 Merge branch 'main' of https://github.com/lobehub/lobe-chat 2025-08-12 12:11:39 +00:00
lobehubbot 25a34de6a7 📝 docs(bot): Auto sync agents & plugin to readme 2025-08-12 08:12:20 +00:00
semantic-release-bot 846a0f5f74 🔖 chore(release): v1.106.1 [skip ci]
### [Version&nbsp;1.106.1](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.106.0...v1.106.1)
<sup>Released on **2025-08-12**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor model-runtime to a seperated package.

#### 💄 Styles

- **misc**: Adjust near bottom size on thinking scroll, improve Gemini error display with promptFeedback, Support new GPT-5 Verbosity params.

<br/>

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

#### Code refactoring

* **misc**: Refactor model-runtime to a seperated package, closes [#8763](https://github.com/jaworldwideorg/OneJA-Bot/issues/8763) ([e5eb7a2](https://github.com/jaworldwideorg/OneJA-Bot/commit/e5eb7a2))

#### Styles

* **misc**: Adjust near bottom size on thinking scroll, closes [#8772](https://github.com/jaworldwideorg/OneJA-Bot/issues/8772) ([1fae490](https://github.com/jaworldwideorg/OneJA-Bot/commit/1fae490))
* **misc**: Improve Gemini error display with promptFeedback, closes [#8707](https://github.com/jaworldwideorg/OneJA-Bot/issues/8707) ([51ad399](https://github.com/jaworldwideorg/OneJA-Bot/commit/51ad399))
* **misc**: Support new GPT-5 Verbosity params, closes [#8715](https://github.com/jaworldwideorg/OneJA-Bot/issues/8715) ([0a724aa](https://github.com/jaworldwideorg/OneJA-Bot/commit/0a724aa))

</details>

<div align="right">

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

</div>
2025-08-12 08:11:51 +00:00
Jamie Stivala a3fe6e6408 Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
#	changelog/v1.json
2025-08-12 09:56:36 +02:00
lobehubbot 91ef9bacfa 📝 docs(bot): Auto sync agents & plugin to readme 2025-08-11 07:18:52 +00:00
semantic-release-bot f9479344b4 🔖 chore(release): v1.106.0 [skip ci]
## [Version&nbsp;1.106.0](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.105.2...v1.106.0)
<sup>Released on **2025-08-11**</sup>

#### ♻ Code Refactoring

- **pricing**: Introduce new pricing system.
- **misc**: Move types to separate package, refactor trace type.

####  Features

- **misc**: Add GPT-5 series models, support 302ai provider, support aihubmix provider, support gpt-oss in ollama provider, support mcp plugin install from web.

#### 🐛 Bug Fixes

- **desktop**: Settings window can't exit when fullscreen.
- **pricing**: Adjust cachedInput values for GPT-5 models.
- **misc**: Aihubmix provider request headers, Break line for Gemini Artifacts, fix fail to fetch aihubmix model on client mode, fix ollama model output without thinking, fix remote avatar broken in desktop, fix remote avatar broken in desktop again, missing languages it-IT, pl-PL, nl-NL, Optimize Gemini error message display & Filter empty messages, provider config checker uses outdated API key, Solve the cache problem caused by the same dom id when sharing pictures, when s3 files not exist , global files should delete.

#### 💄 Styles

- **misc**: Add Claude Opus 4.1 model, add context menu for desktop, Add descriptions for the FLUX.1 Krea and Qwen Image, Add mask effect to thinking scroll, fix provider setting page hydration error, improve thinking auto scroll style, support different model tabs, Support session switch shortcut key, update i18n, update i18n, update i18n, update i18n, Update mask style, update models.

<br/>

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

#### Code refactoring

* **pricing**: Introduce new pricing system, closes [#8681](https://github.com/jaworldwideorg/OneJA-Bot/issues/8681) ([96b7508](https://github.com/jaworldwideorg/OneJA-Bot/commit/96b7508))
* **misc**: Move types to separate package, closes [#8635](https://github.com/jaworldwideorg/OneJA-Bot/issues/8635) ([3cc4a54](https://github.com/jaworldwideorg/OneJA-Bot/commit/3cc4a54))
* **misc**: Refactor trace type, closes [#8699](https://github.com/jaworldwideorg/OneJA-Bot/issues/8699) ([4e71af7](https://github.com/jaworldwideorg/OneJA-Bot/commit/4e71af7))

#### What's improved

* **misc**: Add GPT-5 series models, closes [#8711](https://github.com/jaworldwideorg/OneJA-Bot/issues/8711) ([600c29b](https://github.com/jaworldwideorg/OneJA-Bot/commit/600c29b))
* **misc**: Support 302ai provider, closes [#8362](https://github.com/jaworldwideorg/OneJA-Bot/issues/8362) ([e172055](https://github.com/jaworldwideorg/OneJA-Bot/commit/e172055))
* **misc**: Support aihubmix provider, closes [#8038](https://github.com/jaworldwideorg/OneJA-Bot/issues/8038) ([4db6485](https://github.com/jaworldwideorg/OneJA-Bot/commit/4db6485))
* **misc**: Support gpt-oss in ollama provider, closes [#8682](https://github.com/jaworldwideorg/OneJA-Bot/issues/8682) ([6e0c386](https://github.com/jaworldwideorg/OneJA-Bot/commit/6e0c386))
* **misc**: Support mcp plugin install from web, closes [#8680](https://github.com/jaworldwideorg/OneJA-Bot/issues/8680) ([022d858](https://github.com/jaworldwideorg/OneJA-Bot/commit/022d858))

#### What's fixed

* **desktop**: Settings window can't exit when fullscreen, closes [#8633](https://github.com/jaworldwideorg/OneJA-Bot/issues/8633) ([954eb2c](https://github.com/jaworldwideorg/OneJA-Bot/commit/954eb2c))
* **pricing**: Adjust cachedInput values for GPT-5 models, closes [#8723](https://github.com/jaworldwideorg/OneJA-Bot/issues/8723) ([652bf08](https://github.com/jaworldwideorg/OneJA-Bot/commit/652bf08))
* **misc**: Aihubmix provider request headers, closes [#8654](https://github.com/jaworldwideorg/OneJA-Bot/issues/8654) ([af07101](https://github.com/jaworldwideorg/OneJA-Bot/commit/af07101))
* **misc**: Break line for Gemini Artifacts, closes [#8627](https://github.com/jaworldwideorg/OneJA-Bot/issues/8627) ([65609dd](https://github.com/jaworldwideorg/OneJA-Bot/commit/65609dd))
* **misc**: Fix fail to fetch aihubmix model on client mode, closes [#8689](https://github.com/jaworldwideorg/OneJA-Bot/issues/8689) ([3dcc5da](https://github.com/jaworldwideorg/OneJA-Bot/commit/3dcc5da))
* **misc**: Fix ollama model output without thinking, closes [#8686](https://github.com/jaworldwideorg/OneJA-Bot/issues/8686) ([d95c7f4](https://github.com/jaworldwideorg/OneJA-Bot/commit/d95c7f4))
* **misc**: Fix remote avatar broken in desktop, closes [#8673](https://github.com/jaworldwideorg/OneJA-Bot/issues/8673) ([7eae430](https://github.com/jaworldwideorg/OneJA-Bot/commit/7eae430))
* **misc**: Fix remote avatar broken in desktop again, closes [#8688](https://github.com/jaworldwideorg/OneJA-Bot/issues/8688) ([41b4363](https://github.com/jaworldwideorg/OneJA-Bot/commit/41b4363))
* **misc**: Missing languages it-IT, pl-PL, nl-NL, closes [#8710](https://github.com/jaworldwideorg/OneJA-Bot/issues/8710) ([b46fa8e](https://github.com/jaworldwideorg/OneJA-Bot/commit/b46fa8e))
* **misc**: Optimize Gemini error message display & Filter empty messages, closes [#8489](https://github.com/jaworldwideorg/OneJA-Bot/issues/8489) ([5b409cc](https://github.com/jaworldwideorg/OneJA-Bot/commit/5b409cc))
* **misc**: Provider config checker uses outdated API key, closes [#8666](https://github.com/jaworldwideorg/OneJA-Bot/issues/8666) ([3a3e73e](https://github.com/jaworldwideorg/OneJA-Bot/commit/3a3e73e))
* **misc**: Solve the cache problem caused by the same dom id when sharing pictures, closes [#8704](https://github.com/jaworldwideorg/OneJA-Bot/issues/8704) ([68aad95](https://github.com/jaworldwideorg/OneJA-Bot/commit/68aad95))
* **misc**: When s3 files not exist , global files should delete ([7c1ca41](https://github.com/jaworldwideorg/OneJA-Bot/commit/7c1ca41))

#### Styles

* **misc**: Add Claude Opus 4.1 model, closes [#8683](https://github.com/jaworldwideorg/OneJA-Bot/issues/8683) ([ceb5289](https://github.com/jaworldwideorg/OneJA-Bot/commit/ceb5289))
* **misc**: Add context menu for desktop, closes [#8691](https://github.com/jaworldwideorg/OneJA-Bot/issues/8691) ([0b30d05](https://github.com/jaworldwideorg/OneJA-Bot/commit/0b30d05))
* **misc**: Add descriptions for the FLUX.1 Krea and Qwen Image, closes [#8678](https://github.com/jaworldwideorg/OneJA-Bot/issues/8678) ([769fda0](https://github.com/jaworldwideorg/OneJA-Bot/commit/769fda0))
* **misc**: Add mask effect to thinking scroll, closes [#8729](https://github.com/jaworldwideorg/OneJA-Bot/issues/8729) ([4cefafd](https://github.com/jaworldwideorg/OneJA-Bot/commit/4cefafd))
* **misc**: Fix provider setting page hydration error, closes [#8695](https://github.com/jaworldwideorg/OneJA-Bot/issues/8695) ([88e7d2a](https://github.com/jaworldwideorg/OneJA-Bot/commit/88e7d2a))
* **misc**: Improve thinking auto scroll style, closes [#8719](https://github.com/jaworldwideorg/OneJA-Bot/issues/8719) ([acec55f](https://github.com/jaworldwideorg/OneJA-Bot/commit/acec55f))
* **misc**: Support different model tabs, closes [#8693](https://github.com/jaworldwideorg/OneJA-Bot/issues/8693) ([6d531d7](https://github.com/jaworldwideorg/OneJA-Bot/commit/6d531d7))
* **misc**: Support session switch shortcut key, closes [#8626](https://github.com/jaworldwideorg/OneJA-Bot/issues/8626) ([efc7eaf](https://github.com/jaworldwideorg/OneJA-Bot/commit/efc7eaf))
* **misc**: Update i18n, closes [#8734](https://github.com/jaworldwideorg/OneJA-Bot/issues/8734) ([327a564](https://github.com/jaworldwideorg/OneJA-Bot/commit/327a564))
* **misc**: Update i18n, closes [#8725](https://github.com/jaworldwideorg/OneJA-Bot/issues/8725) ([d9642fc](https://github.com/jaworldwideorg/OneJA-Bot/commit/d9642fc))
* **misc**: Update i18n, closes [#8684](https://github.com/jaworldwideorg/OneJA-Bot/issues/8684) ([926fa9a](https://github.com/jaworldwideorg/OneJA-Bot/commit/926fa9a))
* **misc**: Update i18n, closes [#8629](https://github.com/jaworldwideorg/OneJA-Bot/issues/8629) ([3b87fe7](https://github.com/jaworldwideorg/OneJA-Bot/commit/3b87fe7))
* **misc**: Update mask style, closes [#8555](https://github.com/jaworldwideorg/OneJA-Bot/issues/8555) ([b4ac89d](https://github.com/jaworldwideorg/OneJA-Bot/commit/b4ac89d))
* **misc**: Update models, closes [#8657](https://github.com/jaworldwideorg/OneJA-Bot/issues/8657) ([904ee13](https://github.com/jaworldwideorg/OneJA-Bot/commit/904ee13))

</details>

<div align="right">

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

</div>
2025-08-11 07:17:39 +00:00
Jamie Stivala d46d5ed298 Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
#	README.zh-CN.md
#	changelog/v1.json
2025-08-11 09:02:42 +02:00
lobehubbot 3658d6fd24 📝 docs(bot): Auto sync agents & plugin to readme 2025-07-31 12:39:14 +00:00
semantic-release-bot 31f9635ad2 🔖 chore(release): v1.105.2 [skip ci]
### [Version&nbsp;1.105.2](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.105.1...v1.105.2)
<sup>Released on **2025-07-31**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix oidc oauth callback pages 404.

#### 💄 Styles

- **misc**: Improve mcp plugin calling and display, Support SenseNova V6.5 models, update Aliyun Bailian models.

<br/>

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

#### What's fixed

* **misc**: Fix oidc oauth callback pages 404, closes [#8620](https://github.com/jaworldwideorg/OneJA-Bot/issues/8620) ([d136b6e](https://github.com/jaworldwideorg/OneJA-Bot/commit/d136b6e))

#### Styles

* **misc**: Improve mcp plugin calling and display, closes [#8619](https://github.com/jaworldwideorg/OneJA-Bot/issues/8619) ([14c41c4](https://github.com/jaworldwideorg/OneJA-Bot/commit/14c41c4))
* **misc**: Support SenseNova V6.5 models, closes [#8569](https://github.com/jaworldwideorg/OneJA-Bot/issues/8569) ([411ed7e](https://github.com/jaworldwideorg/OneJA-Bot/commit/411ed7e))
* **misc**: Update Aliyun Bailian models, closes [#8612](https://github.com/jaworldwideorg/OneJA-Bot/issues/8612) ([433e679](https://github.com/jaworldwideorg/OneJA-Bot/commit/433e679))

</details>

<div align="right">

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

</div>
2025-07-31 12:38:43 +00:00
Jamie Stivala 56e4223892 Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
#	changelog/v1.json
2025-07-31 14:22:50 +02:00
lobehubbot b060cbc2d0 📝 docs(bot): Auto sync agents & plugin to readme 2025-07-30 16:25:02 +00:00
semantic-release-bot ef4a5c253a 🔖 chore(release): v1.105.1 [skip ci]
### [Version&nbsp;1.105.1](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.105.0...v1.105.1)
<sup>Released on **2025-07-30**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix desktop auth redirect url error, fix mcp calling missing array content, moonshot assistant messages must not be empty.

#### 💄 Styles

- **misc**: Add volcengine kimi-k2 model, Add Zhipu GLM-4.5 models, update i18n.

<br/>

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

#### What's fixed

* **misc**: Fix desktop auth redirect url error, closes [#8597](https://github.com/jaworldwideorg/OneJA-Bot/issues/8597) ([0ed7368](https://github.com/jaworldwideorg/OneJA-Bot/commit/0ed7368))
* **misc**: Fix mcp calling missing array content, closes [#8615](https://github.com/jaworldwideorg/OneJA-Bot/issues/8615) ([b7f8e6e](https://github.com/jaworldwideorg/OneJA-Bot/commit/b7f8e6e))
* **misc**: Moonshot assistant messages must not be empty, closes [#8419](https://github.com/jaworldwideorg/OneJA-Bot/issues/8419) ([a796495](https://github.com/jaworldwideorg/OneJA-Bot/commit/a796495))

#### Styles

* **misc**: Add volcengine kimi-k2 model, closes [#8591](https://github.com/jaworldwideorg/OneJA-Bot/issues/8591) ([9630167](https://github.com/jaworldwideorg/OneJA-Bot/commit/9630167))
* **misc**: Add Zhipu GLM-4.5 models, closes [#8590](https://github.com/jaworldwideorg/OneJA-Bot/issues/8590) ([4f4620c](https://github.com/jaworldwideorg/OneJA-Bot/commit/4f4620c))
* **misc**: Update i18n, closes [#8609](https://github.com/jaworldwideorg/OneJA-Bot/issues/8609) ([21cac39](https://github.com/jaworldwideorg/OneJA-Bot/commit/21cac39))

</details>

<div align="right">

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

</div>
2025-07-30 16:24:33 +00:00
Jamie Stivala 57e98a56ca Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
#	changelog/v1.json
2025-07-30 18:07:30 +02:00
lobehubbot 6156c48db7 📝 docs(bot): Auto sync agents & plugin to readme 2025-07-29 16:10:00 +00:00
semantic-release-bot e875c4699e 🔖 chore(release): v1.105.0 [skip ci]
## [Version&nbsp;1.105.0](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.104.1...v1.105.0)
<sup>Released on **2025-07-29**</sup>

####  Features

- **misc**: Add support for Okta Authentication.

#### 🐛 Bug Fixes

- **misc**: Fix subscription plan tag display, reorder AppTheme and Locale to fix modal i18n, revert jose to ^5 to fix auth issue on desktop.

#### 💄 Styles

- **misc**: Open new topic by tap Just Chat again, support Minimax T2I models.

<br/>

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

#### What's improved

* **misc**: Add support for Okta Authentication, closes [#8547](https://github.com/jaworldwideorg/OneJA-Bot/issues/8547) ([67abdfe](https://github.com/jaworldwideorg/OneJA-Bot/commit/67abdfe))

#### What's fixed

* **misc**: Fix subscription plan tag display, closes [#8599](https://github.com/jaworldwideorg/OneJA-Bot/issues/8599) ([2a3754a](https://github.com/jaworldwideorg/OneJA-Bot/commit/2a3754a))
* **misc**: Reorder AppTheme and Locale to fix modal i18n, closes [#8600](https://github.com/jaworldwideorg/OneJA-Bot/issues/8600) ([3264cf2](https://github.com/jaworldwideorg/OneJA-Bot/commit/3264cf2))
* **misc**: Revert jose to ^5 to fix auth issue on desktop, closes [#8603](https://github.com/jaworldwideorg/OneJA-Bot/issues/8603) ([57118b0](https://github.com/jaworldwideorg/OneJA-Bot/commit/57118b0))

#### Styles

* **misc**: Open new topic by tap Just Chat again, closes [#8426](https://github.com/jaworldwideorg/OneJA-Bot/issues/8426) ([018ca75](https://github.com/jaworldwideorg/OneJA-Bot/commit/018ca75))
* **misc**: Support Minimax T2I models, closes [#8583](https://github.com/jaworldwideorg/OneJA-Bot/issues/8583) ([f8a01aa](https://github.com/jaworldwideorg/OneJA-Bot/commit/f8a01aa))

</details>

<div align="right">

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

</div>
2025-07-29 16:09:25 +00:00
Jamie Stivala 2b60ee21a6 Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
#	changelog/v1.json
2025-07-29 17:50:56 +02:00
lobehubbot 815594eabb 📝 docs(bot): Auto sync agents & plugin to readme 2025-07-29 08:56:18 +00:00
semantic-release-bot 283bd18f1f 🔖 chore(release): v1.104.1 [skip ci]
### [Version&nbsp;1.104.1](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.104.0...v1.104.1)
<sup>Released on **2025-07-29**</sup>

#### ♻ Code Refactoring

- **misc**: Clean mcp sitemap, refactor jose-JWT to xor obfuscation.

#### 💄 Styles

- **misc**: Add more OpenAI SDK Text2Image providers, support more Text2Image from Qwen, update i18n.

<br/>

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

#### Code refactoring

* **misc**: Clean mcp sitemap, closes [#8596](https://github.com/jaworldwideorg/OneJA-Bot/issues/8596) ([b9e3e66](https://github.com/jaworldwideorg/OneJA-Bot/commit/b9e3e66))
* **misc**: Refactor jose-JWT to xor obfuscation, closes [#8595](https://github.com/jaworldwideorg/OneJA-Bot/issues/8595) ([be98d56](https://github.com/jaworldwideorg/OneJA-Bot/commit/be98d56))

#### Styles

* **misc**: Add more OpenAI SDK Text2Image providers, closes [#8573](https://github.com/jaworldwideorg/OneJA-Bot/issues/8573) ([403aebd](https://github.com/jaworldwideorg/OneJA-Bot/commit/403aebd))
* **misc**: Support more Text2Image from Qwen, closes [#8574](https://github.com/jaworldwideorg/OneJA-Bot/issues/8574) ([b8c0e2d](https://github.com/jaworldwideorg/OneJA-Bot/commit/b8c0e2d))
* **misc**: Update i18n, closes [#8593](https://github.com/jaworldwideorg/OneJA-Bot/issues/8593) ([356cf0c](https://github.com/jaworldwideorg/OneJA-Bot/commit/356cf0c))

</details>

<div align="right">

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

</div>
2025-07-29 08:55:47 +00:00
Jamie Stivala 0ba6109d2b Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
#	changelog/v1.json
2025-07-29 10:39:37 +02:00
lobehubbot 8153bf871b 📝 docs(bot): Auto sync agents & plugin to readme 2025-07-28 09:39:19 +00:00
semantic-release-bot cc963d0371 🔖 chore(release): v1.104.0 [skip ci]
## [Version&nbsp;1.104.0](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.103.3...v1.104.0)
<sup>Released on **2025-07-28**</sup>

####  Features

- **misc**: Implement API Key management functionality, support custom hotkey on desktop.

#### 🐛 Bug Fixes

- **misc**: Fix update hotkey invalid when input mod in desktop, update convertUsage to handle XAI provider and adjust OpenAIStream to pass provider.

#### 💄 Styles

- **misc**: Add Gemini 2.5 Flash-Lite GA model, fix setting window layout size, fix setting window layout when in desktop was disappear, update i18n.

<br/>

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

#### What's improved

* **misc**: Implement API Key management functionality, closes [#8535](https://github.com/jaworldwideorg/OneJA-Bot/issues/8535) ([fdaa725](https://github.com/jaworldwideorg/OneJA-Bot/commit/fdaa725))
* **misc**: Support custom hotkey on desktop, closes [#8559](https://github.com/jaworldwideorg/OneJA-Bot/issues/8559) ([b50f121](https://github.com/jaworldwideorg/OneJA-Bot/commit/b50f121))

#### What's fixed

* **misc**: Fix update hotkey invalid when input mod in desktop, closes [#8572](https://github.com/jaworldwideorg/OneJA-Bot/issues/8572) ([07f3e6a](https://github.com/jaworldwideorg/OneJA-Bot/commit/07f3e6a))
* **misc**: Update convertUsage to handle XAI provider and adjust OpenAIStream to pass provider, closes [#8557](https://github.com/jaworldwideorg/OneJA-Bot/issues/8557) ([d1e4a54](https://github.com/jaworldwideorg/OneJA-Bot/commit/d1e4a54))

#### Styles

* **misc**: Add Gemini 2.5 Flash-Lite GA model, closes [#8539](https://github.com/jaworldwideorg/OneJA-Bot/issues/8539) ([404ac21](https://github.com/jaworldwideorg/OneJA-Bot/commit/404ac21))
* **misc**: Fix setting window layout size, closes [#8483](https://github.com/jaworldwideorg/OneJA-Bot/issues/8483) ([4902341](https://github.com/jaworldwideorg/OneJA-Bot/commit/4902341))
* **misc**: Fix setting window layout when in desktop was disappear, closes [#8585](https://github.com/jaworldwideorg/OneJA-Bot/issues/8585) ([74ab822](https://github.com/jaworldwideorg/OneJA-Bot/commit/74ab822))
* **misc**: Update i18n, closes [#8579](https://github.com/jaworldwideorg/OneJA-Bot/issues/8579) ([2eccbc7](https://github.com/jaworldwideorg/OneJA-Bot/commit/2eccbc7))

</details>

<div align="right">

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

</div>
2025-07-28 09:38:46 +00:00
Jamie Stivala 0169deb880 Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
#	changelog/v1.json
2025-07-28 11:23:19 +02:00
Jamie Stivala 0b39093e5a Merge branch 'feat/okta' 2025-07-24 13:39:13 +02:00
Jamie Stivala e9b66bdb3a Added Okta to SSO providers list 2025-07-24 13:38:52 +02:00
Jamie Stivala c0742491f4 Merge branch 'feat/okta' 2025-07-24 13:36:30 +02:00
Jamie Stivala 8a46d41d60 Reverted a micro-change which was changed during some testing (back to original) 2025-07-24 13:36:13 +02:00
Jamie Stivala 8f5b2eb141 Removed Okta references from auth envs (deprecated) 2025-07-24 13:28:55 +02:00
Jamie Stivala 77bea167b1 Merge branch 'feat/okta' 2025-07-24 13:26:46 +02:00
Jamie Stivala c57074d725 Removed Okta Test 2025-07-24 13:23:41 +02:00
Jamie Stivala cb6861ef04 Added Okta as SSO Provider 2025-07-24 13:12:01 +02:00
Jamie Stivala 5f367e1242 Removed deprecated env variables 2025-07-24 13:11:14 +02:00
Jamie Stivala 27917bcca5 Added documentation 2025-07-24 13:07:05 +02:00
lobehubbot 3f8b1dde09 📝 docs(bot): Auto sync agents & plugin to readme 2025-07-24 09:56:37 +00:00
semantic-release-bot 7189d8a81c 🔖 chore(release): v1.103.2 [skip ci]
### [Version&nbsp;1.103.2](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.103.1...v1.103.2)
<sup>Released on **2025-07-24**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix chat stream in desktop and update shortcut.

#### 💄 Styles

- **misc**: Add cached token count to usage of GoogleAI and VertexAI, fix desktop titlebar style in window, fix sub topic width in md responsive.

<br/>

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

#### What's fixed

* **misc**: Fix chat stream in desktop and update shortcut, closes [#8520](https://github.com/jaworldwideorg/OneJA-Bot/issues/8520) ([0192140](https://github.com/jaworldwideorg/OneJA-Bot/commit/0192140))

#### Styles

* **misc**: Add cached token count to usage of GoogleAI and VertexAI, closes [#8545](https://github.com/jaworldwideorg/OneJA-Bot/issues/8545) ([66dbb24](https://github.com/jaworldwideorg/OneJA-Bot/commit/66dbb24))
* **misc**: Fix desktop titlebar style in window, closes [#8439](https://github.com/jaworldwideorg/OneJA-Bot/issues/8439) ([fd7662c](https://github.com/jaworldwideorg/OneJA-Bot/commit/fd7662c))
* **misc**: Fix sub topic width in md responsive, closes [#8443](https://github.com/jaworldwideorg/OneJA-Bot/issues/8443) ([9bae13b](https://github.com/jaworldwideorg/OneJA-Bot/commit/9bae13b))

</details>

<div align="right">

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

</div>
2025-07-24 09:56:10 +00:00
Jamie Stivala 7767bbbedc Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
#	changelog/v1.json
2025-07-24 11:39:49 +02:00
semantic-release-bot a6127a9d82 🔖 chore(release): v1.101.0 [skip ci]
## [Version&nbsp;1.101.0](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.100.1...v1.101.0)
<sup>Released on **2025-07-23**</sup>

#### ♻ Code Refactoring

- **misc**: Add badge and improve document.

####  Features

- **misc**: Add image generation capabilities using Google AI Imagen API, add Qwen image generation capabilities.

#### 🐛 Bug Fixes

- **groq**: Enable streaming for tool calls and add Kimi K2 model.
- **misc**: Remove debug logging from ModelRuntime and async caller.

#### 💄 Styles

- **misc**: Add notification for desktop, fix lobehub provider `/chat` in desktop, modal list header sticky style, update i18n, Update tray icon.

<br/>

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

#### Code refactoring

* **misc**: Add badge and improve document, closes [#8528](https://github.com/jaworldwideorg/OneJA-Bot/issues/8528) ([9fb4b0d](https://github.com/jaworldwideorg/OneJA-Bot/commit/9fb4b0d))

#### What's improved

* **misc**: Add image generation capabilities using Google AI Imagen API, closes [#8503](https://github.com/jaworldwideorg/OneJA-Bot/issues/8503) ([cef8208](https://github.com/jaworldwideorg/OneJA-Bot/commit/cef8208))
* **misc**: Add Qwen image generation capabilities, closes [#8534](https://github.com/jaworldwideorg/OneJA-Bot/issues/8534) ([7e8e5ef](https://github.com/jaworldwideorg/OneJA-Bot/commit/7e8e5ef))

#### What's fixed

* **groq**: Enable streaming for tool calls and add Kimi K2 model, closes [#8510](https://github.com/jaworldwideorg/OneJA-Bot/issues/8510) ([60739bc](https://github.com/jaworldwideorg/OneJA-Bot/commit/60739bc))
* **misc**: Remove debug logging from ModelRuntime and async caller, closes [#8525](https://github.com/jaworldwideorg/OneJA-Bot/issues/8525) ([dd1a635](https://github.com/jaworldwideorg/OneJA-Bot/commit/dd1a635))

#### Styles

* **misc**: Add notification for desktop, closes [#8523](https://github.com/jaworldwideorg/OneJA-Bot/issues/8523) ([4917d17](https://github.com/jaworldwideorg/OneJA-Bot/commit/4917d17))
* **misc**: Fix lobehub provider `/chat` in desktop, closes [#8508](https://github.com/jaworldwideorg/OneJA-Bot/issues/8508) ([c801f9c](https://github.com/jaworldwideorg/OneJA-Bot/commit/c801f9c))
* **misc**: Modal list header sticky style, closes [#8514](https://github.com/jaworldwideorg/OneJA-Bot/issues/8514) ([75273d5](https://github.com/jaworldwideorg/OneJA-Bot/commit/75273d5))
* **misc**: Update i18n, closes [#8537](https://github.com/jaworldwideorg/OneJA-Bot/issues/8537) ([b16f19b](https://github.com/jaworldwideorg/OneJA-Bot/commit/b16f19b))
* **misc**: Update tray icon, closes [#8530](https://github.com/jaworldwideorg/OneJA-Bot/issues/8530) ([2696de4](https://github.com/jaworldwideorg/OneJA-Bot/commit/2696de4))

</details>

<div align="right">

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

</div>
2025-07-23 14:25:29 +00:00
GitHub Actions ca841b9fc8 Merge branch 'fix/dynamic-test' 2025-07-23 16:07:24 +02:00
GitHub Actions a506e60458 Merge remote-tracking branch 'origin/main' 2025-07-23 16:00:30 +02:00
GitHub Actions 8a1c21f216 Remove custom git sync script and .gitattributes, switch to using Fork-Sync-With-Upstream GitHub Action in workflow 2025-07-23 16:00:14 +02:00
GitHub Actions 06a1cc2adf Update plugin action tests to use DEFAULT_INBOX_AVATAR constant instead of hardcoded path 2025-07-23 15:53:25 +02:00
semantic-release-bot b5616f0581 🔖 chore(release): v1.101.0 [skip ci]
## [Version&nbsp;1.101.0](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.100.1...v1.101.0)
<sup>Released on **2025-07-23**</sup>

#### ♻ Code Refactoring

- **misc**: Add badge and improve document.

####  Features

- **misc**: Add image generation capabilities using Google AI Imagen API, add Qwen image generation capabilities.

#### 🐛 Bug Fixes

- **groq**: Enable streaming for tool calls and add Kimi K2 model.
- **misc**: Remove debug logging from ModelRuntime and async caller.

#### 💄 Styles

- **misc**: Add notification for desktop, fix lobehub provider `/chat` in desktop, modal list header sticky style, update i18n, Update tray icon.

<br/>

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

#### Code refactoring

* **misc**: Add badge and improve document, closes [#8528](https://github.com/jaworldwideorg/OneJA-Bot/issues/8528) ([9fb4b0d](https://github.com/jaworldwideorg/OneJA-Bot/commit/9fb4b0d))

#### What's improved

* **misc**: Add image generation capabilities using Google AI Imagen API, closes [#8503](https://github.com/jaworldwideorg/OneJA-Bot/issues/8503) ([cef8208](https://github.com/jaworldwideorg/OneJA-Bot/commit/cef8208))
* **misc**: Add Qwen image generation capabilities, closes [#8534](https://github.com/jaworldwideorg/OneJA-Bot/issues/8534) ([7e8e5ef](https://github.com/jaworldwideorg/OneJA-Bot/commit/7e8e5ef))

#### What's fixed

* **groq**: Enable streaming for tool calls and add Kimi K2 model, closes [#8510](https://github.com/jaworldwideorg/OneJA-Bot/issues/8510) ([60739bc](https://github.com/jaworldwideorg/OneJA-Bot/commit/60739bc))
* **misc**: Remove debug logging from ModelRuntime and async caller, closes [#8525](https://github.com/jaworldwideorg/OneJA-Bot/issues/8525) ([dd1a635](https://github.com/jaworldwideorg/OneJA-Bot/commit/dd1a635))

#### Styles

* **misc**: Add notification for desktop, closes [#8523](https://github.com/jaworldwideorg/OneJA-Bot/issues/8523) ([4917d17](https://github.com/jaworldwideorg/OneJA-Bot/commit/4917d17))
* **misc**: Fix lobehub provider `/chat` in desktop, closes [#8508](https://github.com/jaworldwideorg/OneJA-Bot/issues/8508) ([c801f9c](https://github.com/jaworldwideorg/OneJA-Bot/commit/c801f9c))
* **misc**: Modal list header sticky style, closes [#8514](https://github.com/jaworldwideorg/OneJA-Bot/issues/8514) ([75273d5](https://github.com/jaworldwideorg/OneJA-Bot/commit/75273d5))
* **misc**: Update i18n, closes [#8537](https://github.com/jaworldwideorg/OneJA-Bot/issues/8537) ([b16f19b](https://github.com/jaworldwideorg/OneJA-Bot/commit/b16f19b))
* **misc**: Update tray icon, closes [#8530](https://github.com/jaworldwideorg/OneJA-Bot/issues/8530) ([2696de4](https://github.com/jaworldwideorg/OneJA-Bot/commit/2696de4))

</details>

<div align="right">

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

</div>
2025-07-23 13:52:23 +00:00
GitHub Actions b39eaf2686 Merge branch 'fix/dynamic-test' 2025-07-23 15:37:17 +02:00
GitHub Actions 78176978cd Update tests to replace hardcoded avatar paths with constants for inbox and user avatars 2025-07-23 15:34:38 +02:00
semantic-release-bot a7bac06436 🔖 chore(release): v1.101.0 [skip ci]
## [Version&nbsp;1.101.0](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.100.1...v1.101.0)
<sup>Released on **2025-07-23**</sup>

#### ♻ Code Refactoring

- **misc**: Add badge and improve document.

####  Features

- **misc**: Add image generation capabilities using Google AI Imagen API, add Qwen image generation capabilities.

#### 🐛 Bug Fixes

- **groq**: Enable streaming for tool calls and add Kimi K2 model.
- **misc**: Remove debug logging from ModelRuntime and async caller.

#### 💄 Styles

- **misc**: Add notification for desktop, fix lobehub provider `/chat` in desktop, modal list header sticky style, update i18n, Update tray icon.

<br/>

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

#### Code refactoring

* **misc**: Add badge and improve document, closes [#8528](https://github.com/jaworldwideorg/OneJA-Bot/issues/8528) ([9fb4b0d](https://github.com/jaworldwideorg/OneJA-Bot/commit/9fb4b0d))

#### What's improved

* **misc**: Add image generation capabilities using Google AI Imagen API, closes [#8503](https://github.com/jaworldwideorg/OneJA-Bot/issues/8503) ([cef8208](https://github.com/jaworldwideorg/OneJA-Bot/commit/cef8208))
* **misc**: Add Qwen image generation capabilities, closes [#8534](https://github.com/jaworldwideorg/OneJA-Bot/issues/8534) ([7e8e5ef](https://github.com/jaworldwideorg/OneJA-Bot/commit/7e8e5ef))

#### What's fixed

* **groq**: Enable streaming for tool calls and add Kimi K2 model, closes [#8510](https://github.com/jaworldwideorg/OneJA-Bot/issues/8510) ([60739bc](https://github.com/jaworldwideorg/OneJA-Bot/commit/60739bc))
* **misc**: Remove debug logging from ModelRuntime and async caller, closes [#8525](https://github.com/jaworldwideorg/OneJA-Bot/issues/8525) ([dd1a635](https://github.com/jaworldwideorg/OneJA-Bot/commit/dd1a635))

#### Styles

* **misc**: Add notification for desktop, closes [#8523](https://github.com/jaworldwideorg/OneJA-Bot/issues/8523) ([4917d17](https://github.com/jaworldwideorg/OneJA-Bot/commit/4917d17))
* **misc**: Fix lobehub provider `/chat` in desktop, closes [#8508](https://github.com/jaworldwideorg/OneJA-Bot/issues/8508) ([c801f9c](https://github.com/jaworldwideorg/OneJA-Bot/commit/c801f9c))
* **misc**: Modal list header sticky style, closes [#8514](https://github.com/jaworldwideorg/OneJA-Bot/issues/8514) ([75273d5](https://github.com/jaworldwideorg/OneJA-Bot/commit/75273d5))
* **misc**: Update i18n, closes [#8537](https://github.com/jaworldwideorg/OneJA-Bot/issues/8537) ([b16f19b](https://github.com/jaworldwideorg/OneJA-Bot/commit/b16f19b))
* **misc**: Update tray icon, closes [#8530](https://github.com/jaworldwideorg/OneJA-Bot/issues/8530) ([2696de4](https://github.com/jaworldwideorg/OneJA-Bot/commit/2696de4))

</details>

<div align="right">

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

</div>
2025-07-23 13:08:53 +00:00
GitHub Actions bbc161db30 Merge branch 'fix/dynamic-test' 2025-07-23 14:53:06 +02:00
GitHub Actions 33f838a59b Update tests to use BRANDING_NAME constant instead of hardcoded 'LobeChat' and update avatar icon path in chat message tests 2025-07-23 14:52:14 +02:00
GitHub Actions e8a7edea76 Update test data for plugin action to use avatar icon path (rather than hard coded) 2025-07-23 14:40:50 +02:00
GitHub Actions e3766e94d0 Update dependencies, replace vi-canvas-mock with vitest-canvas-mock, and refine test assertions in knowledgeBase and aiProvider models. 2025-07-23 14:39:04 +02:00
GitHub Actions 76ff1f6da4 Add Okta support to auth config and tests 2025-07-23 14:29:56 +02:00
GitHub Actions 2f1f3a846e Remove unused schemas, tests, documentation, and references related to the deprecated meta-schema, ModelParamsSchema, and associated configurations. 2025-07-23 14:24:16 +02:00
GitHub Actions 0ffa190d2b Merge remote-tracking branch 'origin/main'
# Conflicts:
#	src/app/[variants]/(main)/image/@menu/components/SeedNumberInput/index.tsx
2025-07-23 14:15:40 +02:00
GitHub Actions 89253d1e5c Simplify SeedNumberInput by removing unused props (min, max, step). 2025-07-23 14:15:20 +02:00
GitHub Actions 21f997fc0e Merge upstream changes from lobehub/lobe-chat/main with automatic conflict resolution 2025-07-23 12:12:16 +00:00
GitHub Actions 883982754f Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	src/app/[variants]/(main)/image/@menu/components/SeedNumberInput/index.tsx
2025-07-23 14:11:55 +02:00
GitHub Actions 80b72bb2ee Merge upstream changes from lobehub/lobe-chat/main with automatic conflict resolution 2025-07-21 00:34:24 +00:00
lobehubbot 87ea15bba5 📝 docs(bot): Auto sync agents & plugin to readme 2025-07-20 18:23:10 +00:00
GitHub Actions 7c1b1cefed Merge upstream changes from lobehub/lobe-chat/main with automatic conflict resolution 2025-07-20 18:08:23 +00:00
lobehubbot 5b64c3be3c 📝 docs(bot): Auto sync agents & plugin to readme 2025-07-20 12:26:04 +00:00
GitHub Actions 7e391d8a57 Merge upstream changes from lobehub/lobe-chat/main with automatic conflict resolution 2025-07-20 12:10:56 +00:00
lobehubbot 1aa1484c25 📝 docs(bot): Auto sync agents & plugin to readme 2025-07-20 06:24:51 +00:00
GitHub Actions 8cb9e0d542 Merge upstream changes from lobehub/lobe-chat/main with automatic conflict resolution 2025-07-20 06:09:41 +00:00
lobehubbot ce9f766cde 📝 docs(bot): Auto sync agents & plugin to readme 2025-07-20 00:50:35 +00:00
GitHub Actions c250721b69 Merge upstream changes from lobehub/lobe-chat/main with automatic conflict resolution 2025-07-20 00:35:40 +00:00
lobehubbot 8c9b8b5f3c 📝 docs(bot): Auto sync agents & plugin to readme 2025-07-19 18:23:41 +00:00
semantic-release-bot cc77ca3ff7 🔖 chore(release): v1.100.1 [skip ci]
### [Version&nbsp;1.100.1](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.100.0...v1.100.1)
<sup>Released on **2025-07-19**</sup>

#### 🐛 Bug Fixes

- **misc**: Try fix authorization code exchange & pin next-auto to `beta.29`.

<br/>

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

#### What's fixed

* **misc**: Try fix authorization code exchange & pin next-auto to `beta.29`, closes [#8496](https://github.com/jaworldwideorg/OneJA-Bot/issues/8496) ([27c4881](https://github.com/jaworldwideorg/OneJA-Bot/commit/27c4881))

</details>

<div align="right">

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

</div>
2025-07-19 18:23:15 +00:00
GitHub Actions 098654742b Merge upstream changes from lobehub/lobe-chat/main with automatic conflict resolution 2025-07-19 18:08:18 +00:00
lobehubbot ffc21dc86e 📝 docs(bot): Auto sync agents & plugin to readme 2025-07-19 12:25:43 +00:00
GitHub Actions 262fcf2945 Merge upstream changes from lobehub/lobe-chat/main with automatic conflict resolution 2025-07-19 12:10:46 +00:00
lobehubbot 7cf5922a15 📝 docs(bot): Auto sync agents & plugin to readme 2025-07-19 06:24:22 +00:00
GitHub Actions 5bb2514e4f Merge upstream changes from lobehub/lobe-chat/main with automatic conflict resolution 2025-07-19 06:09:24 +00:00
lobehubbot 886cb69436 📝 docs(bot): Auto sync agents & plugin to readme 2025-07-19 00:46:29 +00:00
GitHub Actions 4596d2ce32 Merge upstream changes from lobehub/lobe-chat/main with automatic conflict resolution 2025-07-19 00:31:27 +00:00
lobehubbot 171fcd7a48 📝 docs(bot): Auto sync agents & plugin to readme 2025-07-18 18:24:57 +00:00
semantic-release-bot 5be34ff5ae 🔖 chore(release): v1.100.0 [skip ci]
## [Version&nbsp;1.100.0](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.99.2...v1.100.0)
<sup>Released on **2025-07-18**</sup>

####  Features

- **misc**: Add zhipu cogview4.

#### 🐛 Bug Fixes

- **misc**: Some ai image bugs.

<br/>

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

#### What's improved

* **misc**: Add zhipu cogview4, closes [#8486](https://github.com/jaworldwideorg/OneJA-Bot/issues/8486) ([0b1557d](https://github.com/jaworldwideorg/OneJA-Bot/commit/0b1557d))

#### What's fixed

* **misc**: Some ai image bugs, closes [#8490](https://github.com/jaworldwideorg/OneJA-Bot/issues/8490) ([5d852be](https://github.com/jaworldwideorg/OneJA-Bot/commit/5d852be))

</details>

<div align="right">

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

</div>
2025-07-18 18:24:30 +00:00
GitHub Actions 4c6630a6d8 Merge upstream changes from lobehub/lobe-chat/main with automatic conflict resolution 2025-07-18 18:09:09 +00:00
lobehubbot a6486d41f6 📝 docs(bot): Auto sync agents & plugin to readme 2025-07-18 12:27:34 +00:00
GitHub Actions abac12f89f Merge upstream changes from lobehub/lobe-chat/main with automatic conflict resolution 2025-07-18 12:12:31 +00:00
lobehubbot ea90b4cedb 📝 docs(bot): Auto sync agents & plugin to readme 2025-07-18 10:29:09 +00:00
semantic-release-bot d8d3e98e74 🔖 chore(release): v1.99.2 [skip ci]
### [Version&nbsp;1.99.2](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.99.1...v1.99.2)
<sup>Released on **2025-07-18**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix webapi proxy with clerk.

<br/>

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

#### What's fixed

* **misc**: Fix webapi proxy with clerk, closes [#8479](https://github.com/jaworldwideorg/OneJA-Bot/issues/8479) ([7dd65f0](https://github.com/jaworldwideorg/OneJA-Bot/commit/7dd65f0))

</details>

<div align="right">

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

</div>
2025-07-18 10:28:42 +00:00
GitHub Actions 5136e7a7ee Merge upstream changes from lobehub/lobe-chat/main with automatic conflict resolution 2025-07-18 10:13:16 +00:00
GitHub Actions 54ba981bd4 Enhance sync-upstream script with advanced conflict resolution and detailed logging:
- Implement `.gitattributes` parsing for dynamic merge strategies.
- Add functions for automatic conflict resolution based on merge strategies.
- Improve error handling and diagnostics for troubleshooting.
- Ensure cross-environment compatibility using portable shell commands.
2025-07-18 12:10:45 +02:00
GitHub Actions d774d39066 Merge upstream changes from lobehub/lobe-chat/main with automatic conflict resolution 2025-07-18 12:08:23 +02:00
Jamie Stivala 468a507d74 Improve sync-upstream script: fetch specific branch, handle unrelated histories, honor .gitattributes 2025-07-18 11:56:36 +02:00
Jamie Stivala cafbba3e25 Replace Fork-Sync-With-Upstream action with custom sync script [skip-ci] 2025-07-18 11:52:00 +02:00
Jamie Stivala 9da0e6bad8 Merge README.md and keep theirs [skip-ci] 2025-07-18 11:45:35 +02:00
semantic-release-bot 651a899c87 🔖 chore(release): v1.99.1 [skip ci]
### [Version&nbsp;1.99.1](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.99.0...v1.99.1)
<sup>Released on **2025-07-17**</sup>

#### 🐛 Bug Fixes

- **misc**: Use server env config image models.

<br/>

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

#### What's fixed

* **misc**: Use server env config image models, closes [#8478](https://github.com/jaworldwideorg/OneJA-Bot/issues/8478) ([768ee2b](https://github.com/jaworldwideorg/OneJA-Bot/commit/768ee2b))

</details>

<div align="right">

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

</div>
2025-07-17 19:27:28 +00:00
Jamie Stivala a31531fd91 Update sync.yml
On Sync finish, trigger release workflow
2025-07-17 21:12:03 +02:00
GH Action - Upstream Sync 75b084cee3 Merge branch 'main' of https://github.com/lobehub/lobe-chat 2025-07-17 19:09:38 +00:00
semantic-release-bot 02354c9eda 🔖 chore(release): v1.99.0 [skip ci]
## [Version&nbsp;1.99.0](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.98.1...v1.99.0)
<sup>Released on **2025-07-17**</sup>

####  Features

- **misc**: Refactor desktop oauth and use JWTs token to support remote chat.

#### 🐛 Bug Fixes

- **misc**: Desktop local db can't upload image, fix apikey issue on server log, fix page error when url is not defined in web search plugin.

<br/>

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

#### What's improved

* **misc**: Refactor desktop oauth and use JWTs token to support remote chat, closes [#8446](https://github.com/jaworldwideorg/OneJA-Bot/issues/8446) ([054ca5f](https://github.com/jaworldwideorg/OneJA-Bot/commit/054ca5f))

#### What's fixed

* **misc**: Desktop local db can't upload image, closes [#8459](https://github.com/jaworldwideorg/OneJA-Bot/issues/8459) ([25bfc80](https://github.com/jaworldwideorg/OneJA-Bot/commit/25bfc80))
* **misc**: Fix apikey issue on server log, closes [#8457](https://github.com/jaworldwideorg/OneJA-Bot/issues/8457) ([43be2d1](https://github.com/jaworldwideorg/OneJA-Bot/commit/43be2d1))
* **misc**: Fix page error when url is not defined in web search plugin, closes [#8441](https://github.com/jaworldwideorg/OneJA-Bot/issues/8441) ([a55b65b](https://github.com/jaworldwideorg/OneJA-Bot/commit/a55b65b))

</details>

<div align="right">

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

</div>
2025-07-17 10:17:28 +00:00
Jamie Stivala 8ecbbe7899 Configure Git merge strategies for changelog and package.json files in sync workflow 2025-07-17 12:02:11 +02:00
Jamie Stivala 9884510fa3 Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
#	changelog/v1.json
2025-07-17 11:55:05 +02:00
Jamie Stivala dff27b0ac0 Remove custom package.json merge handling from sync workflow
- Delete the `mergePackageJson.js` script and its associated tests.
- Simplify workflow by removing logic for backing up and restoring files.
- Streamline sync workflow inputs and steps for improved maintainability.
2025-07-17 11:54:57 +02:00
lobehubbot 6046d755ad 📝 docs(bot): Auto sync agents & plugin to readme 2025-07-16 12:26:34 +00:00
semantic-release-bot 17bf2990b0 🔖 chore(release): v1.98.1 [skip ci]
### [Version&nbsp;1.98.1](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.98.0...v1.98.1)
<sup>Released on **2025-07-16**</sup>

#### 🐛 Bug Fixes

- **misc**: Chat model list should not show image model, some ai image generation feedback issues.

<br/>

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

#### What's fixed

* **misc**: Chat model list should not show image model, closes [#8448](https://github.com/jaworldwideorg/OneJA-Bot/issues/8448) ([2bb1506](https://github.com/jaworldwideorg/OneJA-Bot/commit/2bb1506))
* **misc**: Some ai image generation feedback issues, closes [#8440](https://github.com/jaworldwideorg/OneJA-Bot/issues/8440) ([bc41329](https://github.com/jaworldwideorg/OneJA-Bot/commit/bc41329))

</details>

<div align="right">

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

</div>
2025-07-16 12:26:06 +00:00
Jamie Stivala a3c2cf5223 Add custom package.json merge handling during sync workflow
- Implement logic to back up `package.json` for special handling during sync.
- Introduce a script for merging `package.json` with custom dependencies preserved.
- Add tests to validate `package.json` merge logic.
2025-07-16 14:10:57 +02:00
Jamie Stivala 768b401ceb Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
2025-07-16 14:01:25 +02:00
lobehubbot d987b81f0c 📝 docs(bot): Auto sync agents & plugin to readme 2025-07-15 08:26:39 +00:00
semantic-release-bot d914b7cd00 🔖 chore(release): v1.98.0 [skip ci]
## [Version&nbsp;1.98.0](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.97.0...v1.98.0)
<sup>Released on **2025-07-15**</sup>

####  Features

- **plugin**: Support Streamable HTTP MCP Server Auth.
- **misc**:  support AI Image.

<br/>

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

#### What's improved

* **plugin**: Support Streamable HTTP MCP Server Auth, closes [#8425](https://github.com/jaworldwideorg/OneJA-Bot/issues/8425) ([853a09a](https://github.com/jaworldwideorg/OneJA-Bot/commit/853a09a))
* **misc**:  support AI Image, closes [#8312](https://github.com/jaworldwideorg/OneJA-Bot/issues/8312) ([095de57](https://github.com/jaworldwideorg/OneJA-Bot/commit/095de57))

</details>

<div align="right">

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

</div>
2025-07-15 08:26:14 +00:00
Jamie Stivala c37027c07f Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
2025-07-15 10:10:47 +02:00
semantic-release-bot a884dad265 🔖 chore(release): v1.97.0 [skip ci]
## [Version&nbsp;1.97.0](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.96.3...v1.97.0)
<sup>Released on **2025-07-14**</sup>

####  Features

- **misc**: Add network proxy for desktop.

#### 🐛 Bug Fixes

- **misc**: Add vision support to Grok 4, Revert "💄 style: Open new topic by tap Just Chat again".

#### 💄 Styles

- **misc**: Add Kimi K2 model, fix discover translation, Support Hunyuan A13B thinking model, Support new Doubao thinking models, update i18n, update i18n, update i18n.

<br/>

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

#### What's improved

* **misc**: Add network proxy for desktop, closes [#7848](https://github.com/jaworldwideorg/OneJA-Bot/issues/7848) ([46d2509](https://github.com/jaworldwideorg/OneJA-Bot/commit/46d2509))

#### What's fixed

* **misc**: Add vision support to Grok 4, closes [#8386](https://github.com/jaworldwideorg/OneJA-Bot/issues/8386) ([8512f5a](https://github.com/jaworldwideorg/OneJA-Bot/commit/8512f5a))
* **misc**: Revert "💄 style: Open new topic by tap Just Chat again", closes [#8402](https://github.com/jaworldwideorg/OneJA-Bot/issues/8402) ([55462b9](https://github.com/jaworldwideorg/OneJA-Bot/commit/55462b9))

#### Styles

* **misc**: Add Kimi K2 model, closes [#8401](https://github.com/jaworldwideorg/OneJA-Bot/issues/8401) ([4cb1a18](https://github.com/jaworldwideorg/OneJA-Bot/commit/4cb1a18))
* **misc**: Fix discover translation, closes [#8423](https://github.com/jaworldwideorg/OneJA-Bot/issues/8423) ([15ae35c](https://github.com/jaworldwideorg/OneJA-Bot/commit/15ae35c))
* **misc**: Support Hunyuan A13B thinking model, closes [#8278](https://github.com/jaworldwideorg/OneJA-Bot/issues/8278) ([09ca978](https://github.com/jaworldwideorg/OneJA-Bot/commit/09ca978))
* **misc**: Support new Doubao thinking models, closes [#8174](https://github.com/jaworldwideorg/OneJA-Bot/issues/8174) ([637d75c](https://github.com/jaworldwideorg/OneJA-Bot/commit/637d75c))
* **misc**: Update i18n, closes [#8422](https://github.com/jaworldwideorg/OneJA-Bot/issues/8422) ([5b89ec8](https://github.com/jaworldwideorg/OneJA-Bot/commit/5b89ec8))
* **misc**: Update i18n, closes [#8410](https://github.com/jaworldwideorg/OneJA-Bot/issues/8410) ([2515875](https://github.com/jaworldwideorg/OneJA-Bot/commit/2515875))
* **misc**: Update i18n, closes [#8400](https://github.com/jaworldwideorg/OneJA-Bot/issues/8400) ([790eeb8](https://github.com/jaworldwideorg/OneJA-Bot/commit/790eeb8))

</details>

<div align="right">

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

</div>
2025-07-14 14:34:04 +00:00
Jamie Stivala 53975efcab Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
#	changelog/v1.json
2025-07-14 10:31:52 +02:00
lobehubbot fbb92a667f 📝 docs(bot): Auto sync agents & plugin to readme 2025-07-11 09:09:37 +00:00
semantic-release-bot 5cf2e3c6fd 🔖 chore(release): v1.96.3 [skip ci]
### [Version&nbsp;1.96.3](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.96.2...v1.96.3)
<sup>Released on **2025-07-11**</sup>

#### 🐛 Bug Fixes

- **misc**: Grok-4 reasoning model universal matching.

#### 💄 Styles

- **misc**: Open new topic by tap Just Chat again, update i18n.

<br/>

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

#### What's fixed

* **misc**: Grok-4 reasoning model universal matching, closes [#8390](https://github.com/jaworldwideorg/OneJA-Bot/issues/8390) ([d6f17f8](https://github.com/jaworldwideorg/OneJA-Bot/commit/d6f17f8))

#### Styles

* **misc**: Open new topic by tap Just Chat again, closes [#8311](https://github.com/jaworldwideorg/OneJA-Bot/issues/8311) ([7e2f4ce](https://github.com/jaworldwideorg/OneJA-Bot/commit/7e2f4ce))
* **misc**: Update i18n, closes [#8387](https://github.com/jaworldwideorg/OneJA-Bot/issues/8387) ([00215c0](https://github.com/jaworldwideorg/OneJA-Bot/commit/00215c0))

</details>

<div align="right">

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

</div>
2025-07-11 09:09:11 +00:00
Jamie Stivala dcb29ab16c Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
2025-07-11 10:55:24 +02:00
lobehubbot 5604704d0a 📝 docs(bot): Auto sync agents & plugin to readme 2025-07-10 12:33:22 +00:00
semantic-release-bot 08949c5757 🔖 chore(release): v1.96.2 [skip ci]
### [Version&nbsp;1.96.2](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.96.1...v1.96.2)
<sup>Released on **2025-07-10**</sup>

#### ♻ Code Refactoring

- **misc**: Replace `utility-types` with `type-fest`.

#### 💄 Styles

- **misc**: Add google search grounding for Vertex AI, fix: solve the loading was strange spin when switch show, integrate Amazon Cognito for user authentication.

<br/>

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

#### Code refactoring

* **misc**: Replace `utility-types` with `type-fest`, closes [#8370](https://github.com/jaworldwideorg/OneJA-Bot/issues/8370) ([a072b53](https://github.com/jaworldwideorg/OneJA-Bot/commit/a072b53))

#### Styles

* **misc**: Add google search grounding for Vertex AI, closes [#8313](https://github.com/jaworldwideorg/OneJA-Bot/issues/8313) ([afd5900](https://github.com/jaworldwideorg/OneJA-Bot/commit/afd5900))
* **misc**: Fix: solve the loading was strange spin when switch show, closes [#8333](https://github.com/jaworldwideorg/OneJA-Bot/issues/8333) ([07197e7](https://github.com/jaworldwideorg/OneJA-Bot/commit/07197e7))
* **misc**: Integrate Amazon Cognito for user authentication, closes [#7472](https://github.com/jaworldwideorg/OneJA-Bot/issues/7472) ([56f4e98](https://github.com/jaworldwideorg/OneJA-Bot/commit/56f4e98))

</details>

<div align="right">

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

</div>
2025-07-10 12:32:53 +00:00
Jamie Stivala 23710714c1 Add Cognito as a new SSO provider to ssoProviders array 2025-07-10 14:18:51 +02:00
Jamie Stivala 41d1b45549 Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
#	src/libs/next-auth/sso-providers/index.ts
2025-07-10 14:18:13 +02:00
lobehubbot 7b9f36aba5 📝 docs(bot): Auto sync agents & plugin to readme 2025-07-10 08:50:04 +00:00
semantic-release-bot 8c44806b31 🔖 chore(release): v1.96.1 [skip ci]
### [Version&nbsp;1.96.1](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.96.0...v1.96.1)
<sup>Released on **2025-07-10**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix locale hydration error in SSR.

#### 💄 Styles

- **misc**: Add `grok-4-0709` model from xAI, fix theme issue in desktop, implement data analytics event tracking framework.

<br/>

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

#### What's fixed

* **misc**: Fix locale hydration error in SSR, closes [#8365](https://github.com/jaworldwideorg/OneJA-Bot/issues/8365) ([63f482a](https://github.com/jaworldwideorg/OneJA-Bot/commit/63f482a))

#### Styles

* **misc**: Add `grok-4-0709` model from xAI, closes [#8379](https://github.com/jaworldwideorg/OneJA-Bot/issues/8379) ([b7ca447](https://github.com/jaworldwideorg/OneJA-Bot/commit/b7ca447))
* **misc**: Fix theme issue in desktop, closes [#8380](https://github.com/jaworldwideorg/OneJA-Bot/issues/8380) ([c7ae78b](https://github.com/jaworldwideorg/OneJA-Bot/commit/c7ae78b))
* **misc**: Implement data analytics event tracking framework, closes [#8352](https://github.com/jaworldwideorg/OneJA-Bot/issues/8352) ([f433aca](https://github.com/jaworldwideorg/OneJA-Bot/commit/f433aca))

</details>

<div align="right">

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

</div>
2025-07-10 08:49:34 +00:00
Jamie Stivala 5dd6cf9bff Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
#	changelog/v1.json
2025-07-10 10:35:06 +02:00
GH Action - Upstream Sync bb4668038b Merge branch 'main' of https://github.com/lobehub/lobe-chat 2025-07-09 12:11:57 +00:00
GH Action - Upstream Sync ed0b98cc5b Merge branch 'main' of https://github.com/lobehub/lobe-chat 2025-07-09 06:10:11 +00:00
lobehubbot f57cb2f6f3 📝 docs(bot): Auto sync agents & plugin to readme 2025-07-08 12:52:37 +00:00
semantic-release-bot 297216961a 🔖 chore(release): v1.96.0 [skip ci]
## [Version&nbsp;1.96.0](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.95.2...v1.96.0)
<sup>Released on **2025-07-08**</sup>

####  Features

- **misc**: Add MCP marketplace and mcp plugin one-click installation in desktop.

#### 💄 Styles

- **misc**: Add `MCP_TOOL_TIMEOUT` env and improve debug usage guide.

<br/>

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

#### What's improved

* **misc**: Add MCP marketplace and mcp plugin one-click installation in desktop, closes [#8334](https://github.com/jaworldwideorg/OneJA-Bot/issues/8334) ([416a4b1](https://github.com/jaworldwideorg/OneJA-Bot/commit/416a4b1))

#### Styles

* **misc**: Add `MCP_TOOL_TIMEOUT` env and improve debug usage guide, closes [#8357](https://github.com/jaworldwideorg/OneJA-Bot/issues/8357) ([d4baae5](https://github.com/jaworldwideorg/OneJA-Bot/commit/d4baae5))

</details>

<div align="right">

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

</div>
2025-07-08 12:52:13 +00:00
Jamie Stivala fdc239c2c7 Merge remote-tracking branch 'origin/main' 2025-07-08 14:37:47 +02:00
Jamie Stivala 39809f92bb Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
#	changelog/v1.json
2025-07-08 14:37:38 +02:00
lobehubbot 650514421f 📝 docs(bot): Auto sync agents & plugin to readme 2025-07-07 09:44:24 +00:00
semantic-release-bot c980dd1c41 🔖 chore(release): v1.95.2 [skip ci]
### [Version&nbsp;1.95.2](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.95.1...v1.95.2)
<sup>Released on **2025-07-07**</sup>

#### 🐛 Bug Fixes

- **misc**: Change the wrong github checkmodel name, pin `officeparser@5.1.1` to fix server error.

#### 💄 Styles

- **misc**: Files hello pages should scroll.

<br/>

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

#### What's fixed

* **misc**: Change the wrong github checkmodel name, closes [#8339](https://github.com/jaworldwideorg/OneJA-Bot/issues/8339) ([f07d912](https://github.com/jaworldwideorg/OneJA-Bot/commit/f07d912))
* **misc**: Pin `officeparser@5.1.1` to fix server error, closes [#8354](https://github.com/jaworldwideorg/OneJA-Bot/issues/8354) ([3f4e935](https://github.com/jaworldwideorg/OneJA-Bot/commit/3f4e935))

#### Styles

* **misc**: Files hello pages should scroll, closes [#8340](https://github.com/jaworldwideorg/OneJA-Bot/issues/8340) ([df9b7df](https://github.com/jaworldwideorg/OneJA-Bot/commit/df9b7df))

</details>

<div align="right">

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

</div>
2025-07-07 09:43:59 +00:00
Jamie Stivala 06b2b76963 Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
#	changelog/v1.json
2025-07-07 11:29:58 +02:00
lobehubbot cd9f7848c1 📝 docs(bot): Auto sync agents & plugin to readme 2025-07-03 12:41:02 +00:00
semantic-release-bot c5dbde3912 🔖 chore(release): v1.95.1 [skip ci]
### [Version&nbsp;1.95.1](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.95.0...v1.95.1)
<sup>Released on **2025-07-03**</sup>

#### ♻ Code Refactoring

- **misc**: Migrate to `@google/genai` SDK for Google Gemini API and Vertex AI.

#### 🐛 Bug Fixes

- **mermaid**: Firefox mermaid show error.
- **misc**: Fix desktop chunk issue, pin `antd@5.26.2` to fix build error, Wrong Gemini 2.5 Pro thinkbudget.

#### 💄 Styles

- **misc**: Add DeepResearch models from OpenAI, update i18n, update i18n.

<br/>

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

#### Code refactoring

* **misc**: Migrate to `@google/genai` SDK for Google Gemini API and Vertex AI, closes [#7884](https://github.com/jaworldwideorg/OneJA-Bot/issues/7884) ([fef3e5f](https://github.com/jaworldwideorg/OneJA-Bot/commit/fef3e5f))

#### What's fixed

* **mermaid**: Firefox mermaid show error, closes [#8270](https://github.com/jaworldwideorg/OneJA-Bot/issues/8270) ([d9c5e7b](https://github.com/jaworldwideorg/OneJA-Bot/commit/d9c5e7b))
* **misc**: Fix desktop chunk issue, closes [#8280](https://github.com/jaworldwideorg/OneJA-Bot/issues/8280) ([c193e65](https://github.com/jaworldwideorg/OneJA-Bot/commit/c193e65))
* **misc**: Pin `antd@5.26.2` to fix build error, closes [#8303](https://github.com/jaworldwideorg/OneJA-Bot/issues/8303) ([44b6b01](https://github.com/jaworldwideorg/OneJA-Bot/commit/44b6b01))
* **misc**: Wrong Gemini 2.5 Pro thinkbudget, closes [#8296](https://github.com/jaworldwideorg/OneJA-Bot/issues/8296) ([18920c5](https://github.com/jaworldwideorg/OneJA-Bot/commit/18920c5))

#### Styles

* **misc**: Add DeepResearch models from OpenAI, closes [#8291](https://github.com/jaworldwideorg/OneJA-Bot/issues/8291) ([87a5cbc](https://github.com/jaworldwideorg/OneJA-Bot/commit/87a5cbc))
* **misc**: Update i18n, closes [#8322](https://github.com/jaworldwideorg/OneJA-Bot/issues/8322) ([0c6b885](https://github.com/jaworldwideorg/OneJA-Bot/commit/0c6b885))
* **misc**: Update i18n, closes [#8306](https://github.com/jaworldwideorg/OneJA-Bot/issues/8306) ([80aad1d](https://github.com/jaworldwideorg/OneJA-Bot/commit/80aad1d))

</details>

<div align="right">

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

</div>
2025-07-03 12:40:36 +00:00
Jamie Stivala 786331d3f4 Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
2025-07-03 14:25:28 +02:00
Jamie Stivala 378dceefa4 Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
2025-06-30 11:21:04 +02:00
lobehubbot 809a60d90c 📝 docs(bot): Auto sync agents & plugin to readme 2025-06-25 11:50:43 +00:00
semantic-release-bot 24f47f83f9 🔖 chore(release): v1.95.0 [skip ci]
## [Version&nbsp;1.95.0](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.94.5...v1.95.0)
<sup>Released on **2025-06-25**</sup>

####  Features

- **misc**: Add Brave & Google PSE & Kagi as build-in Search Provider, add v0 (Vercel) provider support.

#### 🐛 Bug Fixes

- **misc**: Fix `MiniMax-M1` reasoning tag missing, fix inputTemplate behavior, Google Gemini tools declarations, Remove unsupported parameters of Hunyuan.

#### 💄 Styles

- **openrouter**: Add stable versions of Gemini 2.5 models.
- **misc**: Add `blockAds` & `stealth` params for Browserless, Optimized Gemini thinkingBudget configuration, update i18n, update i18n.

<br/>

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

#### What's improved

* **misc**: Add Brave & Google PSE & Kagi as build-in Search Provider, closes [#8172](https://github.com/jaworldwideorg/OneJA-Bot/issues/8172) ([16ae521](https://github.com/jaworldwideorg/OneJA-Bot/commit/16ae521))
* **misc**: Add v0 (Vercel) provider support, closes [#8235](https://github.com/jaworldwideorg/OneJA-Bot/issues/8235) ([5842a18](https://github.com/jaworldwideorg/OneJA-Bot/commit/5842a18))

#### What's fixed

* **misc**: Fix `MiniMax-M1` reasoning tag missing, closes [#8240](https://github.com/jaworldwideorg/OneJA-Bot/issues/8240) ([ea76c11](https://github.com/jaworldwideorg/OneJA-Bot/commit/ea76c11))
* **misc**: Fix inputTemplate behavior, closes [#8204](https://github.com/jaworldwideorg/OneJA-Bot/issues/8204) ([61c2c3c](https://github.com/jaworldwideorg/OneJA-Bot/commit/61c2c3c))
* **misc**: Google Gemini tools declarations, closes [#8256](https://github.com/jaworldwideorg/OneJA-Bot/issues/8256) ([08f5d73](https://github.com/jaworldwideorg/OneJA-Bot/commit/08f5d73))
* **misc**: Remove unsupported parameters of Hunyuan, closes [#8247](https://github.com/jaworldwideorg/OneJA-Bot/issues/8247) ([826d724](https://github.com/jaworldwideorg/OneJA-Bot/commit/826d724))

#### Styles

* **openrouter**: Add stable versions of Gemini 2.5 models, closes [#8239](https://github.com/jaworldwideorg/OneJA-Bot/issues/8239) ([d34ecab](https://github.com/jaworldwideorg/OneJA-Bot/commit/d34ecab))
* **misc**: Add `blockAds` & `stealth` params for Browserless, closes [#8255](https://github.com/jaworldwideorg/OneJA-Bot/issues/8255) ([2ff3efa](https://github.com/jaworldwideorg/OneJA-Bot/commit/2ff3efa))
* **misc**: Optimized Gemini thinkingBudget configuration, closes [#8224](https://github.com/jaworldwideorg/OneJA-Bot/issues/8224) ([03625e8](https://github.com/jaworldwideorg/OneJA-Bot/commit/03625e8))
* **misc**: Update i18n, closes [#8253](https://github.com/jaworldwideorg/OneJA-Bot/issues/8253) ([b86dc9b](https://github.com/jaworldwideorg/OneJA-Bot/commit/b86dc9b))
* **misc**: Update i18n, closes [#8242](https://github.com/jaworldwideorg/OneJA-Bot/issues/8242) ([2d1babc](https://github.com/jaworldwideorg/OneJA-Bot/commit/2d1babc))

</details>

<div align="right">

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

</div>
2025-06-25 11:50:11 +00:00
Jamie Stivala c3d386691a Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
#	README.zh-CN.md
#	changelog/v1.json
#	src/app/[variants]/(auth)/next-auth/signin/AuthSignInBox.tsx
2025-06-25 13:34:22 +02:00
lobehubbot 139323ffc1 📝 docs(bot): Auto sync agents & plugin to readme 2025-06-20 10:45:55 +00:00
semantic-release-bot c9019f23bf 🔖 chore(release): v1.94.5 [skip ci]
### [Version&nbsp;1.94.5](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.94.4...v1.94.5)
<sup>Released on **2025-06-20**</sup>

#### 🐛 Bug Fixes

- **misc**: Correctly pass `reasoning.summary`.

#### 💄 Styles

- **misc**: Add MiniMax-M1 model, Update Gemini 2.5 Pro, Flash GA models. Add Gemini 2.5 Flash-Lite Preview model, update i18n, update i18n, update model card for Gemini 2.5 Pro via OpenRouter.

<br/>

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

#### What's fixed

* **misc**: Correctly pass `reasoning.summary`, closes [#8221](https://github.com/jaworldwideorg/OneJA-Bot/issues/8221) ([da79815](https://github.com/jaworldwideorg/OneJA-Bot/commit/da79815))

#### Styles

* **misc**: Add MiniMax-M1 model, closes [#8209](https://github.com/jaworldwideorg/OneJA-Bot/issues/8209) ([41a0178](https://github.com/jaworldwideorg/OneJA-Bot/commit/41a0178))
* **misc**: Update Gemini 2.5 Pro, Flash GA models. Add Gemini 2.5 Flash-Lite Preview model, closes [#8213](https://github.com/jaworldwideorg/OneJA-Bot/issues/8213) ([39ef8be](https://github.com/jaworldwideorg/OneJA-Bot/commit/39ef8be))
* **misc**: Update i18n, closes [#8233](https://github.com/jaworldwideorg/OneJA-Bot/issues/8233) ([88c4362](https://github.com/jaworldwideorg/OneJA-Bot/commit/88c4362))
* **misc**: Update i18n, closes [#8225](https://github.com/jaworldwideorg/OneJA-Bot/issues/8225) ([53e1784](https://github.com/jaworldwideorg/OneJA-Bot/commit/53e1784))
* **misc**: Update model card for Gemini 2.5 Pro via OpenRouter, closes [#8129](https://github.com/jaworldwideorg/OneJA-Bot/issues/8129) ([c96d9ef](https://github.com/jaworldwideorg/OneJA-Bot/commit/c96d9ef))

</details>

<div align="right">

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

</div>
2025-06-20 10:45:30 +00:00
Jamie Stivala 8cf8c418bc Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
#	README.zh-CN.md
#	changelog/v1.json
2025-06-20 18:30:42 +08:00
semantic-release-bot 51ba55dfb4 🔖 chore(release): v1.94.4 [skip ci]
### [Version&nbsp;1.94.4](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.94.3...v1.94.4)
<sup>Released on **2025-06-18**</sup>

#### 🐛 Bug Fixes

- **misc**: Enhance the multi-display window opening experience.

<br/>

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

#### What's fixed

* **misc**: Enhance the multi-display window opening experience, closes [#8176](https://github.com/jaworldwideorg/OneJA-Bot/issues/8176) ([b132e66](https://github.com/jaworldwideorg/OneJA-Bot/commit/b132e66))

</details>

<div align="right">

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

</div>
2025-06-18 09:25:52 +00:00
Jamie Stivala 0db1f753a0 Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
#	changelog/v1.json
2025-06-18 16:50:32 +08:00
semantic-release-bot 624ab716e6 🔖 chore(release): v1.94.3 [skip ci]
### [Version&nbsp;1.94.3](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.94.2...v1.94.3)
<sup>Released on **2025-06-16**</sup>

#### 🐛 Bug Fixes

- **misc**: Correctly handle `reasoning_effort`, improve chat selectors and enhance topic handling logic.

#### 💄 Styles

- **misc**: Add `kimi-thinking-preview` model from Moonshot.

<br/>

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

#### What's fixed

* **misc**: Correctly handle `reasoning_effort`, closes [#8180](https://github.com/jaworldwideorg/OneJA-Bot/issues/8180) ([1c04736](https://github.com/jaworldwideorg/OneJA-Bot/commit/1c04736))
* **misc**: Improve chat selectors and enhance topic handling logic, closes [#8133](https://github.com/jaworldwideorg/OneJA-Bot/issues/8133) [#8117](https://github.com/jaworldwideorg/OneJA-Bot/issues/8117) ([15b24f1](https://github.com/jaworldwideorg/OneJA-Bot/commit/15b24f1))

#### Styles

* **misc**: Add `kimi-thinking-preview` model from Moonshot, closes [#8171](https://github.com/jaworldwideorg/OneJA-Bot/issues/8171) ([93d677c](https://github.com/jaworldwideorg/OneJA-Bot/commit/93d677c))

</details>

<div align="right">

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

</div>
2025-06-16 10:32:37 +00:00
Jamie Stivala e148fd9c97 Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
#	changelog/v1.json
2025-06-16 18:17:32 +08:00
semantic-release-bot b652a8fb0a 🔖 chore(release): v1.94.2 [skip ci]
### [Version&nbsp;1.94.2](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.94.1...v1.94.2)
<sup>Released on **2025-06-13**</sup>

#### 🐛 Bug Fixes

- **misc**: Abort the Gemini request correctly & Add openai o3-pro.

#### 💄 Styles

- **misc**: Add Doubao Seed 1.6 model.

<br/>

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

#### What's fixed

* **misc**: Abort the Gemini request correctly & Add openai o3-pro, closes [#8135](https://github.com/jaworldwideorg/OneJA-Bot/issues/8135) ([c79f1b9](https://github.com/jaworldwideorg/OneJA-Bot/commit/c79f1b9))

#### Styles

* **misc**: Add Doubao Seed 1.6 model, closes [#8167](https://github.com/jaworldwideorg/OneJA-Bot/issues/8167) ([bdfa44b](https://github.com/jaworldwideorg/OneJA-Bot/commit/bdfa44b))

</details>

<div align="right">

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

</div>
2025-06-13 01:20:57 +00:00
Jamie Stivala 62dd97b688 Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
#	changelog/v1.json
2025-06-13 08:57:20 +08:00
lobehubbot 6481f0bb7a 📝 docs(bot): Auto sync agents & plugin to readme 2025-06-12 14:06:53 +00:00
semantic-release-bot 0e39773557 🔖 chore(release): v1.94.1 [skip ci]
### [Version&nbsp;1.94.1](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.94.0...v1.94.1)
<sup>Released on **2025-06-12**</sup>

#### 🐛 Bug Fixes

- **chat**: Improve response animation merging logic.
- **misc**: Update Gemini range of thinkingBudget.

#### 💄 Styles

- **ModelSelect**: Improve mobile layout and text overflow handling.
- **misc**: Support `web_search_preview` & fix some bug form OpenAI Response API, Transition animation switch, update pplx abilities tags, support `vision`.

<br/>

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

#### What's fixed

* **chat**: Improve response animation merging logic, closes [#8160](https://github.com/jaworldwideorg/OneJA-Bot/issues/8160) ([9d81cdc](https://github.com/jaworldwideorg/OneJA-Bot/commit/9d81cdc))
* **misc**: Update Gemini range of thinkingBudget, closes [#8122](https://github.com/jaworldwideorg/OneJA-Bot/issues/8122) ([7331e8a](https://github.com/jaworldwideorg/OneJA-Bot/commit/7331e8a))

#### Styles

* **ModelSelect**: Improve mobile layout and text overflow handling, closes [#8118](https://github.com/jaworldwideorg/OneJA-Bot/issues/8118) ([d97aa49](https://github.com/jaworldwideorg/OneJA-Bot/commit/d97aa49))
* **misc**: Support `web_search_preview` & fix some bug form OpenAI Response API, closes [#8131](https://github.com/jaworldwideorg/OneJA-Bot/issues/8131) ([b2983f0](https://github.com/jaworldwideorg/OneJA-Bot/commit/b2983f0))
* **misc**: Transition animation switch, closes [#7981](https://github.com/jaworldwideorg/OneJA-Bot/issues/7981) ([dd4ab3f](https://github.com/jaworldwideorg/OneJA-Bot/commit/dd4ab3f))
* **misc**: Update pplx abilities tags, support `vision`, closes [#8119](https://github.com/jaworldwideorg/OneJA-Bot/issues/8119) ([5c2e5f7](https://github.com/jaworldwideorg/OneJA-Bot/commit/5c2e5f7))

</details>

<div align="right">

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

</div>
2025-06-12 14:06:25 +00:00
Jamie Stivala e58affe613 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	CHANGELOG.md
#	changelog/v1.json
2025-06-12 21:41:47 +08:00
Jamie Stivala 0797fac217 Merge remote-tracking branch 'upstream/main' 2025-06-12 21:41:08 +08:00
lobehubbot adbd822851 📝 docs(bot): Auto sync agents & plugin to readme 2025-06-10 12:27:22 +00:00
semantic-release-bot a31f6167bb 🔖 chore(release): v1.94.0 [skip ci]
## [Version&nbsp;1.94.0](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.93.2...v1.94.0)
<sup>Released on **2025-06-10**</sup>

####  Features

- **misc**: Support google sso as auth provider.

<br/>

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

#### What's improved

* **misc**: Support google sso as auth provider, closes [#8074](https://github.com/jaworldwideorg/OneJA-Bot/issues/8074) ([43ab03a](https://github.com/jaworldwideorg/OneJA-Bot/commit/43ab03a))

</details>

<div align="right">

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

</div>
2025-06-10 12:27:02 +00:00
Jamie Stivala 6ce07b21be Add Okta as a new SSO provider to ssoProviders array 2025-06-10 20:12:25 +08:00
Jamie Stivala 908b4be918 Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
#	changelog/v1.json
#	src/libs/next-auth/sso-providers/index.ts
2025-06-10 20:10:53 +08:00
Jamie Stivala 50c7570440 Auto-redirect the user to the SSO Provider login page if one provider 2025-06-10 19:58:01 +08:00
lobehubbot a021d0ee0e 📝 docs(bot): Auto sync agents & plugin to readme 2025-06-10 08:45:53 +00:00
semantic-release-bot 72925ecd0c 🔖 chore(release): v1.93.2 [skip ci]
### [Version&nbsp;1.93.2](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.93.1...v1.93.2)
<sup>Released on **2025-06-10**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor `<think>` & `</think>` handling, refactor branding info.

#### 🐛 Bug Fixes

- **misc**: Restore reasoningEffort in setting.

<br/>

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

#### Code refactoring

* **misc**: Refactor `<think>` & `</think>` handling, closes [#8121](https://github.com/jaworldwideorg/OneJA-Bot/issues/8121) ([04ac353](https://github.com/jaworldwideorg/OneJA-Bot/commit/04ac353))
* **misc**: Refactor branding info, closes [#8134](https://github.com/jaworldwideorg/OneJA-Bot/issues/8134) ([3baa966](https://github.com/jaworldwideorg/OneJA-Bot/commit/3baa966))

#### What's fixed

* **misc**: Restore reasoningEffort in setting, closes [#8123](https://github.com/jaworldwideorg/OneJA-Bot/issues/8123) ([3be609c](https://github.com/jaworldwideorg/OneJA-Bot/commit/3be609c))

</details>

<div align="right">

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

</div>
2025-06-10 08:45:32 +00:00
Jamie Stivala 0633286211 Updated branding 2025-06-10 16:30:53 +08:00
Jamie Stivala e93d27b14d Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
#	changelog/v1.json
2025-06-10 16:26:01 +08:00
Jamie Stivala e7c0372191 Removed unused LobeChat import from AuthSignInBox.tsx. 2025-06-09 17:57:25 +08:00
lobehubbot 45eae70926 📝 docs(bot): Auto sync agents & plugin to readme 2025-06-09 08:45:54 +00:00
semantic-release-bot 7cec77ae2c 🔖 chore(release): v1.92.0 [skip ci]
## [Version&nbsp;1.92.0](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.91.3...v1.92.0)
<sup>Released on **2025-06-09**</sup>

####  Features

- **misc**: Support OpenAI Responses API mode, support placeholder variables in prompts and input.

#### 🐛 Bug Fixes

- **misc**: Fix client s3 getObject throw error, fix openai default Responses API issue.

#### 💄 Styles

- **ModelSelect**: Add responsive layout for mobile devices.
- **misc**: Add support to azureopenai embedding, improve `{{username}}` placeholder variable, Support OpenRouter Claude 4 reasoning, Update Gemini & Qwen models.

<br/>

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

#### What's improved

* **misc**: Support OpenAI Responses API mode, closes [#8048](https://github.com/jaworldwideorg/OneJA-Bot/issues/8048) ([5bf0921](https://github.com/jaworldwideorg/OneJA-Bot/commit/5bf0921))
* **misc**: Support placeholder variables in prompts and input, closes [#8060](https://github.com/jaworldwideorg/OneJA-Bot/issues/8060) ([3752739](https://github.com/jaworldwideorg/OneJA-Bot/commit/3752739))

#### What's fixed

* **misc**: Fix client s3 getObject throw error, closes [#8009](https://github.com/jaworldwideorg/OneJA-Bot/issues/8009) ([b91ca8c](https://github.com/jaworldwideorg/OneJA-Bot/commit/b91ca8c))
* **misc**: Fix openai default Responses API issue, closes [#8124](https://github.com/jaworldwideorg/OneJA-Bot/issues/8124) ([7f6ccf2](https://github.com/jaworldwideorg/OneJA-Bot/commit/7f6ccf2))

#### Styles

* **ModelSelect**: Add responsive layout for mobile devices, closes [#7960](https://github.com/jaworldwideorg/OneJA-Bot/issues/7960) ([cb84c3e](https://github.com/jaworldwideorg/OneJA-Bot/commit/cb84c3e))
* **misc**: Add support to azureopenai embedding, closes [#8075](https://github.com/jaworldwideorg/OneJA-Bot/issues/8075) ([0725f94](https://github.com/jaworldwideorg/OneJA-Bot/commit/0725f94))
* **misc**: Improve `{{username}}` placeholder variable, closes [#8100](https://github.com/jaworldwideorg/OneJA-Bot/issues/8100) ([95fd588](https://github.com/jaworldwideorg/OneJA-Bot/commit/95fd588))
* **misc**: Support OpenRouter Claude 4 reasoning, closes [#8087](https://github.com/jaworldwideorg/OneJA-Bot/issues/8087) ([039be1d](https://github.com/jaworldwideorg/OneJA-Bot/commit/039be1d))
* **misc**: Update Gemini & Qwen models, closes [#8083](https://github.com/jaworldwideorg/OneJA-Bot/issues/8083) ([6308237](https://github.com/jaworldwideorg/OneJA-Bot/commit/6308237))

</details>

<div align="right">

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

</div>
2025-06-09 08:45:27 +00:00
Jamie Stivala f7ef381bbb Replaced hardcoded username with dynamic branding constant in auth selectors test. 2025-06-09 16:30:44 +08:00
Jamie Stivala 19edff11d7 Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
#	README.md
#	README.zh-CN.md
#	changelog/v1.json
2025-06-09 16:10:32 +08:00
Jamie Stivala 7cbea6da8a Merge remote-tracking branch 'origin/main' 2025-06-09 16:10:18 +08:00
semantic-release-bot 65259e566c 🔖 chore(release): v1.91.3 [skip ci]
### [Version&nbsp;1.91.3](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.91.2...v1.91.3)
<sup>Released on **2025-06-06**</sup>

#### 🐛 Bug Fixes

- **misc**: Some web search bugs.

#### 💄 Styles

- **misc**: Support Vertex AI thought summaries.

<br/>

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

#### What's fixed

* **misc**: Some web search bugs, closes [#8068](https://github.com/jaworldwideorg/OneJA-Bot/issues/8068) ([bebe7a3](https://github.com/jaworldwideorg/OneJA-Bot/commit/bebe7a3))

#### Styles

* **misc**: Support Vertex AI thought summaries, closes [#8090](https://github.com/jaworldwideorg/OneJA-Bot/issues/8090) ([1355a2e](https://github.com/jaworldwideorg/OneJA-Bot/commit/1355a2e))

</details>

<div align="right">

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

</div>
2025-06-06 12:25:30 +00:00
GH Action - Upstream Sync 09592304f8 Merge branch 'main' of https://github.com/lobehub/lobe-chat 2025-06-06 12:11:19 +00:00
Jamie Stivala 19ab3fef16 Replaced static branding elements with dynamic values sourced from constants. 2025-06-06 18:51:34 +08:00
Jamie Stivala 4884f26ec5 Merge remote-tracking branch 'origin/main' 2025-06-06 18:26:27 +08:00
Jamie Stivala b07803d6a8 Fixed the issue with auto login being looped 2025-06-06 18:26:16 +08:00
lobehubbot 3925d15fa2 📝 docs(bot): Auto sync agents & plugin to readme 2025-06-06 08:56:01 +00:00
semantic-release-bot 010280afdd 🔖 chore(release): v1.91.2 [skip ci]
### [Version&nbsp;1.91.2](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.91.1...v1.91.2)
<sup>Released on **2025-06-06**</sup>

#### 🐛 Bug Fixes

- **misc**: Correct deepseek R1 fc support display.

#### 💄 Styles

- **misc**: Add openAI websearch and claude 4 to modelproviders.

<br/>

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

#### What's fixed

* **misc**: Correct deepseek R1 fc support display, closes [#8069](https://github.com/jaworldwideorg/OneJA-Bot/issues/8069) ([ed5bb5f](https://github.com/jaworldwideorg/OneJA-Bot/commit/ed5bb5f))

#### Styles

* **misc**: Add openAI websearch and claude 4 to modelproviders, closes [#7988](https://github.com/jaworldwideorg/OneJA-Bot/issues/7988) ([95994f4](https://github.com/jaworldwideorg/OneJA-Bot/commit/95994f4))

</details>

<div align="right">

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

</div>
2025-06-06 08:55:42 +00:00
Jamie Stivala f2e79fe809 Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
#	changelog/v1.json
2025-06-06 16:38:37 +08:00
lobehubbot cde421edc7 📝 docs(bot): Auto sync agents & plugin to readme 2025-06-05 12:26:00 +00:00
semantic-release-bot f1ac9bf38c 🔖 chore(release): v1.91.1 [skip ci]
### [Version&nbsp;1.91.1](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.91.0...v1.91.1)
<sup>Released on **2025-06-05**</sup>

#### 💄 Styles

- **misc**: Add Volcengine & OpenAI-like Provider (e.g. oneapi) model fetch support, improve loading state.

<br/>

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

#### Styles

* **misc**: Add Volcengine & OpenAI-like Provider (e.g. oneapi) model fetch support, closes [#8064](https://github.com/jaworldwideorg/OneJA-Bot/issues/8064) ([d3dafe1](https://github.com/jaworldwideorg/OneJA-Bot/commit/d3dafe1))
* **misc**: Improve loading state, closes [#8072](https://github.com/jaworldwideorg/OneJA-Bot/issues/8072) ([f0a7193](https://github.com/jaworldwideorg/OneJA-Bot/commit/f0a7193))

</details>

<div align="right">

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

</div>
2025-06-05 12:25:41 +00:00
GH Action - Upstream Sync 8ae66242b5 Merge branch 'main' of https://github.com/lobehub/lobe-chat 2025-06-05 12:11:48 +00:00
GH Action - Upstream Sync b9c489a115 Merge branch 'main' of https://github.com/lobehub/lobe-chat 2025-06-05 06:09:48 +00:00
GH Action - Upstream Sync 62f83a6230 Merge branch 'main' of https://github.com/lobehub/lobe-chat 2025-06-04 18:09:01 +00:00
lobehubbot abcc820239 📝 docs(bot): Auto sync agents & plugin to readme 2025-06-04 14:46:31 +00:00
Jamie Stivala 17f56df3cf Auto-triggered sign-in for single SSO provider using useLayoutEffect instead of useEffect. 2025-06-04 22:31:55 +08:00
Jamie Stivala 66c6e506dc Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
#	changelog/v1.json
2025-06-04 21:52:33 +08:00
Jamie Stivala 9ad33bdc6e Added searxng-settings.yml for development environment in Docker Compose configuration. 2025-06-03 22:49:12 +08:00
Jamie Stivala 86bac0654c Removed auto-triggered sign-in behavior for single SSO provider. 2025-06-03 22:47:55 +08:00
lobehubbot a4281e53ef 📝 docs(bot): Auto sync agents & plugin to readme 2025-06-03 14:07:58 +00:00
semantic-release-bot a9ed1a634d 🔖 chore(release): v1.89.0 [skip ci]
## [Version&nbsp;1.89.0](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.88.0...v1.89.0)
<sup>Released on **2025-06-03**</sup>

#### ♻ Code Refactoring

- **misc**: Rename the createOpenAICompatibleRuntime.

####  Features

- **misc**: Add more provider support for search & crawl.

#### 🐛 Bug Fixes

- **misc**: Update the clerk middleware to support route protection.

#### 💄 Styles

- **misc**: Update modelscope models.

<br/>

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

#### Code refactoring

* **misc**: Rename the createOpenAICompatibleRuntime, closes [#8049](https://github.com/jaworldwideorg/OneJA-Bot/issues/8049) ([ee660d6](https://github.com/jaworldwideorg/OneJA-Bot/commit/ee660d6))

#### What's improved

* **misc**: Add more provider support for search & crawl, closes [#8033](https://github.com/jaworldwideorg/OneJA-Bot/issues/8033) ([23fade3](https://github.com/jaworldwideorg/OneJA-Bot/commit/23fade3))

#### What's fixed

* **misc**: Update the clerk middleware to support route protection, closes [#8044](https://github.com/jaworldwideorg/OneJA-Bot/issues/8044) ([309f973](https://github.com/jaworldwideorg/OneJA-Bot/commit/309f973))

#### Styles

* **misc**: Update modelscope models, closes [#8057](https://github.com/jaworldwideorg/OneJA-Bot/issues/8057) ([3e02c25](https://github.com/jaworldwideorg/OneJA-Bot/commit/3e02c25))

</details>

<div align="right">

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

</div>
2025-06-03 14:07:37 +00:00
Jamie Stivala 16dcf8edcd Merge remote-tracking branch 'upstream/main' 2025-06-03 21:53:03 +08:00
Jamie Stivala 8aeb49fd2d Updated vitest-canvas-mock to vi-canvas-mock in package.json. 2025-06-03 21:52:30 +08:00
Jamie Stivala 946cd085ac Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
#	changelog/v1.json
#	package.json
2025-06-03 21:36:25 +08:00
Jamie Stivala 6ba03bf8c3 Auto-triggered sign-in for single SSO provider using useEffect. 2025-06-03 21:35:08 +08:00
lobehubbot 9e532232d7 📝 docs(bot): Auto sync agents & plugin to readme 2025-06-02 09:57:17 +00:00
semantic-release-bot e76ade32e3 🔖 chore(release): v1.88.0 [skip ci]
## [Version&nbsp;1.88.0](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.87.2...v1.88.0)
<sup>Released on **2025-06-02**</sup>

####  Features

- **misc**:  Support ModelScope Provider, support protect page.

#### 🐛 Bug Fixes

- **misc**: Agent automatic completion meta not working error, disable LaTeX and Mermaid rendering in SystemRoleContent to prevent lag caused by massive rendering tasks when switching topics, fix DeepSeek new R1 Search error.

#### 💄 Styles

- **misc**:  `+` in the welcome message can be clicked to create an assistant, Enable deploymentName for Aliyun Bailian, Enhanced reasoning_effort Slider Component, support `web_search` tool for MiniMax & Zhipu, support 01.ai proxy url, Update Hunyuan models & deepseek-r1-0528, use default deployment name when parseModelString doesn't contain deployment name.

<br/>

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

#### What's improved

* **misc**:  Support ModelScope Provider, closes [#8026](https://github.com/jaworldwideorg/OneJA-Bot/issues/8026) ([7b91dfd](https://github.com/jaworldwideorg/OneJA-Bot/commit/7b91dfd))
* **misc**: Support protect page, closes [#8024](https://github.com/jaworldwideorg/OneJA-Bot/issues/8024) ([d61a9f5](https://github.com/jaworldwideorg/OneJA-Bot/commit/d61a9f5))

#### What's fixed

* **misc**: Agent automatic completion meta not working error, closes [#8003](https://github.com/jaworldwideorg/OneJA-Bot/issues/8003) ([c5307bf](https://github.com/jaworldwideorg/OneJA-Bot/commit/c5307bf))
* **misc**: Disable LaTeX and Mermaid rendering in SystemRoleContent to prevent lag caused by massive rendering tasks when switching topics, closes [#8034](https://github.com/jaworldwideorg/OneJA-Bot/issues/8034) ([5b42ee2](https://github.com/jaworldwideorg/OneJA-Bot/commit/5b42ee2))
* **misc**: Fix DeepSeek new R1 Search error, closes [#8035](https://github.com/jaworldwideorg/OneJA-Bot/issues/8035) ([cf58628](https://github.com/jaworldwideorg/OneJA-Bot/commit/cf58628))

#### Styles

* **misc**:  `+` in the welcome message can be clicked to create an assistant, closes [#7984](https://github.com/jaworldwideorg/OneJA-Bot/issues/7984) ([9f07e4c](https://github.com/jaworldwideorg/OneJA-Bot/commit/9f07e4c))
* **misc**: Enable deploymentName for Aliyun Bailian, closes [#7576](https://github.com/jaworldwideorg/OneJA-Bot/issues/7576) ([169e598](https://github.com/jaworldwideorg/OneJA-Bot/commit/169e598))
* **misc**: Enhanced reasoning_effort Slider Component, closes [#7998](https://github.com/jaworldwideorg/OneJA-Bot/issues/7998) ([750b26a](https://github.com/jaworldwideorg/OneJA-Bot/commit/750b26a))
* **misc**: Support `web_search` tool for MiniMax & Zhipu, closes [#7980](https://github.com/jaworldwideorg/OneJA-Bot/issues/7980) ([28cdafb](https://github.com/jaworldwideorg/OneJA-Bot/commit/28cdafb))
* **misc**: Support 01.ai proxy url, closes [#8025](https://github.com/jaworldwideorg/OneJA-Bot/issues/8025) ([e0442b8](https://github.com/jaworldwideorg/OneJA-Bot/commit/e0442b8))
* **misc**: Update Hunyuan models & deepseek-r1-0528, closes [#7993](https://github.com/jaworldwideorg/OneJA-Bot/issues/7993) ([2eb198c](https://github.com/jaworldwideorg/OneJA-Bot/commit/2eb198c))
* **misc**: Use default deployment name when parseModelString doesn't contain deployment name, closes [#7719](https://github.com/jaworldwideorg/OneJA-Bot/issues/7719) ([aef19f4](https://github.com/jaworldwideorg/OneJA-Bot/commit/aef19f4))

</details>

<div align="right">

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

</div>
2025-06-02 09:56:48 +00:00
Jamie Stivala a7b89493e4 Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
#	README.zh-CN.md
#	changelog/v1.json
2025-06-02 17:19:20 +08:00
lobehubbot bcc9c54356 📝 docs(bot): Auto sync agents & plugin to readme 2025-05-30 06:56:51 +00:00
semantic-release-bot e53a8db7c9 🔖 chore(release): v1.87.2 [skip ci]
### [Version&nbsp;1.87.2](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.87.1...v1.87.2)
<sup>Released on **2025-05-30**</sup>

#### 💄 Styles

- **misc**: Support Web Search Tools and Beta Header from Anthropic.

<br/>

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

#### Styles

* **misc**: Support Web Search Tools and Beta Header from Anthropic, closes [#7964](https://github.com/jaworldwideorg/OneJA-Bot/issues/7964) ([a47ddc5](https://github.com/jaworldwideorg/OneJA-Bot/commit/a47ddc5))

</details>

<div align="right">

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

</div>
2025-05-30 06:56:31 +00:00
Jamie Stivala e2ad515379 Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
2025-05-30 14:41:52 +08:00
Jamie Stivala f542b49955 Merge remote-tracking branch 'origin/main' 2025-05-30 13:50:39 +08:00
Jamie Stivala 77259e2245 Updated test to reflect JA Logo change 2025-05-30 13:50:17 +08:00
Jamie Stivala d0385e25f1 Updated test to reflect JA Logo change 2025-05-30 13:48:48 +08:00
Jamie Stivala bd9c6e37fc Fixed issue with JA Worldwide logo not loading properly 2025-05-30 13:23:51 +08:00
lobehubbot 0df9aff7db 📝 docs(bot): Auto sync agents & plugin to readme 2025-05-30 04:13:45 +00:00
semantic-release-bot 8a000ac0d8 🔖 chore(release): v1.87.1 [skip ci]
### [Version&nbsp;1.87.1](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.87.0...v1.87.1)
<sup>Released on **2025-05-30**</sup>

#### 🐛 Bug Fixes

- **misc**: Close historySummary correctly, cmd + click chat tab not open new tab, Enable thinking output only for supported Gemini thinking models.

#### 💄 Styles

- **misc**: Add fc ability to deepseek-reasoner model, increase the history limit, Update GitHub models.

<br/>

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

#### What's fixed

* **misc**: Close historySummary correctly, closes [#7010](https://github.com/jaworldwideorg/OneJA-Bot/issues/7010) ([90a6f68](https://github.com/jaworldwideorg/OneJA-Bot/commit/90a6f68))
* **misc**: Cmd + click chat tab not open new tab, closes [#8001](https://github.com/jaworldwideorg/OneJA-Bot/issues/8001) ([d6d2129](https://github.com/jaworldwideorg/OneJA-Bot/commit/d6d2129))
* **misc**: Enable thinking output only for supported Gemini thinking models, closes [#7987](https://github.com/jaworldwideorg/OneJA-Bot/issues/7987) ([f503c53](https://github.com/jaworldwideorg/OneJA-Bot/commit/f503c53))

#### Styles

* **misc**: Add fc ability to deepseek-reasoner model, closes [#8006](https://github.com/jaworldwideorg/OneJA-Bot/issues/8006) ([1511c75](https://github.com/jaworldwideorg/OneJA-Bot/commit/1511c75))
* **misc**: Increase the history limit, closes [#8007](https://github.com/jaworldwideorg/OneJA-Bot/issues/8007) ([5ec7c8d](https://github.com/jaworldwideorg/OneJA-Bot/commit/5ec7c8d))
* **misc**: Update GitHub models, closes [#8002](https://github.com/jaworldwideorg/OneJA-Bot/issues/8002) ([7b8f533](https://github.com/jaworldwideorg/OneJA-Bot/commit/7b8f533))

</details>

<div align="right">

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

</div>
2025-05-30 04:13:22 +00:00
Jamie Stivala 77f82a37a0 Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
#	changelog/v1.json
2025-05-30 11:58:31 +08:00
Jamie Stivala 4ceb2ec3ab Merge remote-tracking branch 'upstream/main' 2025-05-29 16:54:36 +08:00
lobehubbot 554fa612b5 📝 docs(bot): Auto sync agents & plugin to readme 2025-05-28 10:17:05 +00:00
semantic-release-bot f9f994f9ff 🔖 chore(release): v1.87.0 [skip ci]
## [Version&nbsp;1.87.0](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.86.1...v1.87.0)
<sup>Released on **2025-05-28**</sup>

####  Features

- **misc**: Add claude 4 series.

#### 🐛 Bug Fixes

- **docs**: Rename and update Google Gemini documentation.
- **DragUpload**: Resolve issue with pasting clipboard images in Safari.
- **misc**: Auto sync theme mode in desktop, cant invoke the application after OIDC authorization in Windows 11, fix chat header in the desktop, fix draggable issue with agent header, fix message refresh 401 on desktop, fix missing email field to user, update agent config of client db will override old config, user nickName & username selector in desktop.

#### 💄 Styles

- **DevPanel**: Improve json display.
- **misc**: Add gemini & hunyuan & Claude models, add live search support for xAI, Allow `SliderWithInput` to have no input limit, correct model name `SenseChat-5-1202`, fix a few typos in the model tooltips, improve thread flicker when first-time loading, resolve InputNumber display overlap issue, support adjust thinkingBudget in gemini 2.5 flash, Support Gemini 2.5 thought reasoning, support share single message.

<br/>

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

#### What's improved

* **misc**: Add claude 4 series, closes [#7939](https://github.com/jaworldwideorg/OneJA-Bot/issues/7939) ([9b4f950](https://github.com/jaworldwideorg/OneJA-Bot/commit/9b4f950))

#### What's fixed

* **docs**: Rename and update Google Gemini documentation, closes [#7957](https://github.com/jaworldwideorg/OneJA-Bot/issues/7957) ([432c28d](https://github.com/jaworldwideorg/OneJA-Bot/commit/432c28d))
* **DragUpload**: Resolve issue with pasting clipboard images in Safari, closes [#7961](https://github.com/jaworldwideorg/OneJA-Bot/issues/7961) ([3c3cc75](https://github.com/jaworldwideorg/OneJA-Bot/commit/3c3cc75))
* **misc**: Auto sync theme mode in desktop, closes [#7970](https://github.com/jaworldwideorg/OneJA-Bot/issues/7970) ([a16fa02](https://github.com/jaworldwideorg/OneJA-Bot/commit/a16fa02))
* **misc**: Cant invoke the application after OIDC authorization in Windows 11, closes [#7900](https://github.com/jaworldwideorg/OneJA-Bot/issues/7900) ([585e386](https://github.com/jaworldwideorg/OneJA-Bot/commit/585e386))
* **misc**: Fix chat header in the desktop, closes [#7973](https://github.com/jaworldwideorg/OneJA-Bot/issues/7973) ([63c3a71](https://github.com/jaworldwideorg/OneJA-Bot/commit/63c3a71))
* **misc**: Fix draggable issue with agent header, closes [#7968](https://github.com/jaworldwideorg/OneJA-Bot/issues/7968) ([cd84241](https://github.com/jaworldwideorg/OneJA-Bot/commit/cd84241))
* **misc**: Fix message refresh 401 on desktop, closes [#7958](https://github.com/jaworldwideorg/OneJA-Bot/issues/7958) ([b4b426f](https://github.com/jaworldwideorg/OneJA-Bot/commit/b4b426f))
* **misc**: Fix missing email field to user, closes [#7913](https://github.com/jaworldwideorg/OneJA-Bot/issues/7913) ([d314130](https://github.com/jaworldwideorg/OneJA-Bot/commit/d314130))
* **misc**: Update agent config of client db will override old config, closes [#7918](https://github.com/jaworldwideorg/OneJA-Bot/issues/7918) ([f7cda68](https://github.com/jaworldwideorg/OneJA-Bot/commit/f7cda68))
* **misc**: User nickName & username selector in desktop, closes [#7899](https://github.com/jaworldwideorg/OneJA-Bot/issues/7899) ([bf51746](https://github.com/jaworldwideorg/OneJA-Bot/commit/bf51746))

#### Styles

* **DevPanel**: Improve json display, closes [#7978](https://github.com/jaworldwideorg/OneJA-Bot/issues/7978) ([db800d2](https://github.com/jaworldwideorg/OneJA-Bot/commit/db800d2))
* **misc**: Add gemini & hunyuan & Claude models, closes [#7908](https://github.com/jaworldwideorg/OneJA-Bot/issues/7908) ([5244f22](https://github.com/jaworldwideorg/OneJA-Bot/commit/5244f22))
* **misc**: Add live search support for xAI, closes [#7907](https://github.com/jaworldwideorg/OneJA-Bot/issues/7907) ([dff4b7b](https://github.com/jaworldwideorg/OneJA-Bot/commit/dff4b7b))
* **misc**: Allow `SliderWithInput` to have no input limit, closes [#7708](https://github.com/jaworldwideorg/OneJA-Bot/issues/7708) ([bdb02b2](https://github.com/jaworldwideorg/OneJA-Bot/commit/bdb02b2))
* **misc**: Correct model name `SenseChat-5-1202`, closes [#7979](https://github.com/jaworldwideorg/OneJA-Bot/issues/7979) ([d9e1336](https://github.com/jaworldwideorg/OneJA-Bot/commit/d9e1336))
* **misc**: Fix a few typos in the model tooltips, closes [#7952](https://github.com/jaworldwideorg/OneJA-Bot/issues/7952) ([8416fec](https://github.com/jaworldwideorg/OneJA-Bot/commit/8416fec))
* **misc**: Improve thread flicker when first-time loading, closes [#7963](https://github.com/jaworldwideorg/OneJA-Bot/issues/7963) ([4cacacd](https://github.com/jaworldwideorg/OneJA-Bot/commit/4cacacd))
* **misc**: Resolve InputNumber display overlap issue, closes [#7892](https://github.com/jaworldwideorg/OneJA-Bot/issues/7892) ([5486663](https://github.com/jaworldwideorg/OneJA-Bot/commit/5486663))
* **misc**: Support adjust thinkingBudget in gemini 2.5 flash, closes [#7947](https://github.com/jaworldwideorg/OneJA-Bot/issues/7947) ([a9db548](https://github.com/jaworldwideorg/OneJA-Bot/commit/a9db548))
* **misc**: Support Gemini 2.5 thought reasoning, closes [#7686](https://github.com/jaworldwideorg/OneJA-Bot/issues/7686) ([f34c4de](https://github.com/jaworldwideorg/OneJA-Bot/commit/f34c4de))
* **misc**: Support share single message, closes [#7967](https://github.com/jaworldwideorg/OneJA-Bot/issues/7967) ([660a5ad](https://github.com/jaworldwideorg/OneJA-Bot/commit/660a5ad))

</details>

<div align="right">

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

</div>
2025-05-28 10:16:25 +00:00
Jamie Stivala 3fa2cc1ec2 Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
#	README.zh-CN.md
#	changelog/v1.json
2025-05-28 18:01:44 +08:00
lobehubbot 6e83440d68 📝 docs(bot): Auto sync agents & plugin to readme 2025-05-22 18:23:40 +00:00
semantic-release-bot 9f1ae50f71 🔖 chore(release): v1.86.1 [skip ci]
### [Version&nbsp;1.86.1](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.86.0...v1.86.1)
<sup>Released on **2025-05-22**</sup>

#### 🐛 Bug Fixes

- **misc**: 'top_p' is not supported with o4-mini, bump  @lobehub/ui to 2.1.7, pin zustand version to avoid type error.

#### 💄 Styles

- **misc**: Improve tools display.

<br/>

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

#### What's fixed

* **misc**: 'top_p' is not supported with o4-mini, closes [#7747](https://github.com/jaworldwideorg/OneJA-Bot/issues/7747) ([4e04399](https://github.com/jaworldwideorg/OneJA-Bot/commit/4e04399))
* **misc**: Bump  @lobehub/ui to 2.1.7, closes [#7912](https://github.com/jaworldwideorg/OneJA-Bot/issues/7912) ([457b645](https://github.com/jaworldwideorg/OneJA-Bot/commit/457b645))
* **misc**: Pin zustand version to avoid type error, closes [#7929](https://github.com/jaworldwideorg/OneJA-Bot/issues/7929) ([4f6e286](https://github.com/jaworldwideorg/OneJA-Bot/commit/4f6e286))

#### Styles

* **misc**: Improve tools display, closes [#7906](https://github.com/jaworldwideorg/OneJA-Bot/issues/7906) ([af8a05b](https://github.com/jaworldwideorg/OneJA-Bot/commit/af8a05b))

</details>

<div align="right">

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

</div>
2025-05-22 18:23:19 +00:00
GH Action - Upstream Sync e1c4a934dc Merge branch 'main' of https://github.com/lobehub/lobe-chat 2025-05-22 18:08:52 +00:00
GH Action - Upstream Sync d8d1cc6ddd Merge branch 'main' of https://github.com/lobehub/lobe-chat 2025-05-22 06:09:50 +00:00
Jamie Stivala 05c70c6388 Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
#	changelog/v1.json
2025-05-21 18:06:43 +07:00
lobehubbot 0758d68d74 📝 docs(bot): Auto sync agents & plugin to readme 2025-05-20 12:38:28 +00:00
semantic-release-bot 26d3c3eabd 🔖 chore(release): v1.86.0 [skip ci]
## [Version&nbsp;1.86.0](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.85.2...v1.86.0)
<sup>Released on **2025-05-20**</sup>

#### ♻ Code Refactoring

- **misc**: Clean code with new antd api, refactor agent runtime to model runtime.

####  Features

- **misc**: Add Qiniu Provider, support custom language and Mermaid Appearance.

#### 🐛 Bug Fixes

- **misc**: Fix desktop open issue on linux like Fedora42, fix oidc redirect url, supported SenseNova v6 models correctly & update Gemini models.

#### 💄 Styles

- **misc**: Support Doubao 1.5 Thinking Vision Pro model, update internlm model list, add  series, update Spark X1 model list & fix build-in search params.

<br/>

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

#### Code refactoring

* **misc**: Clean code with new antd api, closes [#7870](https://github.com/jaworldwideorg/OneJA-Bot/issues/7870) ([c543884](https://github.com/jaworldwideorg/OneJA-Bot/commit/c543884))
* **misc**: Refactor agent runtime to model runtime, closes [#7846](https://github.com/jaworldwideorg/OneJA-Bot/issues/7846) ([a3b9448](https://github.com/jaworldwideorg/OneJA-Bot/commit/a3b9448))

#### What's improved

* **misc**: Add Qiniu Provider, closes [#7649](https://github.com/jaworldwideorg/OneJA-Bot/issues/7649) ([c9b8e9f](https://github.com/jaworldwideorg/OneJA-Bot/commit/c9b8e9f))
* **misc**: Support custom language and Mermaid Appearance, closes [#7850](https://github.com/jaworldwideorg/OneJA-Bot/issues/7850) ([bee2b2d](https://github.com/jaworldwideorg/OneJA-Bot/commit/bee2b2d))

#### What's fixed

* **misc**: Fix desktop open issue on linux like Fedora42, closes [#7883](https://github.com/jaworldwideorg/OneJA-Bot/issues/7883) ([5b0154f](https://github.com/jaworldwideorg/OneJA-Bot/commit/5b0154f))
* **misc**: Fix oidc redirect url, closes [#7855](https://github.com/jaworldwideorg/OneJA-Bot/issues/7855) ([3156538](https://github.com/jaworldwideorg/OneJA-Bot/commit/3156538))
* **misc**: Supported SenseNova v6 models correctly & update Gemini models, closes [#7778](https://github.com/jaworldwideorg/OneJA-Bot/issues/7778) ([e2b5ed3](https://github.com/jaworldwideorg/OneJA-Bot/commit/e2b5ed3))

#### Styles

* **misc**: Support Doubao 1.5 Thinking Vision Pro model, closes [#7784](https://github.com/jaworldwideorg/OneJA-Bot/issues/7784) ([9cf0d6f](https://github.com/jaworldwideorg/OneJA-Bot/commit/9cf0d6f))
* **misc**: Update internlm model list, add  series, closes [#7566](https://github.com/jaworldwideorg/OneJA-Bot/issues/7566) ([4eaddf4](https://github.com/jaworldwideorg/OneJA-Bot/commit/4eaddf4))
* **misc**: Update Spark X1 model list & fix build-in search params, closes [#7480](https://github.com/jaworldwideorg/OneJA-Bot/issues/7480) ([7050c81](https://github.com/jaworldwideorg/OneJA-Bot/commit/7050c81))

</details>

<div align="right">

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

</div>
2025-05-20 12:37:58 +00:00
Jamie Stivala ef2e2dd1c0 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	CHANGELOG.md
#	changelog/v1.json
2025-05-20 19:23:07 +07:00
Jamie Stivala d4b7668823 Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	package.json
2025-05-20 19:22:21 +07:00
lobehubbot 0adcf550d9 📝 docs(bot): Auto sync agents & plugin to readme 2025-05-14 18:23:51 +00:00
semantic-release-bot 5a5484b145 🔖 chore(release): v1.85.2 [skip ci]
### [Version&nbsp;1.85.2](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.85.1...v1.85.2)
<sup>Released on **2025-05-14**</sup>

#### 💄 Styles

- **misc**: Improve smoothing on completion, update electron style on windows.

<br/>

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

#### Styles

* **misc**: Improve smoothing on completion, closes [#7833](https://github.com/jaworldwideorg/OneJA-Bot/issues/7833) ([6434686](https://github.com/jaworldwideorg/OneJA-Bot/commit/6434686))
* **misc**: Update electron style on windows, closes [#7839](https://github.com/jaworldwideorg/OneJA-Bot/issues/7839) ([474de56](https://github.com/jaworldwideorg/OneJA-Bot/commit/474de56))

</details>

<div align="right">

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

</div>
2025-05-14 18:23:31 +00:00
GH Action - Upstream Sync 558eac8c21 Merge branch 'main' of https://github.com/lobehub/lobe-chat 2025-05-14 18:08:54 +00:00
Jamie Stivala 1c67cf3e05 Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
#	changelog/v1.json
2025-05-14 21:12:42 +07:00
semantic-release-bot 8b6fac26d4 🔖 chore(release): v1.85.1 [skip ci]
### [Version&nbsp;1.85.1](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.85.0...v1.85.1)
<sup>Released on **2025-05-14**</sup>

#### 🐛 Bug Fixes

- **misc**: Redirect unauthorized next-auth user to signin page.

<br/>

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

#### What's fixed

* **misc**: Redirect unauthorized next-auth user to signin page, closes [#7813](https://github.com/jaworldwideorg/OneJA-Bot/issues/7813) ([6160784](https://github.com/jaworldwideorg/OneJA-Bot/commit/6160784))

</details>

<div align="right">

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

</div>
2025-05-14 06:23:49 +00:00
GH Action - Upstream Sync e1d318f56d Merge branch 'main' of https://github.com/lobehub/lobe-chat 2025-05-14 06:09:34 +00:00
lobehubbot 632d687b63 📝 docs(bot): Auto sync agents & plugin to readme 2025-05-12 18:23:27 +00:00
semantic-release-bot 7e721ba86d 🔖 chore(release): v1.85.0 [skip ci]
## [Version&nbsp;1.85.0](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.84.16...v1.85.0)
<sup>Released on **2025-05-12**</sup>

#### ♻ Code Refactoring

- **misc**: Add perf stat support for openai factory, Remove doubao Provider, upgrade anthropic sdk.

####  Features

- **misc**: Support upload files direct into chat context.

#### 🐛 Bug Fixes

- **misc**: Fix changelog issue on desktop app, fix config import issue in the desktop version, fix desktop upload image on macOS, fix electron state init on window, fix nothing return when reset the client db, fix streamable http url valid and refactor local files to local system, fix window close issue and release Window/Linux beta, remove mcp client cache.

#### 💄 Styles

- **misc**: Add new gemini & Mistral models, add qwen3 for ollama, add Qwen3 models for infiniai, add reasoning tokens and token usage statistics for Google Gemini, add write file tool to local-file plugin, add Xiaohongshu crawler rules, fix init state of loading, improve pdf and xlsx file content parser, Show Aliyun Bailian tokens usage tracking.

<br/>

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

#### Code refactoring

* **misc**: Add perf stat support for openai factory, closes [#7677](https://github.com/jaworldwideorg/OneJA-Bot/issues/7677) ([40464d1](https://github.com/jaworldwideorg/OneJA-Bot/commit/40464d1))
* **misc**: Remove doubao Provider, closes [#7573](https://github.com/jaworldwideorg/OneJA-Bot/issues/7573) ([0cf3bcc](https://github.com/jaworldwideorg/OneJA-Bot/commit/0cf3bcc))
* **misc**: Upgrade anthropic sdk, closes [#7773](https://github.com/jaworldwideorg/OneJA-Bot/issues/7773) ([39e871f](https://github.com/jaworldwideorg/OneJA-Bot/commit/39e871f))

#### What's improved

* **misc**: Support upload files direct into chat context, closes [#7751](https://github.com/jaworldwideorg/OneJA-Bot/issues/7751) ([39b790e](https://github.com/jaworldwideorg/OneJA-Bot/commit/39b790e))

#### What's fixed

* **misc**: Fix changelog issue on desktop app, closes [#7740](https://github.com/jaworldwideorg/OneJA-Bot/issues/7740) ([f0a12af](https://github.com/jaworldwideorg/OneJA-Bot/commit/f0a12af))
* **misc**: Fix config import issue in the desktop version, closes [#7800](https://github.com/jaworldwideorg/OneJA-Bot/issues/7800) ([2cb8635](https://github.com/jaworldwideorg/OneJA-Bot/commit/2cb8635))
* **misc**: Fix desktop upload image on macOS, closes [#7741](https://github.com/jaworldwideorg/OneJA-Bot/issues/7741) ([07d5374](https://github.com/jaworldwideorg/OneJA-Bot/commit/07d5374))
* **misc**: Fix electron state init on window, closes [#7707](https://github.com/jaworldwideorg/OneJA-Bot/issues/7707) ([ef05b49](https://github.com/jaworldwideorg/OneJA-Bot/commit/ef05b49))
* **misc**: Fix nothing return when reset the client db, closes [#7738](https://github.com/jaworldwideorg/OneJA-Bot/issues/7738) ([90efb13](https://github.com/jaworldwideorg/OneJA-Bot/commit/90efb13))
* **misc**: Fix streamable http url valid and refactor local files to local system, closes [#7794](https://github.com/jaworldwideorg/OneJA-Bot/issues/7794) ([37fd5fe](https://github.com/jaworldwideorg/OneJA-Bot/commit/37fd5fe))
* **misc**: Fix window close issue and release Window/Linux beta, closes [#7780](https://github.com/jaworldwideorg/OneJA-Bot/issues/7780) ([82c48b9](https://github.com/jaworldwideorg/OneJA-Bot/commit/82c48b9))
* **misc**: Remove mcp client cache, closes [#7776](https://github.com/jaworldwideorg/OneJA-Bot/issues/7776) ([0582134](https://github.com/jaworldwideorg/OneJA-Bot/commit/0582134))

#### Styles

* **misc**: Add new gemini & Mistral models, closes [#7730](https://github.com/jaworldwideorg/OneJA-Bot/issues/7730) ([b7753e2](https://github.com/jaworldwideorg/OneJA-Bot/commit/b7753e2))
* **misc**: Add qwen3 for ollama, closes [#7746](https://github.com/jaworldwideorg/OneJA-Bot/issues/7746) ([806d905](https://github.com/jaworldwideorg/OneJA-Bot/commit/806d905))
* **misc**: Add Qwen3 models for infiniai, closes [#7657](https://github.com/jaworldwideorg/OneJA-Bot/issues/7657) ([edd1732](https://github.com/jaworldwideorg/OneJA-Bot/commit/edd1732))
* **misc**: Add reasoning tokens and token usage statistics for Google Gemini, closes [#7501](https://github.com/jaworldwideorg/OneJA-Bot/issues/7501) ([b466b42](https://github.com/jaworldwideorg/OneJA-Bot/commit/b466b42))
* **misc**: Add write file tool to local-file plugin, closes [#7684](https://github.com/jaworldwideorg/OneJA-Bot/issues/7684) ([e22e932](https://github.com/jaworldwideorg/OneJA-Bot/commit/e22e932))
* **misc**: Add Xiaohongshu crawler rules, closes [#7717](https://github.com/jaworldwideorg/OneJA-Bot/issues/7717) ([cc3724d](https://github.com/jaworldwideorg/OneJA-Bot/commit/cc3724d))
* **misc**: Fix init state of loading, closes [#7694](https://github.com/jaworldwideorg/OneJA-Bot/issues/7694) ([1d97a68](https://github.com/jaworldwideorg/OneJA-Bot/commit/1d97a68))
* **misc**: Improve pdf and xlsx file content parser, closes [#7783](https://github.com/jaworldwideorg/OneJA-Bot/issues/7783) ([0376870](https://github.com/jaworldwideorg/OneJA-Bot/commit/0376870))
* **misc**: Show Aliyun Bailian tokens usage tracking, closes [#7660](https://github.com/jaworldwideorg/OneJA-Bot/issues/7660) ([3ef0542](https://github.com/jaworldwideorg/OneJA-Bot/commit/3ef0542))

</details>

<div align="right">

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

</div>
2025-05-12 18:22:39 +00:00
Jamie Stivala a8ffdefcdd Updated sync to also ignore changelog/* 2025-05-13 01:09:01 +07:00
Jamie Stivala 58f4e0ed8d Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
#	README.zh-CN.md
#	changelog/v1.json
2025-05-13 01:03:00 +07:00
Jamie Stivala 3b48bf4551 Updated upstream sync repo 2025-05-13 00:59:47 +07:00
Jamie Stivala 48d0e01434 Changed ACR 2025-05-13 00:56:13 +07:00
Jamie Stivala 7d82bb16b9 Running upstream sync should trigger release.yml 2025-05-13 00:49:06 +07:00
lobehubbot 9923a38d84 📝 docs(bot): Auto sync agents & plugin to readme 2025-05-02 02:34:14 +00:00
semantic-release-bot 97588e6cf4 🔖 chore(release): v1.84.16 [skip ci]
### [Version&nbsp;1.84.16](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.84.15...v1.84.16)
<sup>Released on **2025-05-02**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix desktop quiting with reopen window.

<br/>

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

#### What's fixed

* **misc**: Fix desktop quiting with reopen window, closes [#7675](https://github.com/jaworldwideorg/OneJA-Bot/issues/7675) ([edeabcf](https://github.com/jaworldwideorg/OneJA-Bot/commit/edeabcf))

</details>

<div align="right">

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

</div>
2025-05-02 02:33:56 +00:00
Jamie Stivala acfe5ea8b0 On sync, added the ability to ignore files such as CHANGELOG.md 2025-05-02 09:20:18 +07:00
Jamie Stivala ef6651e305 Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	CHANGELOG.md
2025-05-02 09:09:07 +07:00
Jamie Stivala 059e78ba2c Target sync branch to main. 2025-05-02 09:07:25 +07:00
Jamie Stivala 765198e00f Merge remote-tracking branch 'origin/main' 2025-05-02 01:07:27 +07:00
lobehubbot 2cda3e77bc 📝 docs(bot): Auto sync agents & plugin to readme 2025-05-01 18:06:40 +00:00
Jamie Stivala 6d9278a018 Target sync branch to upstream still. 2025-05-02 01:03:44 +07:00
Jamie Stivala e118e0fa7f Update repository url on release to use JA Worldwide One-JA Bot 2025-05-02 01:02:31 +07:00
Jamie Stivala 7687b21ff0 Sync directly into main branch 2025-05-02 01:01:09 +07:00
Jamie Stivala 387ac1e778 Readded vi-canvas-mock 2025-05-02 00:52:33 +07:00
Jamie Stivala 6e444c6e5e Removed depricated npmrc files 2025-05-02 00:46:49 +07:00
Jamie Stivala 3d29f8324a Changed precommit file 2025-05-02 00:46:35 +07:00
Jamie Stivala 9d04179123 Merge branch 'upstream'
# Conflicts:
#	CHANGELOG.md
#	package.json
#	src/libs/next-auth/sso-providers/index.ts
2025-05-02 00:45:55 +07:00
Jamie Stivala d598f68313 Attempt to fix upstream syncing 2025-05-02 00:18:07 +07:00
Jamie Stivala 1cec875a8d Added test mode 2025-04-02 17:25:56 -04:00
semantic-release-bot 336957ec63 🔖 chore(release): v1.73.0 [skip ci]
## [Version&nbsp;1.73.0](https://github.com/jaworldwideorg/OneJA-Bot/compare/v1.72.3...v1.73.0)
<sup>Released on **2025-03-20**</sup>

####  Features

- **misc**: Add Cohere provider support, add search1api crawler implementation for WeChat Sogou links.

<br/>

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

#### What's improved

* **misc**: Add Cohere provider support, closes [#7016](https://github.com/jaworldwideorg/OneJA-Bot/issues/7016) ([2a4e2ed](https://github.com/jaworldwideorg/OneJA-Bot/commit/2a4e2ed))
* **misc**: Add search1api crawler implementation for WeChat Sogou links, closes [#7036](https://github.com/jaworldwideorg/OneJA-Bot/issues/7036) ([7327138](https://github.com/jaworldwideorg/OneJA-Bot/commit/7327138))

</details>

<div align="right">

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

</div>
2025-03-20 16:20:40 +00:00
Jamie Stivala e678340e57 Merge pull request #53 from jaworldwideorg/feat/branding
 feat: Updated branding to be inline with JA Worldwide
2025-03-20 17:10:55 +01:00
Jamie Stivala 8905367222 Updated dependencies 2025-03-20 16:55:44 +01:00
Jamie Stivala 76f3dddf85 Removed vite-canvas-mock and added vi-canvas-mock 2025-03-20 16:55:17 +01:00
Jamie Stivala 5eac228e01 Updated tests to reference branding_name 2025-03-20 14:50:20 +01:00
Jamie Stivala 76d546305b Updated favicon and touch icon 2025-03-20 14:26:30 +01:00
Jamie Stivala da928c78dc Updated branding to reflect JA 2025-03-20 14:21:16 +01:00
Jamie Stivala 52c2fdb6db Mounting local file system 2025-03-20 14:12:18 +01:00
Jamie Stivala 2dd5a72ccd Updated dockerfile 2025-03-20 13:09:21 +01:00
Jamie Stivala f3ab6b8bd7 Added COHERE Environment to testing docker file 2025-03-20 13:08:09 +01:00
Jamie Stivala 5ecf59e7e7 Merge branch 'upstream' into feat/branding
# Conflicts:
#	package.json
2025-03-20 13:05:20 +01:00
Jamie Stivala d0ea7aa45c Fixed dockerfile location 2025-03-20 13:03:48 +01:00
Jamie Stivala f8ab18d8da Merge pull request #47 from jaworldwideorg/test/includes
🔨 tests - Updated tests to use deep array matching
2025-03-19 13:50:09 +01:00
Jamie Stivala 965d2829eb Updated tests to use deep array matching 2025-03-19 13:37:31 +01:00
Jamie Stivala 33e9767c16 Merge pull request #44 from jaworldwideorg/chore/ci-updates
📝 docs & 🔨 chore: Added a way to run Docker Local Development and Fixed CI/CD to work with Azure ACR
2025-03-19 11:58:55 +01:00
Jamie Stivala 70e54c98bf Updated package.json reference 2025-03-19 11:56:36 +01:00
Jamie Stivala 49f1b97b67 Merge pull request #43 from jaworldwideorg/feat/okta-oidc
 feat - Added Okta as an OIDC Provider
2025-03-19 11:52:52 +01:00
Jamie Stivala 0ed5a6b5ec Updated Lighthouse repo branch 2025-03-19 11:48:13 +01:00
Jamie Stivala bec44875f7 Updated docker-database builder location 2025-03-19 11:47:53 +01:00
Jamie Stivala f849d0e102 Fixed syncing upstream branch 2025-03-19 11:47:35 +01:00
Jamie Stivala 15102da85d Remove NPM from Semantic Release 2025-03-19 11:47:04 +01:00
Jamie Stivala 7eee6d1cb2 Added a way to run local development 2025-03-19 11:42:22 +01:00
Jamie Stivala b0e8c4fbb8 Updated documentation 2025-03-19 11:15:23 +01:00
Jamie Stivala f1468b7d5a Added Okta as an SSO Provider 2025-03-19 11:14:41 +01:00
28 changed files with 9015 additions and 4012 deletions
+8 -5
View File
@@ -12,7 +12,8 @@ concurrency:
cancel-in-progress: true
env:
REGISTRY_IMAGE: lobehub/lobe-chat-database
REGISTRY_URL: jaworldwide.azurecr.io
REGISTRY_IMAGE: jaworldwide.azurecr.io/oneja/ai/bot-database
PR_TAG_PREFIX: pr-
jobs:
@@ -70,8 +71,9 @@ jobs:
- name: Docker login
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_REGISTRY_USER }}
password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
registry: ${{ env.REGISTRY_URL }}
username: ${{ secrets.CONTAINER_REGISTRY_USER }}
password: ${{ secrets.CONTAINER_REGISTRY_PASSWORD }}
- name: Get commit SHA
if: github.ref == 'refs/heads/main'
@@ -147,8 +149,9 @@ jobs:
- name: Docker login
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_REGISTRY_USER }}
password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
registry: ${{ env.REGISTRY_URL }}
username: ${{ secrets.CONTAINER_REGISTRY_USER }}
password: ${{ secrets.CONTAINER_REGISTRY_PASSWORD }}
- name: Create manifest list and push
working-directory: /tmp/digests
+1 -1
View File
@@ -2,7 +2,7 @@ name: Lighthouse Badger
env:
TOKEN_NAME: 'GH_TOKEN'
REPO_BRANCH: 'lobehub/lobe-chat lighthouse'
REPO_BRANCH: 'jaworldwideorg/OneJA-Bot lighthouse'
USER_NAME: 'lobehubbot'
USER_EMAIL: 'i@lobehub.com'
AUDIT_TYPE: 'both'
+7
View File
@@ -1,8 +1,15 @@
name: Release CI
permissions:
contents: write
issues: write
actions: write
on:
push:
branches:
- main
workflow_dispatch:
jobs:
release:
+9
View File
@@ -52,3 +52,12 @@ jobs:
[lobechat]: https://github.com/lobehub/lobe-chat
[tutorial-zh-CN]: https://github.com/lobehub/lobe-chat/wiki/Upstream-Sync.zh-CN
[tutorial-en-US]: https://github.com/lobehub/lobe-chat/wiki/Upstream-Sync
- name: Trigger Release Workflow
if: success() && steps.sync.outputs.has_new_commits == 'true'
run: |
curl -X POST \
-H "Authorization: token ${{ secrets.GH_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/${{ github.repository }}/actions/workflows/release.yml/dispatches \
-d '{"ref":"main"}'
+5 -2
View File
@@ -1,2 +1,5 @@
npm run type-check
npx --no-install lint-staged
# .husky/post-merge
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npm run type-check || echo "Type check failed, please fix issues!"
+33
View File
@@ -1,5 +1,10 @@
const config = require('@lobehub/lint').semanticRelease;
// Remove NPM publishing by excluding "@semantic-release/npm" plugin
// Keep or add other plugins like GitHub Releases
config.plugins = config.plugins.filter((plugin) => plugin !== '@semantic-release/npm');
// Add GitHub only if required
config.plugins.push([
'@semantic-release/exec',
{
@@ -7,4 +12,32 @@ config.plugins.push([
},
]);
// Override GitHub repository URL without modifying package.json
// Make sure @semantic-release/github is present in the plugins
if (!config.plugins.some(plugin => Array.isArray(plugin) ? plugin[0] === '@semantic-release/github' : plugin === '@semantic-release/github')) {
config.plugins.push([
'@semantic-release/github',
{
repositoryUrl: 'https://github.com/jaworldwideorg/OneJA-Bot.git'
}
]);
} else {
// Find and update the existing GitHub plugin configuration
config.plugins = config.plugins.map(plugin => {
if (Array.isArray(plugin) && plugin[0] === '@semantic-release/github') {
return [
'@semantic-release/github',
{
...(plugin[1] || {}),
repositoryUrl: 'https://github.com/jaworldwideorg/OneJA-Bot.git'
}
];
}
return plugin;
});
}
// Set repository URL in global config
config.repositoryUrl = 'https://github.com/jaworldwideorg/OneJA-Bot.git';
module.exports = config;
+632 -1874
View File
File diff suppressed because it is too large Load Diff
+4 -4
View File
@@ -237,7 +237,7 @@ In this way, LobeChat can more flexibly adapt to the needs of different users, w
We have implemented support for the following model service providers:
<!-- PROVIDER LIST -->
<!-- PROVIDER LIST -->
- **[OpenAI](https://lobechat.com/discover/provider/openai)**: OpenAI is a global leader in artificial intelligence research, with models like the GPT series pushing the frontiers of natural language processing. OpenAI is committed to transforming multiple industries through innovative and efficient AI solutions. Their products demonstrate significant performance and cost-effectiveness, widely used in research, business, and innovative applications.
- **[Ollama](https://lobechat.com/discover/provider/ollama)**: Ollama provides models that cover a wide range of fields, including code generation, mathematical operations, multilingual processing, and conversational interaction, catering to diverse enterprise-level and localized deployment needs.
@@ -279,7 +279,7 @@ We have implemented support for the following model service providers:
- **[InternLM](https://lobechat.com/discover/provider/internlm)**: An open-source organization dedicated to the research and development of large model toolchains. It provides an efficient and user-friendly open-source platform for all AI developers, making cutting-edge large models and algorithm technologies easily accessible.
- **[Higress](https://lobechat.com/discover/provider/higress)**: Higress is a cloud-native API gateway that was developed internally at Alibaba to address the issues of Tengine reload affecting long-lived connections and the insufficient load balancing capabilities for gRPC/Dubbo.
- **[Gitee AI](https://lobechat.com/discover/provider/giteeai)**: Gitee AI's Serverless API provides AI developers with an out of the box large model inference API service.
- **[Taichu](https://lobechat.com/discover/provider/taichu)**: The Institute of Automation, Chinese Academy of Sciences, and Wuhan Artificial Intelligence Research Institute have launched a new generation of multimodal large models, supporting comprehensive question-answering tasks such as multi-turn Q\&A, text creation, image generation, 3D understanding, and signal analysis, with stronger cognitive, understanding, and creative abilities, providing a new interactive experience.
- **[Taichu](https://lobechat.com/discover/provider/taichu)**: The Institute of Automation, Chinese Academy of Sciences, and Wuhan Artificial Intelligence Research Institute have launched a new generation of multimodal large models, supporting comprehensive question-answering tasks such as multi-turn Q&A, text creation, image generation, 3D understanding, and signal analysis, with stronger cognitive, understanding, and creative abilities, providing a new interactive experience.
- **[360 AI](https://lobechat.com/discover/provider/ai360)**: 360 AI is an AI model and service platform launched by 360 Company, offering various advanced natural language processing models, including 360GPT2 Pro, 360GPT Pro, 360GPT Turbo, and 360GPT Turbo Responsibility 8K. These models combine large-scale parameters and multimodal capabilities, widely applied in text generation, semantic understanding, dialogue systems, and code generation. With flexible pricing strategies, 360 AI meets diverse user needs, supports developer integration, and promotes the innovation and development of intelligent applications.
- **[Search1API](https://lobechat.com/discover/provider/search1api)**: Search1API provides access to the DeepSeek series of models that can connect to the internet as needed, including standard and fast versions, supporting a variety of model sizes.
- **[InfiniAI](https://lobechat.com/discover/provider/infiniai)**: Provides high-performance, easy-to-use, and secure large model services for application developers, covering the entire process from large model development to service deployment.
@@ -380,7 +380,7 @@ In addition, these plugins are not limited to news aggregation, but can also ext
>
> Learn more about [📘 Plugin Usage][docs-usage-plugin] by checking it out.
<!-- PLUGIN LIST -->
<!-- PLUGIN LIST -->
| Recent Submits | Description |
| ---------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
@@ -419,7 +419,7 @@ Our marketplace is not just a showcase platform but also a collaborative space.
> We welcome all users to join this growing ecosystem and participate in the iteration and optimization of agents.
> Together, we can create more interesting, practical, and innovative agents, further enriching the diversity and practicality of the agent offerings.
<!-- AGENT LIST -->
<!-- AGENT LIST -->
| Recent Submits | Description |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
+25 -25
View File
@@ -237,40 +237,40 @@ LobeChat 支持文件上传与知识库功能,你可以上传文件、图片
我们已经实现了对以下模型服务商的支持:
<!-- PROVIDER LIST -->
<!-- PROVIDER LIST -->
- **[OpenAI](https://lobechat.com/discover/provider/openai)**: OpenAI 是全球领先的人工智能研究机构,其开发的模型如 GPT 系列推动了自然语言处理的前沿。OpenAI 致力于通过创新和高效的 AI 解决方案改变多个行业。他们的产品具有显著的性能和经济性,广泛用于研究、商业和创新应用。
- **[OpenAI](https://lobechat.com/discover/provider/openai)**: OpenAI 是全球领先的人工智能研究机构,其开发的模型如GPT系列推动了自然语言处理的前沿。OpenAI 致力于通过创新和高效的AI解决方案改变多个行业。他们的产品具有显著的性能和经济性,广泛用于研究、商业和创新应用。
- **[Ollama](https://lobechat.com/discover/provider/ollama)**: Ollama 提供的模型广泛涵盖代码生成、数学运算、多语种处理和对话互动等领域,支持企业级和本地化部署的多样化需求。
- **[Anthropic](https://lobechat.com/discover/provider/anthropic)**: Anthropic 是一家专注于人工智能研究和开发的公司,提供了一系列先进的语言模型,如 Claude 3.5 Sonnet、Claude 3 Sonnet、Claude 3 Opus 和 Claude 3 Haiku。这些模型在智能、速度和成本之间取得了理想的平衡,适用于从企业级工作负载到快速响应的各种应用场景。Claude 3.5 Sonnet 作为其最新模型,在多项评估中表现优异,同时保持了较高的性价比。
- **[Bedrock](https://lobechat.com/discover/provider/bedrock)**: Bedrock 是亚马逊 AWS 提供的一项服务,专注于为企业提供先进的 AI 语言模型和视觉模型。其模型家族包括 Anthropic 的 Claude 系列、Meta 的 Llama 3.1 系列等,涵盖从轻量级到高性能的多种选择,支持文本生成、对话、图像处理等多种任务,适用于不同规模和需求的企业应用。
- **[Google](https://lobechat.com/discover/provider/google)**: Google 的 Gemini 系列是其最先进、通用的 AI 模型,由 Google DeepMind 打造,专为多模态设计,支持文本、代码、图像、音频和视频的无缝理解与处理。适用于从数据中心到移动设备的多种环境,极大提升了 AI 模型的效率与应用广泛性。
- **[Google](https://lobechat.com/discover/provider/google)**: Google 的 Gemini 系列是其最先进、通用的 AI模型,由 Google DeepMind 打造,专为多模态设计,支持文本、代码、图像、音频和视频的无缝理解与处理。适用于从数据中心到移动设备的多种环境,极大提升了AI模型的效率与应用广泛性。
- **[DeepSeek](https://lobechat.com/discover/provider/deepseek)**: DeepSeek 是一家专注于人工智能技术研究和应用的公司,其最新模型 DeepSeek-V3 多项评测成绩超越 Qwen2.5-72B 和 Llama-3.1-405B 等开源模型,性能对齐领军闭源模型 GPT-4o 与 Claude-3.5-Sonnet。
- **[Moonshot](https://lobechat.com/discover/provider/moonshot)**: Moonshot 是由北京月之暗面科技有限公司推出的开源平台,提供多种自然语言处理模型,应用领域广泛,包括但不限于内容创作、学术研究、智能推荐、医疗诊断等,支持长文本处理和复杂生成任务。
- **[OpenRouter](https://lobechat.com/discover/provider/openrouter)**: OpenRouter 是一个提供多种前沿大模型接口的服务平台,支持 OpenAI、Anthropic、LLaMA 及更多,适合多样化的开发和应用需求。用户可根据自身需求灵活选择最优的模型和价格,助力 AI 体验的提升。
- **[OpenRouter](https://lobechat.com/discover/provider/openrouter)**: OpenRouter 是一个提供多种前沿大模型接口的服务平台,支持 OpenAI、Anthropic、LLaMA 及更多,适合多样化的开发和应用需求。用户可根据自身需求灵活选择最优的模型和价格,助力AI体验的提升。
- **[HuggingFace](https://lobechat.com/discover/provider/huggingface)**: HuggingFace Inference API 提供了一种快速且免费的方式,让您可以探索成千上万种模型,适用于各种任务。无论您是在为新应用程序进行原型设计,还是在尝试机器学习的功能,这个 API 都能让您即时访问多个领域的高性能模型。
- **[Cloudflare Workers AI](https://lobechat.com/discover/provider/cloudflare)**: 在 Cloudflare 的全球网络上运行由无服务器 GPU 驱动的机器学习模型。
<details><summary><kbd>See more providers (+32)</kbd></summary>
- **[GitHub](https://lobechat.com/discover/provider/github)**: 通过 GitHub 模型,开发人员可以成为 AI 工程师,并使用行业领先的 AI 模型进行构建。
- **[GitHub](https://lobechat.com/discover/provider/github)**: 通过GitHub模型,开发人员可以成为AI工程师,并使用行业领先的AI模型进行构建。
- **[Novita](https://lobechat.com/discover/provider/novita)**: Novita AI 是一个提供多种大语言模型与 AI 图像生成的 API 服务的平台,灵活、可靠且具有成本效益。它支持 Llama3、Mistral 等最新的开源模型,并为生成式 AI 应用开发提供了全面、用户友好且自动扩展的 API 解决方案,适合 AI 初创公司的快速发展。
- **[PPIO](https://lobechat.com/discover/provider/ppio)**: PPIO 派欧云提供稳定、高性价比的开源模型 API 服务,支持 DeepSeek 全系列、Llama、Qwen 等行业领先大模型。
- **[302.AI](https://lobechat.com/discover/provider/ai302)**: 302.AI 是一个按需付费的 AI 应用平台,提供市面上最全的 AI API 和 AI 在线应用
- **[Together AI](https://lobechat.com/discover/provider/togetherai)**: Together AI 致力于通过创新的 AI 模型实现领先的性能,提供广泛的自定义能力,包括快速扩展支持和直观的部署流程,满足企业的各种需求。
- **[Fireworks AI](https://lobechat.com/discover/provider/fireworksai)**: Fireworks AI 是一家领先的高级语言模型服务商,专注于功能调用和多模态处理。其最新模型 Firefunction V2 基于 Llama-3,优化用于函数调用、对话及指令跟随。视觉语言模型 FireLLaVA-13B 支持图像和文本混合输入。其他 notable 模型包括 Llama 系列和 Mixtral 系列,提供高效的多语言指令跟随与生成支持。
- **[Groq](https://lobechat.com/discover/provider/groq)**: Groq 的 LPU 推理引擎在最新的独立大语言模型(LLM)基准测试中表现卓越,以其惊人的速度和效率重新定义了 AI 解决方案的标准。Groq 是一种即时推理速度的代表,在基于云的部署中展现了良好的性能。
- **[Perplexity](https://lobechat.com/discover/provider/perplexity)**: Perplexity 是一家领先的对话生成模型提供商,提供多种先进的 Llama 3.1 模型,支持在线和离线应用,特别适用于复杂的自然语言处理任务。
- **[Perplexity](https://lobechat.com/discover/provider/perplexity)**: Perplexity 是一家领先的对话生成模型提供商,提供多种先进的Llama 3.1模型,支持在线和离线应用,特别适用于复杂的自然语言处理任务。
- **[Mistral](https://lobechat.com/discover/provider/mistral)**: Mistral 提供先进的通用、专业和研究型模型,广泛应用于复杂推理、多语言任务、代码生成等领域,通过功能调用接口,用户可以集成自定义功能,实现特定应用。
- **[ModelScope](https://lobechat.com/discover/provider/modelscope)**: ModelScope 是阿里云推出的模型即服务平台,提供丰富的 AI 模型和推理服务。
- **[ModelScope](https://lobechat.com/discover/provider/modelscope)**: ModelScope是阿里云推出的模型即服务平台,提供丰富的AI模型和推理服务。
- **[Ai21Labs](https://lobechat.com/discover/provider/ai21)**: AI21 Labs 为企业构建基础模型和人工智能系统,加速生成性人工智能在生产中的应用。
- **[Upstage](https://lobechat.com/discover/provider/upstage)**: Upstage 专注于为各种商业需求开发 AI 模型,包括 Solar LLM 和文档 AI,旨在实现工作的人造通用智能(AGI)。通过 Chat API 创建简单的对话代理,并支持功能调用、翻译、嵌入以及特定领域应用。
- **[Upstage](https://lobechat.com/discover/provider/upstage)**: Upstage 专注于为各种商业需求开发AI模型,包括 Solar LLM 和文档 AI,旨在实现工作的人造通用智能(AGI)。通过 Chat API 创建简单的对话代理,并支持功能调用、翻译、嵌入以及特定领域应用。
- **[xAI (Grok)](https://lobechat.com/discover/provider/xai)**: xAI 是一家致力于构建人工智能以加速人类科学发现的公司。我们的使命是推动我们对宇宙的共同理解。
- **[Aliyun Bailian](https://lobechat.com/discover/provider/qwen)**: 通义千问是阿里云自主研发的超大规模语言模型,具有强大的自然语言理解和生成能力。它可以回答各种问题、创作文字内容、表达观点看法、撰写代码等,在多个领域发挥作用。
- **[Wenxin](https://lobechat.com/discover/provider/wenxin)**: 企业级一站式大模型与 AI 原生应用开发及服务平台,提供最全面易用的生成式人工智能模型开发、应用开发全流程工具链
- **[Wenxin](https://lobechat.com/discover/provider/wenxin)**: 企业级一站式大模型与AI原生应用开发及服务平台,提供最全面易用的生成式人工智能模型开发、应用开发全流程工具链
- **[Hunyuan](https://lobechat.com/discover/provider/hunyuan)**: 由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力
- **[ZhiPu](https://lobechat.com/discover/provider/zhipu)**: 智谱 AI 提供多模态与语言模型的开放平台,支持广泛的 AI 应用场景,包括文本处理、图像理解与编程辅助等。
- **[ZhiPu](https://lobechat.com/discover/provider/zhipu)**: 智谱 AI 提供多模态与语言模型的开放平台,支持广泛的AI应用场景,包括文本处理、图像理解与编程辅助等。
- **[SiliconCloud](https://lobechat.com/discover/provider/siliconcloud)**: SiliconCloud,基于优秀开源基础模型的高性价比 GenAI 云服务
- **[01.AI](https://lobechat.com/discover/provider/zeroone)**: 零一万物致力于推动以人为本的 AI 2.0 技术革命,旨在通过大语言模型创造巨大的经济和社会价值,并开创新的 AI 生态与商业模式。
- **[01.AI](https://lobechat.com/discover/provider/zeroone)**: 零一万物致力于推动以人为本的AI 2.0技术革命,旨在通过大语言模型创造巨大的经济和社会价值,并开创新的AI生态与商业模式。
- **[Spark](https://lobechat.com/discover/provider/spark)**: 科大讯飞星火大模型提供多领域、多语言的强大 AI 能力,利用先进的自然语言处理技术,构建适用于智能硬件、智慧医疗、智慧金融等多种垂直场景的创新应用。
- **[SenseNova](https://lobechat.com/discover/provider/sensenova)**: 商汤日日新,依托商汤大装置的强大的基础支撑,提供高效易用的全栈大模型服务。
- **[Stepfun](https://lobechat.com/discover/provider/stepfun)**: 阶级星辰大模型具备行业领先的多模态及复杂推理能力,支持超长文本理解和强大的自主调度搜索引擎功能。
@@ -279,7 +279,7 @@ LobeChat 支持文件上传与知识库功能,你可以上传文件、图片
- **[InternLM](https://lobechat.com/discover/provider/internlm)**: 致力于大模型研究与开发工具链的开源组织。为所有 AI 开发者提供高效、易用的开源平台,让最前沿的大模型与算法技术触手可及
- **[Higress](https://lobechat.com/discover/provider/higress)**: Higress 是一款云原生 API 网关,在阿里内部为解决 Tengine reload 对长连接业务有损,以及 gRPC/Dubbo 负载均衡能力不足而诞生。
- **[Gitee AI](https://lobechat.com/discover/provider/giteeai)**: Gitee AI 的 Serverless API 为 AI 开发者提供开箱即用的大模型推理 API 服务。
- **[Taichu](https://lobechat.com/discover/provider/taichu)**: 中科院自动化研究所和武汉人工智能研究院推出新一代多模态大模型,支持多轮问答、文本创作、图像生成、3D 理解、信号分析等全面问答任务,拥有更强的认知、理解、创作能力,带来全新互动体验。
- **[Taichu](https://lobechat.com/discover/provider/taichu)**: 中科院自动化研究所和武汉人工智能研究院推出新一代多模态大模型,支持多轮问答、文本创作、图像生成、3D理解、信号分析等全面问答任务,拥有更强的认知、理解、创作能力,带来全新互动体验。
- **[360 AI](https://lobechat.com/discover/provider/ai360)**: 360 AI 是 360 公司推出的 AI 模型和服务平台,提供多种先进的自然语言处理模型,包括 360GPT2 Pro、360GPT Pro、360GPT Turbo 和 360GPT Turbo Responsibility 8K。这些模型结合了大规模参数和多模态能力,广泛应用于文本生成、语义理解、对话系统与代码生成等领域。通过灵活的定价策略,360 AI 满足多样化用户需求,支持开发者集成,推动智能化应用的革新和发展。
- **[Search1API](https://lobechat.com/discover/provider/search1api)**: Search1API 提供可根据需要自行联网的 DeepSeek 系列模型的访问,包括标准版和快速版本,支持多种参数规模的模型选择。
- **[InfiniAI](https://lobechat.com/discover/provider/infiniai)**: 为应用开发者提供高性能、易上手、安全可靠的大模型服务,覆盖从大模型开发到大模型服务化部署的全流程。
@@ -373,14 +373,14 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
> 通过文档了解更多 [📘 插件使用][docs-usage-plugin]
<!-- PLUGIN LIST -->
<!-- PLUGIN LIST -->
| 最近新增 | 描述 |
| -------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
| [PortfolioMeta](https://lobechat.com/discover/plugin/StockData)<br/><sup>By **portfoliometa** on **2025-07-21**</sup> | 分析股票并获取全面的实时投资数据和分析。<br/>`股票` |
| [网页](https://lobechat.com/discover/plugin/web)<br/><sup>By **Proghit** on **2025-01-24**</sup> | 智能网页搜索,读取和分析页面,以提供来自 Google 结果的全面答案。<br/>`网页` `搜索` |
| [必应网页搜索](https://lobechat.com/discover/plugin/Bingsearch-identifier)<br/><sup>By **FineHow** on **2024-12-22**</sup> | 通过 BingApi 搜索互联网上的信息<br/>`bingsearch` |
| [谷歌自定义搜索引擎](https://lobechat.com/discover/plugin/google-cse)<br/><sup>By **vsnthdev** on **2024-12-02**</sup> | 通过他们的官方自定义搜索引擎 API 搜索谷歌。<br/>`网络` `搜索` |
| 最近新增 | 描述 |
| --------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------ |
| [PortfolioMeta](https://lobechat.com/discover/plugin/StockData)<br/><sup>By **portfoliometa** on **2025-07-21**</sup> | 分析股票并获取全面的实时投资数据和分析。<br/>`股票` |
| [网页](https://lobechat.com/discover/plugin/web)<br/><sup>By **Proghit** on **2025-01-24**</sup> | 智能网页搜索,读取和分析页面,以提供来自Google结果的全面答案。<br/>`网页` `搜索` |
| [必应网页搜索](https://lobechat.com/discover/plugin/Bingsearch-identifier)<br/><sup>By **FineHow** on **2024-12-22**</sup> | 通过BingApi搜索互联网上的信息<br/>`bingsearch` |
| [谷歌自定义搜索引擎](https://lobechat.com/discover/plugin/google-cse)<br/><sup>By **vsnthdev** on **2024-12-02**</sup> | 通过他们的官方自定义搜索引擎API搜索谷歌。<br/>`网络` `搜索` |
> 📊 Total plugins: [<kbd>**42**</kbd>](https://lobechat.com/discover/plugins)
@@ -408,14 +408,14 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
>
> 我欢迎所有用户加入这个不断成长的生态系统,共同参与到助手的迭代与优化中来。共同创造出更多有趣、实用且具有创新性的助手,进一步丰富助手的多样性和实用性。
<!-- AGENT LIST -->
<!-- AGENT LIST -->
| 最近新增 | 描述 |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| 最近新增 | 描述 |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ |
| [海龟汤主持人](https://lobechat.com/discover/assistant/lateral-thinking-puzzle)<br/><sup>By **[CSY2022](https://github.com/CSY2022)** on **2025-06-19**</sup> | 一个海龟汤主持人,需要自己提供汤面,汤底与关键点(猜中的判定条件)。<br/>`海龟汤` `推理` `互动` `谜题` `角色扮演` |
| [美食评论员🍟](https://lobechat.com/discover/assistant/food-reviewer)<br/><sup>By **[renhai-lab](https://github.com/renhai-lab)** on **2025-06-17**</sup> | 美食评价专家<br/>`美食` `评价` `写作` |
| [学术写作助手](https://lobechat.com/discover/assistant/academic-writing-assistant)<br/><sup>By **[swarfte](https://github.com/swarfte)** on **2025-06-17**</sup> | 专业的学术研究论文写作和正式文档编写专家<br/>`学术写作` `研究` `正式风格` |
| [Minecraft 资深开发者](https://lobechat.com/discover/assistant/java-development)<br/><sup>By **[iamyuuk](https://github.com/iamyuuk)** on **2025-06-17**</sup> | 擅长高级 Java 开发及 Minecraft 开发<br/>`开发` `编程` `minecraft` `java` |
| [美食评论员🍟](https://lobechat.com/discover/assistant/food-reviewer)<br/><sup>By **[renhai-lab](https://github.com/renhai-lab)** on **2025-06-17**</sup> | 美食评价专家<br/>`美食` `评价` `写作` |
| [学术写作助手](https://lobechat.com/discover/assistant/academic-writing-assistant)<br/><sup>By **[swarfte](https://github.com/swarfte)** on **2025-06-17**</sup> | 专业的学术研究论文写作和正式文档编写专家<br/>`学术写作` `研究` `正式风格` |
| [Minecraft资深开发者](https://lobechat.com/discover/assistant/java-development)<br/><sup>By **[iamyuuk](https://github.com/iamyuuk)** on **2025-06-17**</sup> | 擅长高级 Java 开发及 Minecraft 开发<br/>`开发` `编程` `minecraft` `java` |
> 📊 Total agents: [<kbd>**505**</kbd> ](https://lobechat.com/discover/assistants)
+1917 -639
View File
File diff suppressed because it is too large Load Diff
+2881 -1402
View File
File diff suppressed because it is too large Load Diff
+40
View File
@@ -0,0 +1,40 @@
# Proxy, if you need it
# HTTP_PROXY=http://localhost:7890
# HTTPS_PROXY=http://localhost:7890
# Other environment variables, as needed. You can refer to the environment variables configuration for the client version, making sure not to have ACCESS_CODE.
# OPENAI_API_KEY=sk-xxxx
# OPENAI_PROXY_URL=https://api.openai.com/v1
# OPENAI_MODEL_LIST=...
# ===========================
# ====== Preset config ======
# ===========================
# if no special requirements, no need to change
LOBE_PORT=3010
MINIO_PORT=9000
APP_URL=http://localhost:3010
AUTH_URL=http://localhost:3010/api/auth
# Postgres related, which are the necessary environment variables for DB
LOBE_DB_NAME=lobechat
POSTGRES_PASSWORD=uWNZugjBqixf8dxC
# MinIO S3 configuration
MINIO_ROOT_USER=admin
MINIO_ROOT_PASSWORD=YOUR_MINIO_PASSWORD
LLM_VISION_IMAGE_USE_BASE64=1
# Configure the bucket information of MinIO
S3_PUBLIC_DOMAIN=http://localhost:9000
S3_ENDPOINT=http://localhost:9000
S3_ENABLE_PATH_STYLE=1
S3_SET_ACL=0
MINIO_LOBE_BUCKET=lobe
#Configure for DB Mode
NEXT_PUBLIC_SERVICE_MODE=server
DATABASE_DRIVER=node
NEXT_PUBLIC_ENABLE_NEXT_AUTH=1
@@ -0,0 +1,77 @@
name: lobe-chat-development
services:
postgresql:
image: pgvector/pgvector:pg17
container_name: lobe-postgres
ports:
- '5432:5432'
volumes:
- './data:/var/lib/postgresql/data'
environment:
- 'POSTGRES_DB=${LOBE_DB_NAME:-lobechat}'
- 'POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-postgres}'
env_file:
- ../../.env
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U postgres']
interval: 5s
timeout: 5s
retries: 5
restart: always
networks:
- lobe-network
minio:
image: minio/minio:RELEASE.2025-04-22T22-12-26Z
container_name: lobe-minio
ports:
- '${MINIO_PORT:-9000}:${MINIO_PORT:-9000}'
- '9001:9001'
networks:
- lobe-network
volumes:
- './s3_data:/etc/minio/data'
environment:
- 'MINIO_API_CORS_ALLOW_ORIGIN=*'
env_file:
- ../../.env
restart: always
entrypoint: >
/bin/sh -c "
minio server /etc/minio/data --address ':${MINIO_PORT:-9000}' --console-address ':9001' &
MINIO_PID=$$!
while ! curl -s http://localhost:${MINIO_PORT:-9000}/minio/health/live; do
echo 'Waiting for MinIO to start...'
sleep 1
done
sleep 5
mc alias set myminio http://localhost:${MINIO_PORT:-9000} ${MINIO_ROOT_USER} ${MINIO_ROOT_PASSWORD}
echo 'Creating bucket ${MINIO_LOBE_BUCKET:-lobe}'
mc mb myminio/${MINIO_LOBE_BUCKET:-lobe}
wait $$MINIO_PID
"
searxng:
image: searxng/searxng
container_name: lobe-searxng
ports:
- '8080:8080'
volumes:
- './searxng-settings.yml:/etc/searxng/settings.yml'
environment:
- 'SEARXNG_SETTINGS_FILE=/etc/searxng/settings.yml'
restart: always
networks:
- lobe-network
env_file:
- ../../.env
volumes:
data:
driver: local
s3_data:
driver: local
networks:
lobe-network:
driver: bridge
File diff suppressed because it is too large Load Diff
+422 -43
View File
@@ -220,6 +220,56 @@ show_message() {
;;
esac
;;
dev_dirs_exist)
case $LANGUAGE in
zh_CN)
echo "检测到开发数据目录存在:"
;;
*)
echo "Detected existing development data directories:"
;;
esac
;;
dev_dirs_delete_warning)
case $LANGUAGE in
zh_CN)
echo "是否删除上述目录以继续?此操作将清空相关持久化数据。"
;;
*)
echo "Do you want to delete the directories above to continue? This will remove persisted data."
;;
esac
;;
dev_dirs_abort)
case $LANGUAGE in
zh_CN)
echo "用户取消删除。无法继续进行开发环境初始化。"
;;
*)
echo "Deletion declined by user. Cannot proceed with development setup."
;;
esac
;;
dev_dirs_deleting)
case $LANGUAGE in
zh_CN)
echo "正在删除目录:"
;;
*)
echo "Deleting directories:"
;;
esac
;;
dev_dirs_deleted)
case $LANGUAGE in
zh_CN)
echo "目录已删除。"
;;
*)
echo "Directories deleted."
;;
esac
;;
tips_no_executable)
case $LANGUAGE in
zh_CN)
@@ -311,6 +361,7 @@ show_message() {
echo "(0) 域名模式(访问时无需指明端口),需要使用反向代理服务 LobeChat, MinIO, Casdoor ,并分别分配一个域名;"
echo "(1) 端口模式(访问时需要指明端口,如使用IP访问,或域名+端口访问),需要放开指定端口;"
echo "(2) 本地模式(仅供本地测试使用)"
echo "(3) 开发模式(仅启动本地开发所需的基础服务,不包含 Casdoor;将 .env 复制到项目根目录)"
echo "如果你对这些内容疑惑,可以先选择使用本地模式进行部署,稍后根据文档指引再进行修改。"
echo "https://lobehub.com/docs/self-hosting/server-database/docker-compose"
;;
@@ -319,6 +370,7 @@ show_message() {
echo "(0) Domain mode (no need to specify the port when accessing), you need to use the reverse proxy service LobeChat, MinIO, Casdoor, and assign a domain name respectively;"
echo "(1) Port mode (need to specify the port when accessing, such as using IP access, or domain name + port access), you need to open the specified port;"
echo "(2) Local mode (for local testing only)"
echo "(3) Development mode (start local dev infra only, no Casdoor; copy .env to project root)"
echo "If you are confused about these contents, you can choose to deploy in local mode first, and then modify according to the document guide later."
echo "https://lobehub.com/docs/self-hosting/server-database/docker-compose"
;;
@@ -378,31 +430,28 @@ download_file() {
}
print_centered() {
# Define colors
declare -A colors
colors=(
[black]="\e[30m"
[red]="\e[31m"
[green]="\e[32m"
[yellow]="\e[33m"
[blue]="\e[34m"
[magenta]="\e[35m"
[cyan]="\e[36m"
[white]="\e[37m"
[reset]="\e[0m"
)
local text="$1" # Get input texts
local color="${2:-reset}" # Get color, default to reset
local term_width=$(tput cols) # Get terminal width
local text_length=${#text} # Get text length
local padding=$(((term_width - text_length) / 2)) # Get padding
# Check if the color is valid
if [[ -z "${colors[$color]}" ]]; then
echo "Invalid color specified. Available colors: ${!colors[@]}"
return 1
fi
# Print the text with padding
printf "%*s${colors[$color]}%s${colors[reset]}\n" $padding "" "$text"
# Map color name to ANSI code without associative arrays (macOS bash 3.2 compatible)
local text="$1"
local color="${2:-reset}"
local color_code
case "$color" in
black) color_code="\e[30m" ;;
red) color_code="\e[31m" ;;
green) color_code="\e[32m" ;;
yellow) color_code="\e[33m" ;;
blue) color_code="\e[34m" ;;
magenta) color_code="\e[35m" ;;
cyan) color_code="\e[36m" ;;
white) color_code="\e[37m" ;;
reset|*) color_code="\e[0m" ;;
esac
# Determine terminal width (fallback to 80)
local term_width
term_width=$(tput cols 2>/dev/null || echo 80)
local text_length=${#text}
local padding=$(((term_width - text_length) / 2))
if [ $padding -lt 0 ]; then padding=0; fi
printf "%*s${color_code}%s\e[0m\n" $padding "" "$text"
}
# Usage:
@@ -420,7 +469,7 @@ ask() {
description="$description "
fi
local result
if [ -n "$default" ]; then
read -p "$prompt [${description}${default}]: " result
result=${result:-$default}
@@ -475,17 +524,344 @@ if [ -z "$LANGUAGE" ]; then
esac
fi
# ==========================
# === Development Mode ====
# ==========================
sync_dev_s3_env_from_minio() {
local SCRIPT_DIR
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
local PROJECT_ROOT
PROJECT_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
local DEST_ENV="$PROJECT_ROOT/.env"
if [ ! -f "$DEST_ENV" ]; then
return 0
fi
local MINIO_BUCKET MINIO_USER MINIO_PASS
MINIO_BUCKET=$(grep -E '^MINIO_LOBE_BUCKET=' "$DEST_ENV" | head -n1 | cut -d'=' -f2)
MINIO_USER=$(grep -E '^MINIO_ROOT_USER=' "$DEST_ENV" | head -n1 | cut -d'=' -f2)
MINIO_PASS=$(grep -E '^MINIO_ROOT_PASSWORD=' "$DEST_ENV" | head -n1 | cut -d'=' -f2)
# Defaults when missing
if [ -z "$MINIO_BUCKET" ]; then MINIO_BUCKET="lobe"; fi
if [ -z "$MINIO_USER" ]; then MINIO_USER="admin"; fi
if grep -q '^S3_BUCKET=' "$DEST_ENV"; then
sed "${SED_INPLACE_ARGS[@]}" "s#^S3_BUCKET=.*#S3_BUCKET=${MINIO_BUCKET}#" "$DEST_ENV"
else
echo "S3_BUCKET=${MINIO_BUCKET}" >> "$DEST_ENV"
fi
if grep -q '^S3_ACCESS_KEY=' "$DEST_ENV"; then
sed "${SED_INPLACE_ARGS[@]}" "s#^S3_ACCESS_KEY=.*#S3_ACCESS_KEY=${MINIO_USER}#" "$DEST_ENV"
else
echo "S3_ACCESS_KEY=${MINIO_USER}" >> "$DEST_ENV"
fi
if grep -q '^S3_ACCESS_KEY_ID=' "$DEST_ENV"; then
sed "${SED_INPLACE_ARGS[@]}" "s#^S3_ACCESS_KEY_ID=.*#S3_ACCESS_KEY_ID=${MINIO_USER}#" "$DEST_ENV"
else
echo "S3_ACCESS_KEY_ID=${MINIO_USER}" >> "$DEST_ENV"
fi
if grep -q '^S3_SECRET_ACCESS_KEY=' "$DEST_ENV"; then
sed "${SED_INPLACE_ARGS[@]}" "s#^S3_SECRET_ACCESS_KEY=.*#S3_SECRET_ACCESS_KEY=${MINIO_PASS}#" "$DEST_ENV"
else
echo "S3_SECRET_ACCESS_KEY=${MINIO_PASS}" >> "$DEST_ENV"
fi
}
section_setup_development_env() {
# Determine directories
local SCRIPT_DIR
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
local PROJECT_ROOT
PROJECT_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
echo "Setting up development environment (.env at project root)..."
local DEV_ENV_EXAMPLE="$SCRIPT_DIR/development/.env.example"
local DEST_ENV="$PROJECT_ROOT/.env"
if [ ! -f "$DEV_ENV_EXAMPLE" ]; then
echo "ERROR: Development .env.example not found at $DEV_ENV_EXAMPLE"
return 1
fi
local DO_COPY="y"
if [ -f "$DEST_ENV" ]; then
echo "A .env already exists at project root ($DEST_ENV). Overwrite?"
ask "(y/n)" "n"
DO_COPY="$ask_result"
if [[ "$DO_COPY" != "y" ]]; then
echo "Keeping existing .env at project root."
fi
fi
if [[ "$DO_COPY" == "y" ]]; then
cp "$DEV_ENV_EXAMPLE" "$DEST_ENV"
if [ $? -ne 0 ]; then
echo "ERROR: Failed to copy development .env to project root."
return 1
fi
echo "✔️ .env copied to project root: $DEST_ENV"
fi
# Sync S3 variables to concrete values from current MinIO settings
sync_dev_s3_env_from_minio
}
section_check_dev_data_dirs() {
# Check and optionally delete existing dev data directories (PostgreSQL and MinIO)
local SCRIPT_DIR
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
local DEV_DIR="$SCRIPT_DIR/development"
local DATA_DIR="$DEV_DIR/data"
local S3_DATA_DIR="$DEV_DIR/s3_data"
local existing_list=""
local -a dirs_to_remove
if [ -d "$DATA_DIR" ]; then
existing_list+=" data"
dirs_to_remove+=("$DATA_DIR")
fi
if [ -d "$S3_DATA_DIR" ]; then
existing_list+=" s3_data"
dirs_to_remove+=("$S3_DATA_DIR")
fi
# Nothing to do
if [ -z "$existing_list" ]; then
return 0
fi
# Inform user and ask for deletion
echo "$(show_message "dev_dirs_exist")$existing_list"
echo "$(show_message "dev_dirs_delete_warning")"
ask "(y/n)" "n"
if [[ "$ask_result" != "y" ]]; then
echo "$(show_message "dev_dirs_abort")"
return 1
fi
echo "$(show_message "dev_dirs_deleting")$existing_list"
# Delete only within DEV_DIR for safety
for d in "${dirs_to_remove[@]}"; do
case "$d" in
"$DEV_DIR"/*)
rm -rf -- "$d"
;;
*)
echo "Skip unsafe path: $d"
;;
esac
done
echo "$(show_message "dev_dirs_deleted")"
}
section_regenerate_secrets_dev() {
# Regenerate development secrets (MinIO, NextAuth, Key Vaults) and DATABASE_URL
if ! command -v openssl &> /dev/null ; then
echo "openssl" $(show_message "tips_no_executable")
return 1
fi
if ! command -v sed &> /dev/null ; then
echo "sed" $(show_message "tips_no_executable")
return 1
fi
generate_key() {
if [[ -z "$1" ]]; then
echo "Usage: generate_key <length>"
return 1
fi
echo $(openssl rand -hex $1 | tr -d '\n' | fold -w $1 | head -n 1)
}
generate_base64() {
if [[ -z "$1" ]]; then
echo "Usage: generate_base64 <bytes>"
return 1
fi
echo $(openssl rand -base64 $1 | tr -d '\n')
}
local SCRIPT_DIR
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
local PROJECT_ROOT
PROJECT_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
local DEST_ENV="$PROJECT_ROOT/.env"
if [ ! -f "$DEST_ENV" ]; then
echo "WARN: $DEST_ENV not found; skipping secret regeneration."
return 0
fi
echo $(show_message "security_secrect_regenerate")
# 1) MINIO_ROOT_PASSWORD (hex)
local MINIO_ROOT_PASSWORD
MINIO_ROOT_PASSWORD=$(generate_key 8)
if [ $? -ne 0 ] || [ -z "$MINIO_ROOT_PASSWORD" ]; then
echo $(show_message "security_secrect_regenerate_failed") "MINIO_ROOT_PASSWORD"
return 1
fi
if grep -q '^MINIO_ROOT_PASSWORD=' "$DEST_ENV"; then
sed "${SED_INPLACE_ARGS[@]}" "s#^MINIO_ROOT_PASSWORD=.*#MINIO_ROOT_PASSWORD=${MINIO_ROOT_PASSWORD}#" "$DEST_ENV"
else
echo "MINIO_ROOT_PASSWORD=${MINIO_ROOT_PASSWORD}" >> "$DEST_ENV"
fi
# 2) POSTGRES_PASSWORD (hex)
local POSTGRES_PASSWORD_NEW
POSTGRES_PASSWORD_NEW=$(generate_key 8)
if [ $? -ne 0 ] || [ -z "$POSTGRES_PASSWORD_NEW" ]; then
echo $(show_message "security_secrect_regenerate_failed") "POSTGRES_PASSWORD"
else
if grep -q '^POSTGRES_PASSWORD=' "$DEST_ENV"; then
sed "${SED_INPLACE_ARGS[@]}" "s#^POSTGRES_PASSWORD=.*#POSTGRES_PASSWORD=${POSTGRES_PASSWORD_NEW}#" "$DEST_ENV"
else
echo "POSTGRES_PASSWORD=${POSTGRES_PASSWORD_NEW}" >> "$DEST_ENV"
fi
fi
# 3) NEXT_AUTH_SECRET (base64 32)
local NEXT_AUTH_SECRET
NEXT_AUTH_SECRET=$(generate_base64 32)
if [ $? -ne 0 ] || [ -z "$NEXT_AUTH_SECRET" ]; then
echo $(show_message "security_secrect_regenerate_failed") "NEXT_AUTH_SECRET"
else
if grep -q '^NEXT_AUTH_SECRET=' "$DEST_ENV"; then
sed "${SED_INPLACE_ARGS[@]}" "s#^NEXT_AUTH_SECRET=.*#NEXT_AUTH_SECRET=${NEXT_AUTH_SECRET}#" "$DEST_ENV"
else
echo "NEXT_AUTH_SECRET=${NEXT_AUTH_SECRET}" >> "$DEST_ENV"
fi
fi
# 3) KEY_VAULTS_SECRET (base64 32)
local KEY_VAULTS_SECRET
KEY_VAULTS_SECRET=$(generate_base64 32)
if [ $? -ne 0 ] || [ -z "$KEY_VAULTS_SECRET" ]; then
echo $(show_message "security_secrect_regenerate_failed") "KEY_VAULTS_SECRET"
else
if grep -q '^KEY_VAULTS_SECRET=' "$DEST_ENV"; then
sed "${SED_INPLACE_ARGS[@]}" "s#^KEY_VAULTS_SECRET=.*#KEY_VAULTS_SECRET=${KEY_VAULTS_SECRET}#" "$DEST_ENV"
else
echo "KEY_VAULTS_SECRET=${KEY_VAULTS_SECRET}" >> "$DEST_ENV"
fi
fi
# 4) DATABASE_URL (postgres connection string)
local POSTGRES_PASSWORD_VAL
local LOBE_DB_NAME_VAL
POSTGRES_PASSWORD_VAL=$(grep -E '^POSTGRES_PASSWORD=' "$DEST_ENV" | head -n1 | cut -d'=' -f2)
LOBE_DB_NAME_VAL=$(grep -E '^LOBE_DB_NAME=' "$DEST_ENV" | head -n1 | cut -d'=' -f2)
if [ -z "$POSTGRES_PASSWORD_VAL" ]; then POSTGRES_PASSWORD_VAL="postgres"; fi
if [ -z "$LOBE_DB_NAME_VAL" ]; then LOBE_DB_NAME_VAL="lobechat"; fi
local DATABASE_URL
DATABASE_URL="postgres://postgres:${POSTGRES_PASSWORD_VAL}@localhost:5432/${LOBE_DB_NAME_VAL}"
if grep -q '^DATABASE_URL=' "$DEST_ENV"; then
sed "${SED_INPLACE_ARGS[@]}" "s#^DATABASE_URL=.*#DATABASE_URL=${DATABASE_URL}#" "$DEST_ENV"
else
echo "DATABASE_URL=${DATABASE_URL}" >> "$DEST_ENV"
fi
# Sync S3 variables to reflect updated MinIO creds
sync_dev_s3_env_from_minio
}
section_init_database_dev() {
if ! command -v docker &> /dev/null ; then
echo "docker" $(show_message "tips_no_executable")
return 1
fi
if ! docker compose &> /dev/null ; then
echo "docker compose" $(show_message "tips_no_executable")
return 1
fi
if ! docker stats --no-stream &> /dev/null ; then
echo $(show_message "tips_no_docker_permission")
return 1
fi
local SCRIPT_DIR
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
local PROJECT_ROOT
PROJECT_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
echo "Starting development infrastructure (PostgreSQL, MinIO, SearXNG)..."
docker compose --env-file "$PROJECT_ROOT/.env" -f "$SCRIPT_DIR/development/docker-compose.yml" pull
docker compose --env-file "$PROJECT_ROOT/.env" -f "$SCRIPT_DIR/development/docker-compose.yml" up --detach postgresql minio searxng
# give services a moment to start
sleep 5
}
section_display_dev_report() {
local SCRIPT_DIR
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
local PROJECT_ROOT
PROJECT_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
local DEST_ENV="$PROJECT_ROOT/.env"
# Defaults
local LOBE_PORT_VALUE=3210
local MINIO_PORT_VALUE=9000
if [ -f "$DEST_ENV" ]; then
local lp mp
lp=$(grep -E '^LOBE_PORT=' "$DEST_ENV" | head -n1 | cut -d'=' -f2)
mp=$(grep -E '^MINIO_PORT=' "$DEST_ENV" | head -n1 | cut -d'=' -f2)
if [ -n "$lp" ]; then LOBE_PORT_VALUE="$lp"; fi
if [ -n "$mp" ]; then MINIO_PORT_VALUE="$mp"; fi
fi
printf "\nDevelopment infrastructure started. Service endpoints:\n"
echo "- PostgreSQL: localhost:5432"
echo "- MinIO API: http://localhost:${MINIO_PORT_VALUE} (Console: http://localhost:9001)"
echo "- SearXNG: http://localhost:8080"
printf "\nYou can now run the app locally with:\n"
print_centered "pnpm db:migrate" "green"
print_centered "pnpm start:dev" "green"
}
# Prompt for deployment mode early to allow Development mode flow
show_message "ask_deploy_mode"
ask "(0,1,2,3)" "2"
if [[ "$ask_result" == "3" ]]; then
# Development mode: copy .env to project root, optionally regenerate secrets/init DB, then report and exit
section_setup_development_env || exit 1
show_message "ask_regenerate_secrets"
ask "(y/n)" "y"
if [[ "$ask_result" == "y" ]]; then
section_regenerate_secrets_dev || true
fi
# Check if dev data directories exist and handle per user choice; abort if declined
section_check_dev_data_dirs || exit 1
show_message "ask_init_database"
ask "(y/n)" "y"
if [[ "$ask_result" == "y" ]]; then
section_init_database_dev || true
else
show_message "tips_init_database_failed"
fi
section_display_dev_report
exit 0
fi
section_download_files(){
# Download files asynchronously
if ! command -v wget &> /dev/null ; then
echo "wget" $(show_message "tips_no_executable")
exit 1
fi
download_file "$SOURCE_URL/${FILES[0]}" "docker-compose.yml"
download_file "$SOURCE_URL/${FILES[1]}" "init_data.json"
download_file "$SOURCE_URL/${FILES[2]}" "searxng-settings.yml"
# Download .env.example with the specified language
if [ "$LANGUAGE" = "zh_CN" ]; then
download_file "$SOURCE_URL/${ENV_EXAMPLES[0]}" ".env"
@@ -522,13 +898,13 @@ section_configurate_host() {
sed "${SED_INPLACE_ARGS[@]}" "s#http://#https://#" .env
fi
fi
# Check if sed is installed
if ! command -v sed "${SED_INPLACE_ARGS[@]}" &> /dev/null ; then
echo "sed" $(show_message "tips_no_executable")
exit 1
fi
# If user not specify host, try to get the server ip
if [ -z "$HOST" ]; then
HOST=$(hostname -I | awk '{print $1}')
@@ -537,8 +913,8 @@ section_configurate_host() {
echo $(show_message "tips_private_ip_detected")
fi
fi
case $DEPLOY_MODE in
0)
DEPLOY_MODE="domain"
@@ -573,7 +949,7 @@ section_configurate_host() {
exit 1
;;
esac
# lobe host
sed "${SED_INPLACE_ARGS[@]}" "s#^APP_URL=.*#APP_URL=$PROTOCOL://$LOBE_HOST#" .env
# auth related
@@ -583,15 +959,18 @@ section_configurate_host() {
# s3 related
sed "${SED_INPLACE_ARGS[@]}" "s#^S3_PUBLIC_DOMAIN=.*#S3_PUBLIC_DOMAIN=$PROTOCOL://$MINIO_HOST#" .env
sed "${SED_INPLACE_ARGS[@]}" "s#^S3_ENDPOINT=.*#S3_ENDPOINT=$PROTOCOL://$MINIO_HOST#" .env
# Check if env modified success
if [ $? -ne 0 ]; then
echo $(show_message "host_regenerate_failed") "$HOST in \`.env\`"
fi
}
show_message "ask_deploy_mode"
ask "(0,1,2)" "2"
if [ -z "$ask_result" ]; then
show_message "ask_deploy_mode"
ask "(0,1,2)" "2"
fi
if [[ "$ask_result" == "0" ]] || [[ "$ask_result" == "1" ]] || [[ "$ask_result" == "2" ]]; then
section_configurate_host
else
@@ -620,7 +999,7 @@ section_regenerate_secrets() {
echo "head" $(show_message "tips_no_executable")
exit 1
fi
generate_key() {
if [[ -z "$1" ]]; then
echo "Usage: generate_key <length>"
@@ -628,13 +1007,13 @@ section_regenerate_secrets() {
fi
echo $(openssl rand -hex $1 | tr -d '\n' | fold -w $1 | head -n 1)
}
if ! command -v sed &> /dev/null ; then
echo "sed" $(show_message "tips_no_executable")
exit 1
fi
echo $(show_message "security_secrect_regenerate")
# Generate CASDOOR_SECRET
CASDOOR_SECRET=$(generate_key 32)
if [ $? -ne 0 ]; then
@@ -651,7 +1030,7 @@ section_regenerate_secrets() {
echo $(show_message "security_secrect_regenerate_failed") "AUTH_CASDOOR_SECRET in \`init_data.json\`"
fi
fi
# Generate Casdoor User
CASDOOR_USER="admin"
CASDOOR_PASSWORD=$(generate_key 10)
@@ -722,18 +1101,18 @@ if [[ "$ask_result" == "y" ]]; then
if [ $? -ne 0 ]; then
echo $(show_message "tips_init_database_failed")
fi
else
else
show_message "tips_init_database_failed"
fi
section_display_configurated_report() {
# Display configuration reports
echo $(show_message "security_secrect_regenerate_report")
echo -e "LobeChat: \n - URL: $PROTOCOL://$LOBE_HOST \n - Username: user \n - Password: ${CASDOOR_PASSWORD} "
echo -e "Casdoor: \n - URL: $PROTOCOL://$CASDOOR_HOST \n - Username: admin \n - Password: ${CASDOOR_PASSWORD}\n"
echo -e "Minio: \n - URL: $PROTOCOL://$MINIO_HOST \n - Username: admin\n - Password: ${MINIO_ROOT_PASSWORD}\n"
# if user run in domain mode, diplay reverse proxy configuration
if [[ "$DEPLOY_MODE" == "domain" ]]; then
echo $(show_message "tips_add_reverse_proxy")
+28
View File
@@ -72,6 +72,34 @@ bun run dev
Now, you should be able to see the welcome page of LobeChat in your browser. For a detailed environment setup guide, please refer to [Development Environment Setup Guide](/docs/development/basic/setup-development).
### Start local infrastructure with Docker Compose (Development mode)
If you want to run LobeChat against a local database and object storage, we provide a Development mode that launches only the infrastructure you need (PostgreSQL, MinIO, and SearXNG) via Docker:
```bash
cd docker-compose
bash ./setup.sh
# When prompted, choose: (3) Development mode
# The script will:
# - copy a .env template to the project root (./.env)
# - regenerate secrets if you accept the prompt
# - start Postgres, MinIO and SearXNG
```
After the infrastructure is up, return to the project root and run:
```bash
pnpm install
pnpm run db:migrate
pnpm run dev
```
Notes:
- The .env file is stored at the project root so pnpm scripts auto-load it.
- Casdoor is not used in Development mode.
- MinIO Console is available at [http://localhost:9001](http://localhost:9001) and SearXNG at [http://localhost:8080](http://localhost:8080).
## Code Style and Contribution Guide
In the LobeChat project, we place great emphasis on the quality and consistency of the code. For this reason, we have established a series of code style standards and contribution processes to ensure that every developer can smoothly participate in the project. Here are the code style and contribution guidelines you need to follow as a developer.
@@ -20,6 +20,12 @@ tags:
[![][docker-pulls-shield]][docker-pulls-link]
</div>
<Callout type="info">
For local development, use the interactive <strong>Development mode</strong> which starts only the infrastructure (PostgreSQL, MinIO, and SearXNG). It stores the <code>.env</code> file at the project root so pnpm scripts auto-load it. Casdoor is not used in this mode.
See the development guide: <a href="/docs/development/start">/docs/development/start</a>
</Callout>
<Callout type="warning">
**Note on Docker Deployment Limitations**
The Docker and Docker Compose deployment options do not support injecting the `NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY` through environment variables, which prevents enabling the Clerk authentication service. Recommended alternatives include:
+14 -14
View File
@@ -2,28 +2,28 @@
// if you want to use it in the commercial usage
// please contact us for more information: hello@lobehub.com
export const LOBE_CHAT_CLOUD = 'LobeChat Cloud';
export const LOBE_CHAT_CLOUD = 'OneAI';
export const BRANDING_NAME = 'LobeChat';
export const BRANDING_LOGO_URL = '';
export const BRANDING_NAME = 'OneAI';
export const BRANDING_LOGO_URL = '/icons/icon-512x512.png';
export const ORG_NAME = 'LobeHub';
export const ORG_NAME = 'JA Worldwide';
export const BRANDING_URL = {
help: undefined,
privacy: undefined,
terms: undefined,
help: 'mailto:support@jaworldwide.org',
privacy: 'https://www.jaworldwide.org/terms',
terms: 'https://www.jaworldwide.org/terms',
};
export const SOCIAL_URL = {
discord: 'https://discord.gg/AYFPHvv2jT',
github: 'https://github.com/lobehub',
medium: 'https://medium.com/@lobehub',
x: 'https://x.com/lobehub',
youtube: 'https://www.youtube.com/@lobehub',
discord: 'https://discord.gg/',
github: 'https://github.com/jaworldwideorg',
medium: 'https://medium.com/',
x: 'https://x.com/jaworldwide',
youtube: 'https://www.youtube.com/@jaworldwide',
};
export const BRANDING_EMAIL = {
business: 'hello@lobehub.com',
support: 'support@lobehub.com',
business: 'contact@jaworldwide.org',
support: 'support@jaworldwide.org',
};
@@ -340,6 +340,153 @@ describe('LobeAzureOpenAI', () => {
});
});
describe('createImage', () => {
beforeEach(() => {
// ensure images namespace exists and is spy-able
expect(instance['client'].images).toBeTruthy();
});
it('should generate image and return url from object response', async () => {
const url = 'https://example.com/image.png';
const generateSpy = vi
.spyOn(instance['client'].images, 'generate')
.mockResolvedValue({ data: [{ url }] } as any);
const res = await instance.createImage({
model: 'gpt-image-1',
params: { prompt: 'a cat' },
});
expect(generateSpy).toHaveBeenCalledTimes(1);
const args = vi.mocked(generateSpy).mock.calls[0][0] as any;
expect(args).not.toHaveProperty('image');
expect(res).toEqual({ imageUrl: url });
});
it('should parse string JSON response from images.generate', async () => {
const url = 'https://example.com/str.png';
const payload = JSON.stringify({ data: [{ url }] });
vi.spyOn(instance['client'].images, 'generate').mockResolvedValue(payload as any);
const res = await instance.createImage({ model: 'gpt-image-1', params: { prompt: 'dog' } });
expect(res).toEqual({ imageUrl: url });
});
it('should parse bodyAsText JSON response', async () => {
const url = 'https://example.com/bodyAsText.png';
const bodyAsText = JSON.stringify({ data: [{ url }] });
vi.spyOn(instance['client'].images, 'generate').mockResolvedValue({ bodyAsText } as any);
const res = await instance.createImage({ model: 'gpt-image-1', params: { prompt: 'bird' } });
expect(res).toEqual({ imageUrl: url });
});
it('should parse body JSON response', async () => {
const url = 'https://example.com/body.png';
const body = JSON.stringify({ data: [{ url }] });
vi.spyOn(instance['client'].images, 'generate').mockResolvedValue({ body } as any);
const res = await instance.createImage({ model: 'gpt-image-1', params: { prompt: 'fish' } });
expect(res).toEqual({ imageUrl: url });
});
it('should prefer b64_json and return data URL', async () => {
const b64 = 'AAA';
vi.spyOn(instance['client'].images, 'generate').mockResolvedValue({
data: [{ b64_json: b64 }],
} as any);
const res = await instance.createImage({ model: 'gpt-image-1', params: { prompt: 'sun' } });
expect(res.imageUrl).toBe(`data:image/png;base64,${b64}`);
});
it('should throw wrapped error for empty data array', async () => {
vi.spyOn(instance['client'].images, 'generate').mockResolvedValue({ data: [] } as any);
await expect(
instance.createImage({ model: 'gpt-image-1', params: { prompt: 'moon' } }),
).rejects.toMatchObject({
endpoint: 'https://***.openai.azure.com/',
errorType: 'AgentRuntimeError',
provider: 'azure',
error: {
name: 'Error',
cause: undefined,
message: expect.stringContaining('Invalid image response: missing or empty data array'),
},
});
});
it('should throw wrapped error when missing both b64_json and url', async () => {
vi.spyOn(instance['client'].images, 'generate').mockResolvedValue({
data: [{}],
} as any);
await expect(
instance.createImage({ model: 'gpt-image-1', params: { prompt: 'stars' } }),
).rejects.toEqual({
endpoint: 'https://***.openai.azure.com/',
errorType: 'AgentRuntimeError',
provider: 'azure',
error: {
name: 'Error',
cause: undefined,
message: 'Invalid image response: missing both b64_json and url fields',
},
});
});
it('should call images.edit when imageUrl provided and strip size:auto', async () => {
const url = 'https://example.com/edited.png';
const editSpy = vi
.spyOn(instance['client'].images, 'edit')
.mockResolvedValue({ data: [{ url }] } as any);
const helpers = await import('../utils/openaiHelpers');
vi.spyOn(helpers, 'convertImageUrlToFile').mockResolvedValue({} as any);
const res = await instance.createImage({
model: 'gpt-image-1',
params: { prompt: 'edit', imageUrl: 'https://example.com/in.png', size: 'auto' as any },
});
expect(editSpy).toHaveBeenCalledTimes(1);
const arg = vi.mocked(editSpy).mock.calls[0][0] as any;
expect(arg).not.toHaveProperty('size');
expect(res).toEqual({ imageUrl: url });
});
it('should convert multiple imageUrls and pass images array to edit', async () => {
const url = 'https://example.com/edited2.png';
const editSpy = vi
.spyOn(instance['client'].images, 'edit')
.mockResolvedValue({ data: [{ url }] } as any);
const helpers = await import('../utils/openaiHelpers');
const spy = vi.spyOn(helpers, 'convertImageUrlToFile').mockResolvedValue({} as any);
await instance.createImage({
model: 'gpt-image-1',
params: { prompt: 'edit', imageUrls: ['u1', 'u2'] },
});
expect(spy).toHaveBeenCalledTimes(2);
const arg = vi.mocked(editSpy).mock.calls[0][0] as any;
expect(arg).toHaveProperty('image');
});
it('should not include image in generate options', async () => {
const generateSpy = vi
.spyOn(instance['client'].images, 'generate')
.mockResolvedValue({ data: [{ url: 'https://x/y.png' }] } as any);
await instance.createImage({ model: 'gpt-image-1', params: { prompt: 'no image' } });
const arg = vi.mocked(generateSpy).mock.calls[0][0] as any;
expect(arg).not.toHaveProperty('image');
});
});
describe('private method', () => {
describe('tocamelCase', () => {
it('should convert string to camel case', () => {
+115 -1
View File
@@ -1,3 +1,4 @@
import debug from 'debug';
import OpenAI, { AzureOpenAI } from 'openai';
import type { Stream } from 'openai/streaming';
@@ -13,13 +14,15 @@ import {
EmbeddingsPayload,
ModelProvider,
} from '../types';
import { CreateImagePayload, CreateImageResponse } from '../types/image';
import { AgentRuntimeError } from '../utils/createError';
import { debugStream } from '../utils/debugStream';
import { transformResponseToStream } from '../utils/openaiCompatibleFactory';
import { convertOpenAIMessages } from '../utils/openaiHelpers';
import { convertImageUrlToFile, convertOpenAIMessages } from '../utils/openaiHelpers';
import { StreamingResponse } from '../utils/response';
import { OpenAIStream } from '../utils/streams';
const azureImageLogger = debug('lobe-image:azure');
export class LobeAzureOpenAI implements LobeRuntimeAI {
client: AzureOpenAI;
@@ -116,6 +119,117 @@ export class LobeAzureOpenAI implements LobeRuntimeAI {
}
}
// Create image using Azure OpenAI Images API (gpt-image-1 or DALL·E deployments)
async createImage(payload: CreateImagePayload): Promise<CreateImageResponse> {
const { model, params } = payload;
azureImageLogger('Creating image with model: %s and params: %O', model, params);
try {
// Clone params and remap imageUrls/imageUrl -> image
const userInput: Record<string, any> = { ...params };
// Convert imageUrls to 'image' for edit API
if (Array.isArray(userInput.imageUrls) && userInput.imageUrls.length > 0) {
const imageFiles = await Promise.all(
userInput.imageUrls.map((url: string) => convertImageUrlToFile(url)),
);
userInput.image = imageFiles.length === 1 ? imageFiles[0] : imageFiles;
}
// Backward compatibility: single imageUrl -> image
if (userInput.imageUrl && !userInput.image) {
userInput.image = await convertImageUrlToFile(userInput.imageUrl);
}
// Remove non-API parameters to avoid unknown_parameter errors
delete userInput.imageUrls;
delete userInput.imageUrl;
const isImageEdit = Boolean(userInput.image);
azureImageLogger('Is Image Edit: ' + isImageEdit);
// Azure/OpenAI Images: remove unsupported/auto values where appropriate
if (userInput.size === 'auto') delete userInput.size;
// Build options: do not force response_format for gpt-image-1
const options: any = {
model,
n: 1,
...(isImageEdit ? { input_fidelity: 'high' } : {}),
...userInput,
};
// For generate, ensure no 'image' field is sent
if (!isImageEdit) delete options.image;
// Call Azure Images API
const img = isImageEdit
? await this.client.images.edit(options)
: await this.client.images.generate(options);
// Normalize possible string JSON response -- Sometimes Azure Image API returns a text/plain Content-Type
let result: any = img as any;
if (typeof result === 'string') {
try {
result = JSON.parse(result);
} catch {
const truncated = result.length > 500 ? result.slice(0, 500) + '...[truncated]' : result;
azureImageLogger(
`Failed to parse string response from images API. Raw response: ${truncated}`,
);
throw new Error('Invalid image response: expected JSON string but parsing failed');
}
} else if (result && typeof result === 'object') {
// Handle common Azure REST shapes
if (typeof (result as any).bodyAsText === 'string') {
try {
result = JSON.parse((result as any).bodyAsText);
} catch {
const rawText = (result as any).bodyAsText;
const truncated =
rawText.length > 500 ? rawText.slice(0, 500) + '...[truncated]' : rawText;
azureImageLogger(
`Failed to parse bodyAsText from images API. Raw response: ${truncated}`,
);
throw new Error('Invalid image response: bodyAsText not valid JSON');
}
} else if (typeof (result as any).body === 'string') {
try {
result = JSON.parse((result as any).body);
} catch {
azureImageLogger('Failed to parse body from images API response');
throw new Error('Invalid image response: body not valid JSON');
}
}
}
// Validate response
if (!result || !result.data || !Array.isArray(result.data) || result.data.length === 0) {
throw new Error(
`Invalid image response: missing or empty data array. Response: ${JSON.stringify(result)}`,
);
}
const imageData: any = result.data[0];
if (!imageData)
throw new Error('Invalid image response: first data item is null or undefined');
// Prefer base64 if provided, otherwise URL
if (imageData.b64_json) {
const mimeType = 'image/png';
return { imageUrl: `data:${mimeType};base64,${imageData.b64_json}` };
}
if (imageData.url) {
return { imageUrl: imageData.url };
}
throw new Error('Invalid image response: missing both b64_json and url fields');
} catch (e) {
return this.handleError(e, model);
}
}
protected handleError(e: any, model?: string): never {
let error = e as { [key: string]: any; code: string; message: string };
Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 35 KiB

+62 -2
View File
@@ -1,4 +1,4 @@
import { AIChatModelCard } from '@/types/aiModel';
import { AIChatModelCard, AIImageModelCard } from '@/types/aiModel';
const azureChatModels: AIChatModelCard[] = [
{
@@ -282,6 +282,66 @@ const azureChatModels: AIChatModelCard[] = [
},
];
export const allModels = [...azureChatModels];
const azureImageModels: AIImageModelCard[] = [
{
description: 'FLUX.1 Kontext [pro]',
displayName: 'FLUX.1 Kontext [pro]',
enabled: true,
id: 'FLUX.1-Kontext-pro',
parameters: {
imageUrl: { default: null },
prompt: { default: '' },
size: {
default: 'auto',
enum: ['auto', '1024x1024', '1792x1024', '1024x1792'],
},
},
releasedAt: '2025-06-23',
type: 'image',
},
{
description: 'FLUX.1.1 Pro',
displayName: 'FLUX.1.1 Pro',
enabled: true,
id: 'FLUX-1.1-pro',
parameters: {
imageUrl: { default: null },
prompt: { default: '' },
},
releasedAt: '2025-06-23',
type: 'image',
},
{
description: 'DALL·E 3',
displayName: 'DALL·E 3',
id: 'dall-e-3',
parameters: {
imageUrl: { default: null },
prompt: { default: '' },
size: {
default: 'auto',
enum: ['auto', '1024x1024', '1792x1024', '1024x1792'],
},
},
resolutions: ['1024x1024', '1024x1792', '1792x1024'],
type: 'image',
},
{
description: 'ChatGPT Image 1',
displayName: 'GPT Image 1',
id: 'gpt-image-1',
parameters: {
imageUrl: { default: null },
prompt: { default: '' },
size: {
default: 'auto',
enum: ['auto', '1024x1024', '1536x1024', '1024x1536'],
},
},
type: 'image',
},
];
export const allModels = [...azureChatModels, ...azureImageModels];
export default allModels;