feishu stream (#6629)

This commit is contained in:
Archer
2026-03-24 18:02:38 +08:00
committed by GitHub
parent 25d6bb7d53
commit 86758af5bb
7 changed files with 583 additions and 39 deletions
+4
View File
@@ -1,7 +1,11 @@
import _, { type AxiosRequestConfig } from 'axios';
import { ProxyAgent } from 'proxy-agent';
import { isDevEnv } from '@fastgpt/global/common/system/constants';
export function createProxyAxios(config?: AxiosRequestConfig) {
if (isDevEnv) {
return _.create(config);
}
const agent = new ProxyAgent();
return _.create({