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
80c8897e
authored
Jan 13, 2025
by
Archer
Committed by
GitHub
Jan 13, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: create plugin by curl (#3580)
parent
e933dacb
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
28 additions
and
2 deletions
+28
-2
files/docker/docker-compose-milvus.yml
+8
-0
files/docker/docker-compose-pgvector.yml
+8
-0
files/docker/docker-compose-zilliz.yml
+8
-0
packages/global/core/workflow/type/io.d.ts
+2
-1
packages/service/core/workflow/dispatch/agent/runTool/toolChoice.ts
+2
-1
projects/app/src/web/core/app/templates.ts
+0
-0
No files found.
files/docker/docker-compose-milvus.yml
View file @
80c8897e
...
@@ -159,6 +159,14 @@ services:
...
@@ -159,6 +159,14 @@ services:
# 日志等级: debug, info, warn, error
# 日志等级: debug, info, warn, error
-
LOG_LEVEL=info
-
LOG_LEVEL=info
-
STORE_LOG_LEVEL=warn
-
STORE_LOG_LEVEL=warn
# 工作流最大运行次数
-
WORKFLOW_MAX_RUN_TIMES=1000
# 批量执行节点,最大输入长度
-
WORKFLOW_MAX_LOOP_TIMES=100
# 自定义跨域,不配置时,默认都允许跨域(多个域名通过逗号分割)
-
ALLOWED_ORIGINS=
# 是否开启IP限制,默认不开启
-
USE_IP_LIMIT=false
volumes
:
volumes
:
-
./config.json:/app/data/config.json
-
./config.json:/app/data/config.json
...
...
files/docker/docker-compose-pgvector.yml
View file @
80c8897e
...
@@ -116,6 +116,14 @@ services:
...
@@ -116,6 +116,14 @@ services:
# 日志等级: debug, info, warn, error
# 日志等级: debug, info, warn, error
-
LOG_LEVEL=info
-
LOG_LEVEL=info
-
STORE_LOG_LEVEL=warn
-
STORE_LOG_LEVEL=warn
# 工作流最大运行次数
-
WORKFLOW_MAX_RUN_TIMES=1000
# 批量执行节点,最大输入长度
-
WORKFLOW_MAX_LOOP_TIMES=100
# 自定义跨域,不配置时,默认都允许跨域(多个域名通过逗号分割)
-
ALLOWED_ORIGINS=
# 是否开启IP限制,默认不开启
-
USE_IP_LIMIT=false
volumes
:
volumes
:
-
./config.json:/app/data/config.json
-
./config.json:/app/data/config.json
...
...
files/docker/docker-compose-zilliz.yml
View file @
80c8897e
...
@@ -97,6 +97,14 @@ services:
...
@@ -97,6 +97,14 @@ services:
# 日志等级: debug, info, warn, error
# 日志等级: debug, info, warn, error
-
LOG_LEVEL=info
-
LOG_LEVEL=info
-
STORE_LOG_LEVEL=warn
-
STORE_LOG_LEVEL=warn
# 工作流最大运行次数
-
WORKFLOW_MAX_RUN_TIMES=1000
# 批量执行节点,最大输入长度
-
WORKFLOW_MAX_LOOP_TIMES=100
# 自定义跨域,不配置时,默认都允许跨域(多个域名通过逗号分割)
-
ALLOWED_ORIGINS=
# 是否开启IP限制,默认不开启
-
USE_IP_LIMIT=false
volumes
:
volumes
:
-
./config.json:/app/data/config.json
-
./config.json:/app/data/config.json
...
...
packages/global/core/workflow/type/io.d.ts
View file @
80c8897e
...
@@ -49,9 +49,10 @@ export type FlowNodeInputItemType = InputComponentPropsType & {
...
@@ -49,9 +49,10 @@ export type FlowNodeInputItemType = InputComponentPropsType & {
debugLabel
?:
string
;
debugLabel
?:
string
;
description
?:
string
;
// field desc
description
?:
string
;
// field desc
required
?:
boolean
;
required
?:
boolean
;
toolDescription
?:
string
;
// If this field is not empty, it is entered as a tool
enum
?:
string
;
enum
?:
string
;
toolDescription
?:
string
;
// If this field is not empty, it is entered as a tool
// render components params
// render components params
canEdit
?:
boolean
;
// dynamic inputs
canEdit
?:
boolean
;
// dynamic inputs
isPro
?:
boolean
;
// Pro version field
isPro
?:
boolean
;
// Pro version field
...
...
packages/service/core/workflow/dispatch/agent/runTool/toolChoice.ts
View file @
80c8897e
...
@@ -210,7 +210,7 @@ export const runToolWithToolChoice = async (
...
@@ -210,7 +210,7 @@ export const runToolWithToolChoice = async (
properties
[
item
.
key
]
=
{
properties
[
item
.
key
]
=
{
...
jsonSchema
,
...
jsonSchema
,
description
:
item
.
toolDescription
||
''
,
description
:
item
.
toolDescription
||
''
,
enum
:
item
.
enum
?.
split
(
'\n'
).
filter
(
Boolean
)
||
[]
enum
:
item
.
enum
?.
split
(
'\n'
).
filter
(
Boolean
)
||
undefined
};
};
});
});
...
@@ -227,6 +227,7 @@ export const runToolWithToolChoice = async (
...
@@ -227,6 +227,7 @@ export const runToolWithToolChoice = async (
}
}
};
};
});
});
// Filter histories by maxToken
// Filter histories by maxToken
const
filterMessages
=
(
const
filterMessages
=
(
await
filterGPTMessageByMaxTokens
({
await
filterGPTMessageByMaxTokens
({
...
...
projects/app/src/web/core/app/templates.ts
View file @
80c8897e
This diff is collapsed.
Click to expand it.
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