mirror of
https://github.com/labring/FastGPT.git
synced 2026-05-07 01:02:55 +08:00
V4.14.8 dev (#6517)
* 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>
This commit is contained in:
@@ -28,7 +28,7 @@ import MyPopover from '@fastgpt/web/components/common/MyPopover';
|
||||
import Tag from '@fastgpt/web/components/common/Tag';
|
||||
import { useCopyData } from '@fastgpt/web/hooks/useCopyData';
|
||||
import { useRequest } from '@fastgpt/web/hooks/useRequest';
|
||||
import format from 'date-fns/format';
|
||||
import { format } from 'date-fns/format';
|
||||
import { useTranslation } from 'next-i18next';
|
||||
import dynamic from 'next/dynamic';
|
||||
import { useCallback } from 'react';
|
||||
|
||||
@@ -35,7 +35,7 @@ import {
|
||||
TeamMemberRoleEnum,
|
||||
TeamMemberStatusEnum
|
||||
} from '@fastgpt/global/support/user/team/constant';
|
||||
import format from 'date-fns/format';
|
||||
import { format } from 'date-fns/format';
|
||||
import OrgTags from '@/components/support/user/team/OrgTags';
|
||||
import SearchInput from '@fastgpt/web/components/common/Input/SearchInput';
|
||||
import { useCallback, useState, useMemo } from 'react';
|
||||
|
||||
@@ -6,7 +6,7 @@ import {
|
||||
CallToolRequestSchema,
|
||||
type CallToolResult,
|
||||
ListToolsRequestSchema
|
||||
} from '@modelcontextprotocol/sdk/types';
|
||||
} from '@modelcontextprotocol/sdk/types.js';
|
||||
import { callMcpServerTool, getMcpServerTools } from '@/service/support/mcp/utils';
|
||||
import { type toolCallProps } from '@/service/support/mcp/type';
|
||||
import { getErrText } from '@fastgpt/global/common/error/utils';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { ApiRequestProps, ApiResponseType } from '@fastgpt/service/type/next';
|
||||
import { NextAPI } from '@/service/middleware/entry';
|
||||
import { type Tool } from '@modelcontextprotocol/sdk/types';
|
||||
import { type Tool } from '@modelcontextprotocol/sdk/types.js';
|
||||
import { getMcpServerTools } from '@/service/support/mcp/utils';
|
||||
|
||||
export type listToolsQuery = { key: string };
|
||||
|
||||
@@ -4,7 +4,7 @@ import { MongoApp } from '@fastgpt/service/core/app/schema';
|
||||
import { authAppByTmbId } from '@fastgpt/service/support/permission/app/auth';
|
||||
import { ReadPermissionVal } from '@fastgpt/global/support/permission/constant';
|
||||
import { getAppLatestVersion } from '@fastgpt/service/core/app/version/controller';
|
||||
import { type Tool } from '@modelcontextprotocol/sdk/types';
|
||||
import { type Tool } from '@modelcontextprotocol/sdk/types.js';
|
||||
import { FlowNodeTypeEnum } from '@fastgpt/global/core/workflow/node/constant';
|
||||
import { toolValueTypeList, valueTypeJsonSchemaMap } from '@fastgpt/global/core/workflow/constants';
|
||||
import { type AppChatConfigType } from '@fastgpt/global/core/app/type';
|
||||
|
||||
Reference in New Issue
Block a user