mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-24 22:03:54 +00:00
feat: streamable http mcp (#4695)
* feat: streamable http mcp * mcp api path * fix: ts
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
import { describe, it, expect, vi } from 'vitest';
|
||||
import {
|
||||
pluginNodes2InputSchema,
|
||||
workflow2InputSchema
|
||||
} from '@/pages/api/support/mcp/server/toolList';
|
||||
import { pluginNodes2InputSchema, workflow2InputSchema } from '@/service/support/mcp/utils';
|
||||
import { FlowNodeTypeEnum } from '@fastgpt/global/core/workflow/node/constant';
|
||||
import {
|
||||
VariableInputEnum,
|
||||
@@ -22,7 +19,8 @@ vi.mock('@fastgpt/service/core/app/schema', () => ({
|
||||
find: vi.fn().mockReturnValue({
|
||||
lean: vi.fn()
|
||||
})
|
||||
}
|
||||
},
|
||||
AppCollectionName: 'apps'
|
||||
}));
|
||||
|
||||
vi.mock('@fastgpt/service/core/app/version/controller', () => ({
|
||||
|
Reference in New Issue
Block a user