- Improve title tags with specific page context (Getting Started)
- Enhance meta descriptions to be more action-oriented
- Fix Open Graph locale format (zh_CN instead of zh-CN)
- Add specific OG titles and descriptions per language
- Update siteName to 'FastGPT Documentation'
- Unify Twitter Card image path to /og-image.png
- Add language-specific alt text for OG images
These changes improve:
- Documentation discoverability in search engines
- Social sharing preview quality
- AI system understanding of documentation content
- User engagement from search results
Co-authored-by: archer <archer@archerdeMac-mini.local>
* doc
* wip(next): upgrade next16 with next-rspack to build (#6501)
* wip(next): upgrade next16 with next-rspack to build
* wip: fix tsconfig path alias, bump various deps
* fix: test action pnpm version, immer dep
* fix: only use Rspack for develop environment
* lock
* fix: dataset choice hint (#6514)
* fix: dataset choice hint
* fix: regex replaceVarible remove useless match group
* fix: type check (#6515)
* test: perfect test cases for replaceVarible function in like case (#6516)
---------
Co-authored-by: archer <545436317@qq.com>
Co-authored-by: Ryo <whoeverimf5@gmail.com>
* feat(docs): add analytics tracking script support
- Add tracking script injection in document layout
- Support separate site IDs for CN and IO domains
- Add build-time environment variables for tracking config
- Requires GitHub secrets: DOC_TRACK_SRC, DOC_TRACK_CN, DOC_TRACK_IO
* fix(docs): simplify tracking to single site ID per build
---------
Co-authored-by: archer <archer@archerdeMac-mini.local>
* feat(docs): enable i18n language selector
* docs(i18n): translate introduction page to English
* fix(i18n): fix language switching issue by always showing locale prefix
* fix(docs): use relative paths for internal links to preserve language
* refactor(i18n): add getLocalizedPath helper to simplify URL generation
* refactor(i18n): make getLocalizedPath respect hideLocale config
* feat(i18n): fallback to default language when translation missing, keep URL unchanged
* feat(i18n): fix language loss in navigation and add language selector
- Set hideLocale to 'never' to always show language prefix
- Add localized-navigation.ts with useLocalizedRouter hook
- Update all navigation points to preserve language:
1. Tab navigation (already using getLocalizedPath)
2. Sidebar navigation (handled by Fumadocs)
3. Home/404 redirects (using getLocalizedPath)
4. MDX Redirect component (using useLocalizedRouter)
5. Old page redirects (updated not-found.tsx)
6. Document links (custom LocalizedLink component)
- Configure language selector in layout.config.tsx
- Add LOCALIZED_NAVIGATION.md documentation
* fix(i18n): fix type errors and useEffect dependencies
* refactor(i18n): move redirects to middleware for SSR support
- Move old path redirects from client-side (not-found.tsx) to server-side (middleware.ts)
- Use 301 permanent redirects for better SEO
- Preserve language prefix in redirects
- Fix SSR issue caused by client-side redirects
* refactor(i18n): clean up not-found.tsx, remove duplicate redirect maps
- Remove duplicate exactMap and prefixMap (now in middleware)
- Keep dynamic meta.json lookup for unknown pages
- Simplify to only handle fallback cases
- Two-layer approach: middleware (SSR) + not-found (dynamic)
* refactor(i18n): simplify not-found to always redirect to introduction
- Remove dynamic meta.json lookup
- Always redirect to introduction page on 404
- Ensures no 404 pages are shown
- Keep language prefix in redirect
* fix(i18n): fix middleware type error with ts-expect-error
- Add @ts-expect-error for Fumadocs middleware signature mismatch
- Fix syntax error in config matcher (remove literal \n)
---------
Co-authored-by: archer <archer@archerdeMac-mini.local>
* fix(document): improve mobile sidebar style and UX
- Add icons to 6 navigation tabs (BookOpen, Code, Lightbulb, CircleHelp, Scale, History)
- Reduce mobile sidebar padding and separator spacing
- Fix icon container size in RootToggle dropdown (36px → 20px)
- Keep sidebar open when switching between top-level tabs
- Remove top gradient mask on mobile sidebar viewport
- Fix long URL overflow in article content on mobile
- Fix TOC popover trigger text overflow on mobile
* docs: 中国大陆 → 中国大陆版
* docs: 海外版→国际版, 国内版→中国大陆版
---------
Co-authored-by: archer <archer@archerdeMac-mini.local>
* next 15
* lock
* feat: rename .d.ts to .ts for Next 15 compatibility
- Rename 104 .d.ts files to .ts (Next 15 no longer supports .d.ts in src)
- Remove 5 redundant .d.ts files that had .ts counterparts
- Update all import paths: remove .d suffix from 100 import statements
- Update tsconfig.json include patterns across all packages
- Add pnpm overrides to unify react@18.3.1 across monorepo
- Fix react version mismatch (packages/global and packages/service were resolving to react@19.1.1)
* fix: resolve 61 TypeScript errors from .d.ts to .ts migration
- Fix broken imports using non-relative module paths (e.g. 'support/user/team/type' → relative paths)
- Remove unused/dead imports referencing deleted modules
- Fix duplicate identifiers (show_emptyChat, concatMd, TrainingModeEnum)
- Add missing imports (BoxProps, GroupMemberRole, UsageSourceEnum, dashboard_evaluation)
- Fix generic type constraints (OutLinkEditType, createShareChat)
- Replace removed types with correct alternatives (ChatModelItemType → LLMModelItemType)
- Delete 5 dead code files with 0 references
- Add global type declaration for countTrackQueue
- Fix nullable type narrowing (sourceMember, ParentIdType, optional app fields)
* refactor: replace as ClientSession assertion with proper type narrowing via Omit & intersection
* fix: remove experimental.workerThreads to fix DataCloneError in Next 15 static generation
Next 15 worker threads attempt to structuredClone the config object,
which fails on the webpack function. workerThreads is not needed for
the build to work correctly.
* Update document/content/docs/upgrading/4-14/4148.mdx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fix: ts
* update next config
* update next
* fix: dockerfile
* fix: comment
---------
Co-authored-by: Archer <c121914yu@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fix: relax MCP tool JSON Schema Zod validation to accept any type values
MCP servers may return JSON Schema with type values outside the
standard 6 types. Use z.any() for type and items fields to avoid
500 errors on /api/core/app/mcpTools/getTools.
- Remove SchemaInputValueTypeSchema enum and SchemaInputValueType
- Remove unnecessary .passthrough()
- Use plain string type for function parameters
Fixes#6451
* fix: mcp adapt
---------
Co-authored-by: c121914yu <yucongcong_test@163.com>
These plugins provided OpenAI-compatible API wrappers for ChatGLM2 and
Baichuan2 models. Both are now obsolete:
- ChatGLM2 (2023) has been superseded by GLM-4 series with official
OpenAI-compatible APIs
- Baichuan2 (2023) has been superseded by Baichuan 4 with official
OpenAI-compatible APIs
FastGPT's model system already supports any OpenAI-compatible endpoint
via requestUrl/requestAuth configuration — no self-hosted wrapper needed.
Zero references to these plugins exist in the codebase.
* docs: sync English README with Chinese version
- Update English README to match Chinese README content
- Translate core features, usage, and other sections
- Keep existing formatting and structure
* docs: add Indonesian, Thai, Vietnamese README and update navigation links
- Add README_id.md (Bahasa Indonesia)
- Add README_th.md (ไทย)
- Add README_vi.md (Tiếng Việt)
- Update navigation links in README.md and README_en.md
This PR adds support for Southeast Asian languages to improve accessibility for users in Indonesia, Thailand, Vietnam and other ASEAN countries.
* Update README_id.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update README_id.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fix: correct HTML syntax errors in translated README files
- Fix img tag syntax in README_id.md (line 146)
- Fix img tag syntax in README_th.md (lines 31, 136)
* docs: add missing sections to match Chinese version
- Add RoadMap section (💡 RoadMap)
- Add Join Us section (🏘️ Join Us)
- Add Others section (👀 Others)
- Apply to all 4 language versions (EN, ID, TH, VI)
* fix: rewrite README_en.md to match Chinese version exactly
- Fix duplicate content issue
- Ensure complete alignment with Chinese README
- Add all sections: Roadmap, Development, Join Us, Others, etc.
* docs: complete rewrite all translations to match Chinese exactly
- Rewrite README_en.md (English)
- Rewrite README_id.md (Indonesian)
- Rewrite README_th.md (Thai)
- Rewrite README_vi.md (Vietnamese)
All translations now strictly aligned with Chinese version:
- Quick Start
- Usage
- Core Features
- Our Projects & Links
- Third-party Ecosystem
- Community
- Contributors
- Star History
- License
* docs: rewrite English README to exactly match Chinese version
Sections (9 total, aligned with CN):
1. Quick Start
2. 🛸 Usage
3. 💡 Core Features
4. 💪 Our Projects & Links
5. 🌿 Third-party Ecosystem
6. 🏘️ Community
7. 🤝 Contributors
8. 🌟 Star History
9. License
* fix: correct translations to align with Chinese README
- Translate badge text from Chinese to respective languages (id/th/vi)
- Translate '返回顶部' (Back to Top) buttons to respective languages
- Fix mixed Chinese text in Indonesian README ('提交')
- Translate 'Assisted workflow generation' in all new files
- Translate 'Hybrid retrieval & reranking' in all new files
- Fix anchor links to match actual heading text
- Fix redundant 'open source license' in English README
- Keep README.md changes minimal (language links only)
* fix: rewrite Japanese README to align with Chinese version
- Complete rewrite to match current Chinese README structure
- Translate all badge text to Japanese
- Update description from 'knowledge base Q&A system' to 'AI Agent building platform'
- Add all 9 sections matching Chinese version
- Update language links to include all 6 languages
- Remove outdated sections (Development, Others, etc.)
---------
Co-authored-by: Developer <dev@example.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: OpenClaw Bot <bot@openclaw.ai>
- Update English README to match Chinese README content
- Translate core features, usage, and other sections
- Keep existing formatting and structure
Co-authored-by: Developer <dev@example.com>