mirror of
https://github.com/labring/FastGPT.git
synced 2026-05-07 01:02:55 +08:00
76d6234de6
* Agent features (#6345) * Test agent (#6220) * squash: compress all commits into one * feat: plan response in ui * response ui * perf: agent config * merge * tool select ux * perf: chat ui * perf: agent editform * tmp code * feat: save chat * Complete agent parent (#6049) * add role and tools filling * add: file-upload --------- Co-authored-by: xxyyh <2289112474@qq> * perf: top agent code * top agent (#6062) Co-authored-by: xxyyh <2289112474@qq> * fix: ts * skill editor ui * ui * perf: rewrite type with zod * skill edit ui * skill agent (#6089) * cp skill chat * rebasefdf933dand add skill chat * 1. skill 的 CRUD 2. skill 的信息渲染到前端界面 * solve comment * remove chatid and chatItemId * skill match * perf: skill manage * fix: ts --------- Co-authored-by: xxyyh <2289112474@qq> Co-authored-by: archer <545436317@qq.com> * fix: ts * fix: loop import * skill tool config (#6114) Co-authored-by: xxyyh <2289112474@qq> * feat: load tool in agent * skill memory (#6126) Co-authored-by: xxyyh <2289112474@qq> * perf: agent skill editor * perf: helperbot ui * agent code * perf: context * fix: request context * agent usage * perf: agent context and pause * perf: plan response * Test agent sigle skill (#6184) * feat:top box fill * prompt fix --------- Co-authored-by: xxyyh <2289112474@qq> * perf: agent chat ui * Test agent new (#6219) * have-replan * agent --------- Co-authored-by: xxyyh <2289112474@qq> * fix: ts --------- Co-authored-by: YeYuheng <57035043+YYH211@users.noreply.github.com> Co-authored-by: xxyyh <2289112474@qq> * feat: consolidate agent and MCP improvements This commit consolidates 17 commits including: - MCP tools enhancements and fixes - Agent system improvements and optimizations - Auth limit and prompt updates - Tool response compression and error tracking - Simple app adaptation - Code quality improvements (TypeScript, ESLint, Zod) - Version type migration to schema - Remove deprecated useRequest2 - Add LLM error tracking - Toolset ID validation fixes --------- Co-authored-by: YeYuheng <57035043+YYH211@users.noreply.github.com> Co-authored-by: xxyyh <2289112474@qq> * fix: transform avatar copy;perf: filter invalid tool * update llm response storage time * fix: openapi schema * update skill desc * feat: cache hit data * i18n * lock * chat logs support error filter & user search (#6373) * chat log support searching by user name * support error filter * fix * fix overflow * optimize * fix init script * fix * perf: get log users * updat ecomment * fix: ts * fix: test --------- Co-authored-by: archer <545436317@qq.com> * Fix: agent (#6376) * Agent features (#6345) * Test agent (#6220) * squash: compress all commits into one * feat: plan response in ui * response ui * perf: agent config * merge * tool select ux * perf: chat ui * perf: agent editform * tmp code * feat: save chat * Complete agent parent (#6049) * add role and tools filling * add: file-upload --------- Co-authored-by: xxyyh <2289112474@qq> * perf: top agent code * top agent (#6062) Co-authored-by: xxyyh <2289112474@qq> * fix: ts * skill editor ui * ui * perf: rewrite type with zod * skill edit ui * skill agent (#6089) * cp skill chat * rebasefdf933dand add skill chat * 1. skill 的 CRUD 2. skill 的信息渲染到前端界面 * solve comment * remove chatid and chatItemId * skill match * perf: skill manage * fix: ts --------- Co-authored-by: xxyyh <2289112474@qq> Co-authored-by: archer <545436317@qq.com> * fix: ts * fix: loop import * skill tool config (#6114) Co-authored-by: xxyyh <2289112474@qq> * feat: load tool in agent * skill memory (#6126) Co-authored-by: xxyyh <2289112474@qq> * perf: agent skill editor * perf: helperbot ui * agent code * perf: context * fix: request context * agent usage * perf: agent context and pause * perf: plan response * Test agent sigle skill (#6184) * feat:top box fill * prompt fix --------- Co-authored-by: xxyyh <2289112474@qq> * perf: agent chat ui * Test agent new (#6219) * have-replan * agent --------- Co-authored-by: xxyyh <2289112474@qq> * fix: ts --------- Co-authored-by: YeYuheng <57035043+YYH211@users.noreply.github.com> Co-authored-by: xxyyh <2289112474@qq> * feat: consolidate agent and MCP improvements This commit consolidates 17 commits including: - MCP tools enhancements and fixes - Agent system improvements and optimizations - Auth limit and prompt updates - Tool response compression and error tracking - Simple app adaptation - Code quality improvements (TypeScript, ESLint, Zod) - Version type migration to schema - Remove deprecated useRequest2 - Add LLM error tracking - Toolset ID validation fixes --------- Co-authored-by: YeYuheng <57035043+YYH211@users.noreply.github.com> Co-authored-by: xxyyh <2289112474@qq> * 1. 把辅助生成前端上的 system prompt 加入到上下文中 2. mcp工具的前端渲染(图标) 3. 文件读取工具和文件上传进行关联 4. 添加了辅助生成返回格式出错的重试方案 5. ask 不出现在 plan 步骤中 6. 添加了辅助生成的头像和交互 UI * fix:read_file * helperbot ui * ts error * helper ui * delete Unused import * perf: helper bot * lock --------- Co-authored-by: Archer <545436317@qq.com> Co-authored-by: xxyyh <2289112474@qq> * fix date variable required & model auth (#6386) * fix date variable required & model auth * doc * feat: add chat id to finish callback * fix: iphone safari shareId (#6387) * fix: iphone safari shareId * fix: mcp file list can't setting * fix: reason output field * fix: skip JSON validation for HTTP tool body with variable (#6392) * fix: skip JSON validation for HTTP tool body with variable * doc * workflow fitview * perf: selecting memory * perf: cp api * ui * perf: toolcall auto adapt * fix: catch workflow error * fix: ts * perf: pagination type * remove * ignore * update doc * fix: simple app tool select * add default avatar to logs user * perf: loading user * select dataset ui * rename version * feat: add global/common test * perf: packages/global/common test * feat: package/global/ai,app test * add global/chat test * global/core test * global/core test * feat: packages/global all test * perf: test * add server api test * perf: init shell * perf: init4150 shell * remove invalid code * update doc * remove log * fix: chat effect * fix: plan fake tool (#6398) * 1. 提示词防注入功能 2. 无工具不进入 plan,防止虚拟工具生成 * Agent-dataset * dataset * dataset presetInfo * prefix * perf: prompt --------- Co-authored-by: xxyyh <2289112474@qq> Co-authored-by: archer <545436317@qq.com> * fix: review * adapt kimi2.5 think toolcall * feat: invoke fastgpt user info (#6403) feat: invoke fastgpt user info * fix: invoke fastgpt user info return orgs (#6404) * skill and version * retry helperbot (#6405) Co-authored-by: xxyyh <2289112474@qq> * update template * remove log * doc * update doc * doc * perf: internal ip check * adapt get paginationRecords * tool call adapt * fix: test * doc * fix: agent initial version * adapt completions v1 * feat: instrumentation check * rename skill * add workflow demo mode tracks (#6407) * chore: 统一 skills 目录命名为小写 将 .claude/Skills/ 重命名为 .claude/skills/ 以保持命名一致性。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * add workflow demo mode tracks * code * optimize * fix: improve workflowDemoTrack based on PR review - Add comment to empty catch block for maintainability - Add @param docs to onDemoChange clarifying nodeCount usage - Replace silent .catch with console.debug for dev debugging - Handle appId changes by reporting old data before re-init Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: archer <545436317@qq.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> * remove repeat skill * fix(workflow): filter out orphan edges to prevent runtime errors (#6399) * fix(workflow): filter out orphan edges to prevent runtime errors Runtime edges that reference non-existent nodes (orphan edges) can cause unexpected behavior or crashes during workflow dispatch. This change adds a pre-check to filter out such edges before execution begins, ensuring system stability even with inconsistent graph data. * fix(workflow): enhance orphan edge filtering with logging and tests - Refactor: Extract logic to 'filterOrphanEdges' in utils.ts for better reusability - Feat: Add performance monitoring (warn if >100ms) and comprehensive logging - Feat: Support detailed edge inspection in debug mode - Docs: Add JSDoc explaining causes of orphan edges (migration, manual edits) - Test: Add unit tests covering edge cases and performance (1000 edges) Addresses PR review feedback regarding logging, variable naming, and testing." * move code * move code * add more unit test --------- Co-authored-by: archer <545436317@qq.com> * test * perf: test * add server/common/string test * fix: resolve $ref references in MCP tool input schemas (#6395) (#6409) * fix: resolve $ref references in MCP tool input schemas (#6395) * add test code --------- Co-authored-by: archer <545436317@qq.com> * chore(docs): add fastgpt, fastgpt-plugin version choice guide (#6411) * chore(doc): add fastgpt version description * doc * doc --------- Co-authored-by: archer <545436317@qq.com> * fix:dataset cite and description info (#6410) * 1. 添加知识库引用(plan 步骤和直接知识库调用) 2. 提示词框中的@知识库工具 3. plan 中 step 的 description dataset_search 改为中文 * fix: i18n * prompt * prompt --------- Co-authored-by: xxyyh <2289112474@qq> * fix: tool call * perf: workflow props * fix: merge ECharts toolbox options instead of overwriting (#6269) (#6412) * feat: integrate logtape and otel (#6400) * fix: deps * feat(logger): integrate logtape and otel * wip(log): add basic infras logs * wip(log): add request id and inject it into context * wip(log): add basic tx logs * wip(log): migrate * wip(log): category * wip(log): more sub category * fix: type * fix: sessionRun * fix: export getLogger from client.ts * chore: improve logs * docs: update signoz and changelog * change type * fix: ts * remove skill.md * fix: lockfile specifier * fix: test --------- Co-authored-by: archer <545436317@qq.com> * init log * doc * remove invalid log * fix: review * template * replace new log * fix: ts * remove log * chore: migrate all addLog to logtape * move skill * chore: migrate all addLog to logtape (#6417) * update skill * remove log * fix: tool check --------- Co-authored-by: YeYuheng <57035043+YYH211@users.noreply.github.com> Co-authored-by: xxyyh <2289112474@qq> Co-authored-by: heheer <heheer@sealos.io> Co-authored-by: Finley Ge <32237950+FinleyGe@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: xuyafei1996 <54217479+xuyafei1996@users.noreply.github.com> Co-authored-by: ToukoYui <2331631097@qq.com> Co-authored-by: roy <whoeverimf5@gmail.com>
215 lines
10 KiB
JSON
215 lines
10 KiB
JSON
{
|
|
"AI_input_is_empty": "传入 AI 节点的内容为空",
|
|
"Delete_all": "清空词库",
|
|
"LLM_model_response_empty": "模型流响应为空,请检查模型流输出是否正常",
|
|
"Next": "下一个",
|
|
"Previous": "上一个",
|
|
"agent_plan_continue": "继续规划",
|
|
"ai_reasoning": "思考过程",
|
|
"back_to_text": "返回输入",
|
|
"balance_not_enough_pause": "由于 AI 积分不足,暂停运行工作流",
|
|
"chat.quote.No Data": "找不到该文件",
|
|
"chat.quote.deleted": "该数据已被删除~",
|
|
"chat.waiting_for_response": "正在努力思考中",
|
|
"chat_history": "聊天记录",
|
|
"chat_input_guide_lexicon_is_empty": "还没有配置词库",
|
|
"chat_test_app": "调试-{{name}}",
|
|
"citations": "{{num}}条引用",
|
|
"clear_input_value": "清空输入",
|
|
"click_contextual_preview": "点击查看上下文预览",
|
|
"click_to_add_url": "输入文件链接",
|
|
"completion_finish_close": "请求关闭",
|
|
"completion_finish_content_filter": "触发安全风控",
|
|
"completion_finish_error": "请求错误",
|
|
"completion_finish_function_call": "函数调用",
|
|
"completion_finish_length": "超出回复限制",
|
|
"completion_finish_null": "未知",
|
|
"completion_finish_reason": "完成原因",
|
|
"completion_finish_stop": "正常完成",
|
|
"completion_finish_tool_calls": "工具调用",
|
|
"compress_llm_messages": "上下文压缩",
|
|
"compress_llm_usage": "文本压缩输入输出 tokens",
|
|
"compress_llm_usage_point": "文本压缩积分消耗",
|
|
"config_input_guide": "配置输入引导",
|
|
"config_input_guide_lexicon": "配置词库",
|
|
"config_input_guide_lexicon_title": "配置词库",
|
|
"confirm_clear_input_value": "确认清空表单内容?将会恢复默认值!",
|
|
"confirm_plan": "确认计划",
|
|
"confirm_to_clear_share_chat_history": "确认清空所有聊天记录?",
|
|
"content_empty": "内容为空",
|
|
"context_pick": "上下文选取",
|
|
"contextual": "{{num}}条上下文",
|
|
"contextual_preview": "上下文预览 {{num}} 条",
|
|
"continue_run": "继续运行",
|
|
"core.chat.moveCancel": "上滑取消",
|
|
"core.chat.shortSpeak": "说话时间太短",
|
|
"csv_input_lexicon_tip": "仅支持 CSV 批量导入,点击下载模板",
|
|
"custom_input_guide_url": "自定义词库地址",
|
|
"data_source": "来源知识库: {{name}}",
|
|
"dataset_quote_type error": "知识库引用类型错误,正确类型:{ datasetId: string }[]",
|
|
"dataset_search": "知识库检索",
|
|
"delete_all_input_guide_confirm": "确定要清空输入引导词库吗?",
|
|
"download_chunks": "下载数据",
|
|
"empty_directory": "这个目录已经没东西可选了~",
|
|
"error_message": "错误信息",
|
|
"file_amount_over": "超出最大文件数量 {{max}}",
|
|
"file_input": "系统文件",
|
|
"file_input_tip": "可通过【插件开始】节点的“文件链接”获取对应文件的链接",
|
|
"file_parse": "文件解析",
|
|
"history_slider.home.title": "聊天",
|
|
"home.chat_app": "首页聊天",
|
|
"home.chat_id": "会话ID",
|
|
"home.no_available_tools": "暂无可用工具",
|
|
"home.select_tools": "选择工具",
|
|
"home.tools": "工具:{{num}}",
|
|
"images_collection_not_supported": "图片数据集不支持打开原文",
|
|
"in_progress": "进行中",
|
|
"input_guide": "输入引导",
|
|
"input_guide_lexicon": "词库",
|
|
"input_guide_tip": "可以配置一些预设的问题。在用户输入问题时,会从这些预设问题中获取相关问题进行提示。",
|
|
"input_placeholder_phone": "输入问题",
|
|
"insert_input_guide,_some_data_already_exists": "有重复数据,已自动过滤,共插入 {{len}} 条数据",
|
|
"internal_variables_tip": "内部变量仅调试时可见",
|
|
"invalid_share_url": "无效的分享链接",
|
|
"is_chatting": "正在聊天中...请等待结束",
|
|
"items": "条",
|
|
"llm_request_detail": "LLM 请求详情",
|
|
"llm_request_ids": "LLM 请求详情",
|
|
"llm_tokens": "LLM tokens",
|
|
"log.error.collapse": "折叠",
|
|
"log.error.error_prefix": "报错信息",
|
|
"log.error.expand": "展开剩余",
|
|
"log.feedback.hide_feedback": "隐藏反馈",
|
|
"log.feedback.mark_as_read": "标为已读",
|
|
"log.feedback.read": "已读",
|
|
"log.feedback.show_feedback": "显示反馈",
|
|
"log.navigation.next": "下一条",
|
|
"log.navigation.previous": "上一条",
|
|
"master_agent_call": "主 agent 调用",
|
|
"module_runtime_and": "工作流总运行时间",
|
|
"multiple_AI_conversations": "多组 AI 对话",
|
|
"new_input_guide_lexicon": "新词库",
|
|
"no_invalid_app": "您账号下没有可用的应用",
|
|
"no_workflow_response": "没有运行数据",
|
|
"not_query": "缺少查询内容",
|
|
"not_select_file": "未选择文件",
|
|
"plan_agent": "规划 Agent",
|
|
"plan_check_tip": "规划已生成,您可继续对话来微调当前规划",
|
|
"plugins_output": "插件输出",
|
|
"press_to_speak": "按住说话",
|
|
"query_extension_IO_tokens": "问题优化输入/输出 Tokens",
|
|
"query_extension_result": "问题优化结果",
|
|
"question_tip": "从上到下,为各个模块的响应顺序",
|
|
"read_file": "文件解析",
|
|
"read_raw_source": "打开原文",
|
|
"reasoning_content": "思考过程",
|
|
"reflection_agent": "反思 Agent",
|
|
"release_cancel": "松开取消",
|
|
"release_send": "松开发送,上滑取消",
|
|
"request_body": "请求体",
|
|
"request_record_not_found": "未找到请求记录,可能已被清理(记录保留7天)",
|
|
"response.child total points": "子流程积分消耗",
|
|
"response.dataset_concat_length": "合并后总数",
|
|
"response.node_inputs": "节点输入",
|
|
"response.node_name": "名称",
|
|
"response_content": "响应内容",
|
|
"response_embedding_model": "向量模型",
|
|
"response_embedding_model_tokens": "向量模型 Tokens",
|
|
"response_hybrid_weight": "语义检索 : 全文检索 = {{emb}} : {{text}}",
|
|
"response_rerank_tokens": "重排模型 Tokens",
|
|
"response_search_results": "搜索结果({{len}})",
|
|
"search_results": "搜索结果",
|
|
"select": "选择",
|
|
"select_file": "上传文件",
|
|
"select_file_img": "上传文件/图片",
|
|
"select_img": "上传图片",
|
|
"setting.copyright.basic_configuration": "基础配置",
|
|
"setting.copyright.copyright_configuration": "版权配置",
|
|
"setting.copyright.diagram": "示意图",
|
|
"setting.copyright.file_size_exceeds_limit": "文件大小超出限制,最大支持 {{maxSize}}",
|
|
"setting.copyright.immediate_upload_required": "此功能需要立即上传",
|
|
"setting.copyright.logo": "Logo",
|
|
"setting.copyright.preview_fail": "文件预览失败",
|
|
"setting.copyright.save_fail": "Logo 保存失败",
|
|
"setting.copyright.save_success": "Logo 保存成功",
|
|
"setting.copyright.select_logo_image": "请先选择要上传的 Logo 图片",
|
|
"setting.copyright.style_diagram": "样式示意图",
|
|
"setting.copyright.tips": "建议比例 4:1",
|
|
"setting.copyright.tips.square": "建议比例 1:1",
|
|
"setting.copyright.title": "版权信息",
|
|
"setting.copyright.upload_fail": "文件上传失败",
|
|
"setting.data_dashboard.title": "首页数据",
|
|
"setting.fastgpt_chat_diagram": "/imgs/chat/fastgpt_chat_diagram.png",
|
|
"setting.favourite.add_new_app": "添加应用",
|
|
"setting.favourite.all_apps": "所有应用",
|
|
"setting.favourite.cancel_button": "取消",
|
|
"setting.favourite.categories_modal.delete_cancel_button": "取消",
|
|
"setting.favourite.categories_modal.delete_confirm": "确认删除 {{name}} ?该分类下的应用将被移动至默认",
|
|
"setting.favourite.categories_modal.delete_confirm_button": "删除",
|
|
"setting.favourite.categories_modal.delete_confirm_title": "确认删除",
|
|
"setting.favourite.categories_modal.title": "共 {{num}} 个分类",
|
|
"setting.favourite.category.no_data": "暂无可用精选应用",
|
|
"setting.favourite.category_all": "全部分类",
|
|
"setting.favourite.category_placeholder": "选择分类",
|
|
"setting.favourite.category_tab.all": "全部",
|
|
"setting.favourite.confirm_button": "确定",
|
|
"setting.favourite.delete_app_cancel_button": "取消",
|
|
"setting.favourite.delete_app_confirm": "确定要移除该精选应用吗?",
|
|
"setting.favourite.delete_app_confirm_button": "确定",
|
|
"setting.favourite.delete_app_title": "删除应用",
|
|
"setting.favourite.goto_add": "去配置",
|
|
"setting.favourite.manage_categories_button": "分类管理",
|
|
"setting.favourite.save_category_for_app_button": "保存",
|
|
"setting.favourite.search_placeholder": "搜索应用",
|
|
"setting.favourite.selected_list": "已选: {{num}}",
|
|
"setting.favourite.table_column_action": "操作",
|
|
"setting.favourite.table_column_category": "分类",
|
|
"setting.favourite.table_column_intro": "介绍",
|
|
"setting.favourite.table_column_name": "名称",
|
|
"setting.favourite.tag.no_data": "暂无分类",
|
|
"setting.favourite.title": "精选应用",
|
|
"setting.home.available_tools": "可用工具",
|
|
"setting.home.available_tools.add": "添加",
|
|
"setting.home.cancel_button": "取消",
|
|
"setting.home.commercial_version": "商业版",
|
|
"setting.home.confirm_button": "确定",
|
|
"setting.home.diagram": "示意图",
|
|
"setting.home.dialogue_tips": "对话框提示文字",
|
|
"setting.home.dialogue_tips.default": "你可以问我任何问题",
|
|
"setting.home.dialogue_tips_placeholder": "请输入对话框提示文字",
|
|
"setting.home.enable": "启用首页",
|
|
"setting.home.home_tab_title": "首页标题",
|
|
"setting.home.home_tab_title_placeholder": "请输入首页标题",
|
|
"setting.home.no_selected_app": "未选择应用",
|
|
"setting.home.quick_apps": "快捷应用",
|
|
"setting.home.quick_apps.add": "配置快捷应用",
|
|
"setting.home.quick_apps.placeholder": "请选择应用",
|
|
"setting.home.slogan": "Slogan",
|
|
"setting.home.slogan.default": "你好👋,我是 FastGPT ! 请问有什么可以帮你?",
|
|
"setting.home.slogan_placeholder": "请输入 Slogan",
|
|
"setting.home.title": "首页配置",
|
|
"setting.incorrect_plan": "当前套餐不支持该功能,请升级订阅套餐",
|
|
"setting.incorrect_version": "当前版本不支持该功能",
|
|
"setting.log_details.title": "首页日志",
|
|
"setting.save": "保存",
|
|
"setting.save_success": "保存成功",
|
|
"setting.share": "分享",
|
|
"sidebar.favourite_apps": "精选应用",
|
|
"sidebar.home": "首页",
|
|
"sidebar.team_apps": "团队应用",
|
|
"source_cronJob": "定时执行",
|
|
"start_chat": "开始对话",
|
|
"step_call": "阶段 Agent 调用",
|
|
"step_query": "任务标题",
|
|
"step_summary": "步骤总结",
|
|
"stream_output": "流输出",
|
|
"task_has_continued": "任务已继续运行",
|
|
"tool_input": "工具输入",
|
|
"tool_output": "工具输出",
|
|
"unsupported_file_type": "不支持的文件类型",
|
|
"upload": "上传",
|
|
"variable_invisable_in_share": "外部变量在免登录链接中不可见",
|
|
"view_citations": "查看引用",
|
|
"web_site_sync": "Web站点同步"
|
|
}
|