Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
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
Commit
ab4fd3b1
authored
Sep 17, 2023
by
JustSong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: update channel test prompt
parent
0ff78b07
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
web/src/components/ChannelsTable.js
+2
-1
No files found.
web/src/components/ChannelsTable.js
View file @
ab4fd3b1
import
React
,
{
useEffect
,
useState
}
from
'react'
;
import
{
Button
,
Form
,
Label
,
Pagination
,
Popup
,
Table
}
from
'semantic-ui-react'
;
import
{
Link
}
from
'react-router-dom'
;
import
{
API
,
showError
,
showInfo
,
showSuccess
,
timestamp2string
}
from
'../helpers'
;
import
{
API
,
showError
,
showInfo
,
show
Notice
,
show
Success
,
timestamp2string
}
from
'../helpers'
;
import
{
CHANNEL_OPTIONS
,
ITEMS_PER_PAGE
}
from
'../constants'
;
import
{
renderGroup
,
renderNumber
}
from
'../helpers/render'
;
...
...
@@ -195,6 +195,7 @@ const ChannelsTable = () => {
showInfo
(
`通道
${
name
}
测试成功,耗时
${
time
.
toFixed
(
2
)}
秒。`
);
}
else
{
showError
(
message
);
showNotice
(
"当前版本测试是通过按照 OpenAI API 格式使用 gpt-3.5-turbo 模型进行非流式请求实现的,因此测试报错并不一定代表通道不可用,该功能后续会修复。"
)
}
};
...
...
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