* perf: mcp json schema type

* fix: workflow form value reset

* fix: ts

* fix: test
This commit is contained in:
Archer
2026-03-14 23:42:53 +08:00
committed by GitHub
parent dbc443a770
commit 6ea65f644b
20 changed files with 635 additions and 320 deletions
+3
View File
@@ -1,8 +1,11 @@
import { isIP } from 'net';
import * as dns from 'node:dns/promises';
import { SERVICE_LOCAL_HOST } from './tools';
import { isDevEnv } from '@fastgpt/global/common/system/constants';
export const isInternalAddress = async (url: string): Promise<boolean> => {
if (isDevEnv) return false;
const isInternalIPv6 = (ip: string): boolean => {
// 移除 IPv6 地址中的方括号(如果有)
const cleanIp = ip.replace(/^\[|\]$/g, '');