Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dify
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ai-tech
dify
Commits
fdd211e3
Unverified
Commit
fdd211e3
authored
Mar 11, 2024
by
Eric Wang
Committed by
GitHub
Mar 11, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug/chat: increase notify error duration to 3000 (#2778)
parent
7001e21e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
README.md
api/README.md
+3
-3
index.tsx
web/app/components/app/configuration/debug/index.tsx
+1
-1
No files found.
api/README.md
View file @
fdd211e3
...
...
@@ -5,7 +5,7 @@
1.
Start the docker-compose stack
The backend require some middleware, including PostgreSQL, Redis, and Weaviate, which can be started together using
`docker-compose`
.
```bash
cd ../docker
docker-compose -f docker-compose.middleware.yaml -p dify up -d
...
...
@@ -15,7 +15,7 @@
3.
Generate a
`SECRET_KEY`
in the
`.env`
file.
```bash
openssl rand -base64 42
sed -i "/^SECRET_KEY=/c\SECRET_KEY=$(openssl rand -base64 42)" .env
```
3.
5 If you use annaconda, create a new environment and activate it
```bash
...
...
@@ -46,7 +46,7 @@
```
pip install -r requirements.txt --upgrade --force-reinstall
```
6.
Start backend:
```bash
flask run --host 0.0.0.0 --port=5001 --debug
...
...
web/app/components/app/configuration/debug/index.tsx
View file @
fdd211e3
...
...
@@ -130,7 +130,7 @@ const Debug: FC<IDebug> = ({
const
{
notify
}
=
useContext
(
ToastContext
)
const
logError
=
useCallback
((
message
:
string
)
=>
{
notify
({
type
:
'error'
,
message
})
notify
({
type
:
'error'
,
message
,
duration
:
3000
})
},
[
notify
])
const
[
completionFiles
,
setCompletionFiles
]
=
useState
<
VisionFile
[]
>
([])
...
...
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