Commit Graph

32 Commits

Author SHA1 Message Date
CanisMinor 4fa2ef410f feat: support TTS & STT (#443)
*  feat(tts): Add tts and stt basic features

*  feat(tts): Handle error

* 💄 style(tts): Add alert to error handler

* 🐛 fix(tts): Error display

* ♻️ refactor: refactor the openai initial code to the createBizOpenAI

* ♻️ refactor(tts): Refactor header config

*  feat: Add TTS voice preview

* 🐛 fix(tts): Fix header

* 🐛 fix: Fix api

---------

Co-authored-by: Arvin Xu <arvinx@foxmail.com>
2023-11-19 21:43:58 +08:00
Arvin Xu 87a030fb2c ⬆️ chore: upgrade nextjs to 14.0.2 (#467) 2023-11-17 03:10:07 +08:00
Asuka109 53e6589f8d ⬆️ build: update next to v14 (#434)
* ⬆️ build: bump next.js

* 🎨 style: organize next config to suppress eslint warnings

* 🐛 fix: ui flickering when using @ant-design/cssinjs

* 🧑‍💻 chore: suppress hydration warning by browser extensions
2023-11-09 12:59:54 +08:00
canisminor1990 81b3b2ad90 🔧 chore(workflow): Add agent/plugin readme list sync workflow 2023-11-03 14:10:08 +08:00
canisminor1990 a169234278 🔧 chore: Update next.config.mjs file
- Remove "productionBrowserSourceMaps" property
- Make "compress" property dependent on "isProd" variable
- Set "reactStrictMode" property to true
- Modify "images" property to set "unoptimized" based on "isProd" variable

These changes improve the configuration of the Next.js application.
2023-10-12 12:09:33 +08:00
canisminor1990 3e3090a765 feat(agent-card): Add and modify features for agent card
- Add and modify configurations, dependencies, styles, and metadata
- Remove and modify props and styles in AgentCardBanner, AvatarBanner, and Hero components
- Adjust height of elements in the layout

The changes are made to enhance the agent card feature in the market application.
2023-10-12 12:04:42 +08:00
canisminor1990 347ee86acb 🔧 chore: Add remotePatterns 2023-10-11 23:12:43 +08:00
Arvin Xu 5bbc87cee5 feat: support docker deploy (#283) 2023-10-11 03:26:19 +08:00
CanisMinor bf65c16460 🔧 chore: Update next.config.mjs 2023-10-11 02:54:10 +08:00
CanisMinor f206f3c292 🔧 chore: Use swcMinify 2023-10-11 02:22:17 +08:00
arvinxx da58abf3af 🔧 chore: add bundler analyzer 2023-09-30 23:44:39 +08:00
Arvin Xu f032112e3d ♻️ refactor: refactor the api router to app route handlers (#254)
* ♻️ refactor: refactor the api router to app route handlers

* 💚 refactor: refactor the runtime config

* 📝 docs: update document
2023-09-30 13:21:00 +08:00
Arvin Xu 65c6c93452 feat: add several analytics sdk (#244)
* 🚧 wip: add analytics env

*  feat: add several analytics sdk

* 📝 docs: update document
2023-09-27 22:24:59 +08:00
Arvin Xu 7028d62f07 ⬆️ chore: upgrade nextjs to 13.5 (#219)
* ⬆️ chore: 升级 nextjs 到 13.5

* 🔧 chore: fix theme not work correct after upgrade

* 🐛 fix: fix an url hash error when routing
2023-09-26 22:13:31 +08:00
Arvin Xu 1093063057 📝 docs: Update environment variables document (#240)
* ♻️ refactor: refactor the Analytics component

* 📝 docs: update environment variable document
2023-09-26 13:40:01 +08:00
Arvin Xu 2907303359 🚚 refactor: move dir from page to app and remove .page suffix (#236)
* 🚚 chore: move page file to appp dir

* ♻️ refactor: refactor *.page.tsx to *.tsx

* 🎨 chore: improve import
2023-09-26 12:12:41 +08:00
arvinxx d62f1b3269 🐛 fix: fix client config 2023-09-12 02:13:10 +08:00
Arvin Xu bda6732abc feat: Support Azure OpenAI Deploy env (#183)
*  feat: support azure deploy config

* ♻️ refactor: refactor code

* 🐛 fix: fix error

*  test: fix test
2023-09-12 02:00:33 +08:00
Arvin Xu f0c9532bdf feat: support Azure OpenAI (#177)
* 💄 style: 拆分独立的 LLM Tab

*  feat: 支持 Azure OpenAI 调用

* 🚨 ci: fix types

* 🗃️ fix: 补充数据迁移逻辑

* 🚸 style: 优化对用户的表达感知

* 💄 style: fix layout

* 🚨 ci: fix circular dependencies

*  test: fix test

* 🎨 chore: clean storage
2023-09-10 22:18:43 +08:00
Arvin Xu 23efee3e13 ♻️ refactor: refactor plugin request (#89) 2023-08-21 13:28:45 +08:00
arvinxx 7c25d3a51a 🔧 chore: update plugin gateway url 2023-08-19 12:50:52 +08:00
Arvin Xu 4f034ddacf 🔥 Refactor: 剥离插件服务端路由,为实现独立的插件调用做准备 (#82)
* 🔥 refactor: remove /api/plugins function

* ♻️ refactor: refactor the plugin implement to separate the server runner
2023-08-16 23:55:39 +08:00
Arvin Xu 4596f12b33 feat: 优化插件模式下的用户体验 (#13) 2023-07-23 22:26:52 +08:00
arvinxx d112166385 🔧 chore: dev 不开启 pwa 2023-07-23 15:54:02 +08:00
arvinxx 4fb99679f4 🐛 fix: fix import 2023-07-22 20:59:27 +08:00
arvinxx 8aad92d67b feat: 支持 pwa 模式 2023-07-22 20:54:35 +08:00
Arvin Xu 390ebfec80 🐛 fix: 使用 client 加载 i18n 以解决 nextjs 集成问题 (#10)
* 🐛 fix: 尝试使用原始 i18n 加载方式

* 🏷️ chore: fix type

* 🔥 chore: clean file

* ♻️ refactor: 清理项目,优化路径依赖关系

* 🚨 chore: fix lint
2023-07-17 22:56:51 +08:00
canisminor1990 9be079a425 🔧 chore: Update 2023-07-17 19:47:07 +08:00
canisminor1990 0b7baf4c58 🐛 fix: Fix title 2023-07-17 14:56:03 +08:00
canisminor1990 23524b200a ♻️ refactor: Update configurations, remove unused files, and adjust components and selectors
The code changes involve updating configurations, removing unused files, and making adjustments to components and selectors. These changes are done to improve the overall structure and organization of the project.
2023-07-16 00:31:53 +08:00
canisminor1990 53cd87c8ba feat(i18n): Add i18next and lobe-i18n internationalization configuration files and update dependencies
This commit introduces new configuration files for internationalization,
deletes one file, modifies existing files, and adds new files. The changes
also involve importing dependencies and updating app and document pages.
Additional libraries and modules are used in a React application. The Header
component is modified, the index page is updated for server-side translations,
and the tsconfig.json file is modified.

Description:
- Added configuration files for internationalization
- Deleted one file
- Modified existing files
- Added new files
- Imported dependencies
- Updated app and document pages
- Used additional libraries and modules in a React application
- Modified the Header component
- Updated the index page for server-side translations
- Modified the tsconfig.json file.
2023-07-15 18:22:47 +08:00
Arvin Xu 3db700a3b0 sparkles: feat: Chat v0.1 (#7)
---------

Co-authored-by: canisminor1990 <i@canisminor.cc>
2023-07-11 19:46:11 +08:00