Commit Graph

62 Commits

Author SHA1 Message Date
Rdmclin2 346812ab88 🔨 chore: update i18n files & fix title skeleton (#14301)
* chore: update i18n files & fix title skeleton

* chore: update taskTemplate json

* chore: update i18n files
2026-04-29 13:23:26 +07:00
YuTengjing c5db823a69 💄 style: add Kimi K2.6 to LobeHub-hosted card (#14006) 2026-04-21 11:40:15 +08:00
YuTengjing a1e91ab30d test: add tests for topic updatedTime grouping (#13249) 2026-03-25 19:46:40 +08:00
YuTengjing abd152b805 🐛 fix: misc UI/UX improvements and bug fixes (#13153) 2026-03-20 16:42:16 +08:00
René Wang a09316a474 feat: Simplify UI (#12961)
* style: Simplify the sidebar

* style: Simplify the sidebar

* style: Simplify the sidebar

* style: Simpliofy the model selct

* style: Simpliofy the model selct

* style: Simpliofy the model selct

* style: Simpliofy the agent profile

* style: Simplify the input bar

* style: Re-organize the settings

* style: Simplify the mode linfo pane

* style: Simplify agent profile

* style: Advanced settings

* style: Advanced settings

* feat: Update translation

* fix: type error

* fix: Add missing translation

* fix: Add missing translation

* fix: Remove Lite mode

* fix: Add model paramters

* style: Remove token tag

* fix: model order

* fix: model order

* fix: Add missing translation

* fix: Add missing translation

* fix: Hide the subtopic button

* fix: User plan badge

* feat: Add settings

* feat: Add cover to the lab

* style: Make the switch vertically centered

* style: Add divider

* feat: Add group by provider

* feat: Move Usage stats

* fix: Subscription badge

* fix: Rebase onto canary

* fix: Rebase onto canary

* fix: Drag to adjust width

* feat: Rebase onto canary

* feat: Regroup settings tab

* feat: Regroup settings tab

* feat: Regroup settings tab

* feat: Regroup settings tab
2026-03-13 16:48:14 +08:00
YuTengjing 08b23a9732 feat(google): add gemini-3.1-flash-lite-preview model and thinkingLevel5 extend param (#12652) 2026-03-04 23:39:49 +08:00
YuTengjing ac0be5ed5c feat: add video tab to provider ModelList settings page (#12534) 2026-02-28 22:29:51 +08:00
YuTengjing 0ec6c2f38e feat(cloud): add Nano Banana 2 support (#12493) 2026-02-27 10:26:07 +08:00
YuTengjing d8c3ef3232 🌐 chore: generate latest i18n locales 2026-02-15 11:10:47 +08:00
Rdmclin2 90c88da19d feat: add feedback request for community list (#12078)
*  feat(skillStore): add "Want more skills?" prompt with feedback integration

- Add WantMoreSkills component below CommunityList
- Extend useFeedbackModal to support preset initial values
- Update FeedbackModal to accept and display initial form values
- Add i18n translations for zh-CN and en-US

Closes LOBE-4163

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* 🔧 fix(skillStore): show skill request prompt at list end instead of fixed footer

- Move WantMoreSkills to VirtuosoGrid Footer, shown only when list ends
- Update text to "已经到底了,未找到所需技能?提交申请 →"
- Use Typography.Link for hyperlink style on action text
- Update feedback form template with structured format

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* fix: initial values not set

* chore: remove skill install banner shadow

* chore: use same list height

* chore: update i18n files

* fix: klavis disconnected style

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-11 12:58:46 +08:00
YuTengjing f26d0df93d 🐛 fix: show notification when file upload fails due to storage plan limit (#12176)
* 🐛 fix: show notification when file upload fails due to storage plan limit

Previously, when file storage exceeded the plan limit, the TRPC
middleware threw a FORBIDDEN error that was silently swallowed by
the upload components with no user feedback. Now `uploadWithProgress`
catches this specific error and displays a notification guiding
users to upgrade or free up space.

* 🌐 chore: run i18n for upload storage limit error message

* 🌍 i18n: update model descriptions across multiple languages

Added new model descriptions and improved existing ones in Arabic, Bulgarian, German, French, Italian, Japanese, and Korean locales. This update enhances the clarity and detail of model capabilities, ensuring better user understanding and accessibility.
2026-02-07 22:38:49 +08:00
Arvin Xu d1602f66b2 💄 style: improve cron jobs style (#11420)
* refactor cron job folder

* refactor

* update

* update agent cron style

* fix route issue

* update

* update

* update style
2026-01-11 23:18:51 +08:00
arvinxx 80f511cd6e 🌐 style: rerun i18n 2025-12-31 15:20:11 +08:00
Innei 221bd6e5af chore: update i18n translations for multiple locales (#10973)
Update translations for ar, bg-BG, de-DE, es-ES, fa-IR, fr-FR, it-IT, ja-JP, ko-KR, nl-NL, pl-PL, pt-BR, ru-RU, tr-TR, vi-VN, zh-TW locales.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>
2025-12-25 21:28:18 +08:00
CanisMinor 024aeb2e4e 💄 style: Update i18n microcopy (#10905)
* chore: update i18n

* chore: update i18n

* chore: update i18n

* chore: update i18n

* chore: update i18n

* chore: update i18n

* chore: update i18n

* chore: update i18n translations and placeholders across multiple components

Signed-off-by: Innei <tukon479@gmail.com>

* chore: update i18n translations for consistency in terminology across chat, onboarding, and settings components

Signed-off-by: Innei <tukon479@gmail.com>

* chore: update i18n translations to replace 'assistant' with 'agent' and ensure consistency across all components

Signed-off-by: Innei <tukon479@gmail.com>

* chore: update model descriptions in locales for clarity and accuracy

Signed-off-by: Innei <tukon479@gmail.com>

* feat: extract hard code string

Signed-off-by: Innei <tukon479@gmail.com>

* feat: enhance Chinese localization with new proxy and sync settings, update dialog messages for version checks and OAuth authorization

Signed-off-by: Innei <tukon479@gmail.com>

* chore: flatten

* chore: standardize localization keys by flattening nested structures across multiple languages

Signed-off-by: Innei <tukon479@gmail.com>

* chore: refine i18n documentation by consolidating key naming conventions and workflow guidelines for translation management

Signed-off-by: Innei <tukon479@gmail.com>

* chore: update i18n

* feat: add chat title localization for improved user experience in Chinese

Signed-off-by: Innei <tukon479@gmail.com>

---------

Signed-off-by: Innei <tukon479@gmail.com>
Co-authored-by: Innei <tukon479@gmail.com>
2025-12-24 12:55:12 +08:00
LobeHub Bot bd9a38cda7 🤖 style: update i18n (#10519)
💄 style: update i18n

Co-authored-by: canisminor1990 <17870709+canisminor1990@users.noreply.github.com>
2025-12-01 11:45:01 +08:00
LobeHub Bot 1c9f0d9b72 🤖 style: update i18n (#10291)
💄 style: update i18n

Co-authored-by: canisminor1990 <17870709+canisminor1990@users.noreply.github.com>
2025-11-19 09:22:50 +08:00
LobeHub Bot deb6b5e5a0 🤖 style: update i18n (#10100) 2025-11-08 11:27:16 +08:00
LobeHub Bot 80b0999467 🤖 style: update i18n (#9832)
💄 style: update i18n

Co-authored-by: canisminor1990 <17870709+canisminor1990@users.noreply.github.com>
2025-10-22 11:05:01 +08:00
Arvin Xu 16de38ae32 💄 style: improve update notification (#9717)
* refactor tool source

* Revert "refactor tool source"

This reverts commit a867118a52.

* improve update notification

* improve locale
2025-10-16 00:00:35 +08:00
LobeHub Bot 02096ea82d 🤖 style: update i18n (#9665)
💄 style: update i18n

Co-authored-by: canisminor1990 <17870709+canisminor1990@users.noreply.github.com>
2025-10-12 16:07:23 +08:00
LobeHub Bot c0974ea955 🤖 style: update i18n (#9580) 2025-10-06 06:23:38 +02:00
LobeHub Bot 1080ff33aa 🤖 style: update i18n (#9095)
💄 style: update i18n

Co-authored-by: canisminor1990 <17870709+canisminor1990@users.noreply.github.com>
2025-09-05 10:23:31 +08:00
Arvin Xu 6d531d7cc1 💄 style: support different model tabs (#8693) 2025-08-06 16:49:12 +08:00
hedeqiang 4db6485410 feat: support aihubmix provider (#8038)
* feata: support aihubmix provider

* style: update aihubmix

* style: update LobeOpenAICompatibleFactory

* Delete docs/usage/providers/aihubmix.mdx

* style: update model list

* style: i18n

* Update aihubmix.zh-CN.mdx

* Update aihubmix.ts

* ♻️ refactor: rename agent runtime to model runtime

*  feat: support aihubmix as router runtime

* update App header

* update

* update models

* update models link

* update i18n

* fix

* fix

---------

Co-authored-by: Arvin Xu <arvinx@foxmail.com>
2025-08-01 09:52:11 +08:00
YuTengjing 095de57675 feat: support AI Image (#8312)
Co-authored-by: canisminor1990 <i@canisminor.cc>
2025-07-14 20:29:57 +08:00
Arvin Xu 5bf0921246 feat: support OpenAI Responses API mode (#8048)
*  feat: support response api mode

* update

* support openai stream o series thinking

* add ui config for response api mode

* improve ui config for responses api mode

* update locale

* fix tests

* fix update issue

* update db schema

* fix openai Response Inputs

* fix tests
2025-06-08 16:53:46 +08:00
Arvin Xu 44d63b87a6 🐛 fix: refactor ollama pull flow and model service (#7330)
* refactor ollama pull flow and model service

* fix key vaults error

* refactor ollama model fetcher

* improve auto refresh for models

* fix error detail

* fix model fetch

* fix model fetch

* fix model checker

* fix model client fetch issue
2025-04-08 10:10:08 +08:00
Arvin Xu 7f8c3791a4 🐛 fix: fix custom ai provider sdk type (#6712)
* fix issue

* update locale
2025-03-05 11:46:23 +08:00
Arvin Xu a0a95927d4 feat: support google vertex ai as a new provider (#4487)
*  feat: add vertex ai model runtime

* update

* support vertex ai with api key

* update models

* fix lint

* fix

* fix again

* Create Dockerfile.pglite

* Create docker-pglite.yml

* Update docker-pglite.yml

* fix credentials

* Update docker-pglite.yml

* fix
2025-02-18 14:48:59 +08:00
Arvin Xu 30e010fe14 feat: add Azure AI as new Provider (#6214)
* add azure ai

* 初步完成 ui 侧集成

* support streaming

* fix lint

* add azure ai implement

* try to fix issue

* improve code

* support deployment name

* improve create provider

* update snapshot
2025-02-16 23:08:43 +08:00
Arvin Xu bf6699c422 💄 style: improve advanced params settings (#6149)
* support params

* update i18n

* update i18n

* fix title

* fix warning
2025-02-14 21:48:24 +08:00
Arvin Xu d07423814b 🐛 fix: fix provider form api key (#6115)
* update provider form

* improve loading page
2025-02-14 01:23:35 +08:00
Arvin Xu 257fda1231 🐛 fix: fix model fetch for spark and fix the support of model reset (#6080)
* fix spark fetch issue

* fix lint
2025-02-13 13:43:29 +08:00
Arvin Xu 673109ba46 💄 style: update edtion tag display and improve prerender (#5800)
* try to remove chat force-static

* update locale

* try to remove chat force-static

* try to remove setting provider page force-static
2025-02-06 23:03:14 +08:00
Zhijie He 3499403fa0 feat: add reasoning tag support for custom models via UI or ENV (#5684) 2025-02-05 08:59:45 +08:00
Arvin Xu cd09a074af 🐛 fix: fix ollama intergration checker and client fetch issue (#5665)
* fix ollama

* add r1 models

* fix ollama error

* fix ollama client fetch error

* improve code

* refactor SetupGuide

* fix ollama client fetch issue

* update models

* update i18n

* fix ollama client fetch issue

* fix test
2025-02-02 17:36:21 +08:00
Arvin Xu c9715300ec 🐛 fix: fix debounce issue of provider config (#5557)
* style

* fix input

* improve validate

* fix build
2025-01-23 13:31:02 +08:00
Arvin Xu 9b303e0c6c 💄 style: improve model config form modal (#5438)
* improve model config modal

* improve

* format

* improve form rules
2025-01-15 01:03:57 +08:00
Arvin Xu b7edbd319c 🐛 fix: fix some providers issues (#5429)
* Update package.json

* Update package.json

* fix null issue

* update locale

* fix model ability display

* update locale
2025-01-14 22:18:26 +08:00
Arvin Xu 9c5822a1fe 🐛 fix: fix released at for undefined condition (#5391) 2025-01-11 06:47:36 +08:00
Arvin Xu 2b1b2a2213 🐛 fix: fix *_MODEL_LIST env in new provider (#5350)
* update

* fix model list

* fix tests

* fix tests

* improve code

* update locales

* update locales

* fix

* fix ui
2025-01-10 14:51:39 +08:00
Arvin Xu 7f8a1b6ea4 🐛 fix: add provider id validate (#5336)
* fix loading issue

* fix provider id issue
2025-01-08 12:33:39 +08:00
Arvin Xu bde6d64fa4 feat: brand new AI provider (#5158)
*  feat: 完成 ai provider 部分的新增、menu 列表、卡片列表与开启关闭,支持 model 开关,并优化列表展示,支持 model 拉取。完成 ai models 新增和修改逻辑、排序完整实现,优化开关体验,完成 chat model select 实现。完成 provider 的配置修改与删除开发

update config

fix

add sdk type

fix toggle search issue

improve enable

优化模型开关操作体验

feat: 完成 chat model select 部分实现

fix auth

兼容 client db 废弃模式

fix test

完成 provider 的配置修改与删除开发

clean

* 修正未登录态的数据

* fix db sql

* fix lint

* update

* improve loading

* improve model list empty state
2025-01-08 00:26:55 +08:00
Arvin Xu 641420bcba 👷 build: update i18n and fix docker build (#5253) 2025-01-01 16:02:59 +08:00
Arvin Xu 4b7dbc0d5b 💄 style: improve i18n (#4857)
* style: improve i18n

* 📝 docs: update docs

* 📝 docs: update docs
2024-12-01 22:30:36 +08:00
BrandonStudio efb7adf89a feat: Support Cloudflare Workers AI (#3402)
* Delete .nvmrc

* feat: Add Cloudflare as a model provider

This commit adds support for Cloudflare as a model provider. It includes changes to the `ModelProvider` enum, the `UserKeyVaults` interface, the `getServerGlobalConfig` function, the `DEFAULT_LLM_CONFIG` constant, the `getLLMConfig` function, the `AgentRuntime` class, and the `DEFAULT_MODEL_PROVIDER_LIST` constant.

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix icon

* fix

* Create .nvmrc

* Delete src/config/modelProviders/.nvmrc

* CF -> CLOUDFLARE

* revert

* chore: Update agentRuntime.ts and auth.ts to support Cloudflare account ID in payload

* Add provider setting

* fix

* Update cloudflare.ts

* fix

* Update cloudflare.ts

* accountID

* fix

* i18n

* save changes

* commit check

* disable function calling for now

* does not catch errors when fetching models

* ready to add base url

* commit check

* revert change

* revert string boolean check

* fix type error on Vercel.
refer to https://github.com/vercel/next.js/issues/38736#issuecomment-1278917422

* i18n by groq/llama-3.1-8b-instant

* rename env var

* add test

* Revert changes that are not relavant to Cloudflare and result in merge conflicts.

* add test for models()

* move helper code to standalone file

* add test for helper methods

* remove encoder

* Merge main into cf-chat-m

* remove brand

* remove template comment

* add provider card

* Update lobe-icons

* Fix setting layout

* minor modification of model list

---------

Co-authored-by: sxjeru <sxjeru@gmail.com>
2024-11-12 01:21:16 +08:00
Zhijie He 7a4e0b3e92 feat: add SenseNova (商汤) model provider (#4162)
*  feat: add SenseCore (商汤) model provider

* 💄 style: update model list, fix `frequency_penalty`, `temperature`, `top_p` value range

* 🔨 chore: add jwt api token calculate

* 🔨 chore: remove `SENSECORE_API_KEY` ENV

* Update authToken.ts

* 🔨 chore: add debug logs

* ♻️ refactor: rollback changes, remove JWT

* 👷 build: add docker ENV, `SENSECORE_API_KEY` & `SENSECORE_MODEL_LIST`

* 🔨 chore: cleanup

* 🔨 chore: cleanup

* 🔨 chore: rename `sensecore` to `sensenova`

* 💄 style: update model list

* 💄 style: sort model list

*  feat: add jwt token generator for SenseNova

* ♻️ refactor: support two different type of `API TOKEN`

* Update authToken.ts

* 💄 style: add custom form for SenseNova

* 💄 style: fix custom form calling & adjust icon size

* 🐛 fix: fix CI error

* 💄 style: adjust icon size

* 🐛 fix: fix `sensenovaAccessKeySecret` not store in key

* 🐛 fix: try to fix loading key from ENV

* 🐛 fix: try to fix loading key from ENV

* 🐛 fix: seems be the root cause, typo

* 💄 style: remove title

* 🐛 fix: fix build error

* 🔨 chore: add i18n

* 🐛 fix: fix PR conflicts

* 🐛 fix: fix route ci error

* 🐛 fix: fix PR conflicts

* ♻️ refactor: move `generateJwtTokenSenseNova` to `LobeSenseNovaAI.generateJWTToken`

* Update index.ts

* rollback changes, submit wrong branch

* 🐛 fix: fix CI error, refactor the chat webapi

* ♻️ refactor: replace deprecated module `crypto-js` to `crypto-es`

* Revert "♻️ refactor: replace deprecated module `crypto-js` to `crypto-es`"

This reverts commit 9655c92121.

* ♻️ refactor: replace `crypto-js` to `jose`, only support ENV now (Part 1)

* Revert "♻️ refactor: replace `crypto-js` to `jose`, only support ENV now (Part 1)"

* ♻️ refactor: using `jose` to generate the APIToken

* 🔨 chore: remove debug code

* 🔨 chore: cleanup package, remove `crypto-js`

* 🔨 chore: add unit test

* 🔨 chore: optimize jwt generate process
2024-10-25 21:04:26 +08:00
Arvin Xu d3109318c8 feat: add HuggingFace Model Provider (#4225)
* 🚧 wip: add hf runtime

* 💄 style: add HUGGINGFACE_MODEL_LIST

* 🚨 chore: fix lint

* 🎨 chore: fix code

* support handle stream error

* fix

* add i18n

* refactor with openai runtime

* refactor: refactor the HF implement

* 🐛 fix: fix

* 🐛 fix: fix

* 🐛 fix: fix
2024-10-12 22:35:13 +08:00
Arvin Xu 4483599683 feat: add wenxin model provider (#4018)
* add wenxinyiyan

* fix locale

* 🐛 fix: support weinxin error handle

* 🚨 chore: fix lint

* 🚨 chore: fix lint

* 优化 api key 提示弹窗

* Update wenxin.ts

* Update wenxin.ts

* Update providers.tsx

* Update index.ts

* Update wenxin.ts

* add i18n

* update i18n

* fix QuotaLimitReached

* add quota limit message

* fix i18n

* fix i18n

* fix i18n

* fix ERNIE-3.5 id

* fix rate limit code and smoothing

---------

Co-authored-by: LovelyGuYiMeng <76251800+LovelyGuYiMeng@users.noreply.github.com>
2024-09-30 14:48:33 +08:00