Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pms-dispatch-assistant
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
姜耀祖
pms-dispatch-assistant
Commits
ab5f9df9
Commit
ab5f9df9
authored
Jul 16, 2025
by
赵灿灿
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改地址
parent
9614f1ce
Pipeline
#22039
passed with stages
in 3 minutes and 36 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
chat-expert.html
src/main/resources/static/pages/langchain/chat-expert.html
+2
-2
No files found.
src/main/resources/static/pages/langchain/chat-expert.html
View file @
ab5f9df9
...
...
@@ -203,8 +203,8 @@
document
.
getElementById
(
'chat-messages'
).
appendChild
(
aiMessageDiv
);
const
eventSource
=
new
EventSource
(
'../../test/chat/chat-stream?message='
+
chatMessage
);
eventSource
.
onmessage
=
(
event
)
=>
{
const
data
=
JSON
.
parse
(
event
.
data
)
;
const
content
=
data
.
dataToSend
[
1
].
data
;
const
data
=
event
.
data
;
const
content
=
data
;
//data
.dataToSend[1].data;
if
(
content
!=
"stop"
){
aiMessageDiv
.
textContent
+=
content
;
}
else
...
...
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