Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
caa0755d
authored
May 07, 2024
by
Archer
Committed by
GitHub
May 07, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf: global variable any type (#1387)
parent
fef1a170
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
docSite/content/docs/development/faq.md
+1
-3
projects/app/src/web/core/workflow/utils.ts
+1
-1
No files found.
docSite/content/docs/development/faq.md
View file @
caa0755d
...
...
@@ -17,8 +17,6 @@ images: []
4.
无法解决时,可以找找
[
Issue
](
https://github.com/labring/FastGPT/issues
)
,或新提 Issue,私有部署错误,务必提供详细的日志,否则很难排查。
## 二、通用问题
### 能否纯本地运行
...
...
@@ -47,7 +45,7 @@ images: []
### 模型响应为空(core.chat.Chat API is error or undefined)
1.
检查 key 问题。
1.
检查 key 问题。
curl 请求看是否正常。务必用 stream=true 模式。并且 maxToken 等相关参数尽量一致。
2.
如果是国内模型,可能是命中风控了。
3.
查看模型请求日志,检查出入参数是否异常。
...
...
projects/app/src/web/core/workflow/utils.ts
View file @
caa0755d
...
...
@@ -291,7 +291,7 @@ export const getWorkflowGlobalVariables = (
splitGuideModule
(
getGuideModule
(
nodes
))?.
variableModules
||
[]
).
map
((
item
)
=>
({
...
item
,
valueType
:
WorkflowIOValueTypeEnum
.
string
// 暂时都是字符串
valueType
:
WorkflowIOValueTypeEnum
.
any
}));
const
systemVariables
=
getSystemVariables
(
t
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment