Skip to content

Commit 53313bf

Browse files
committed
fix: modify AI chat
2 parents ad807d9 + 380d954 commit 53313bf

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ ENV ACCESS_KEY_ID=" "
1919
ENV ACCESS_KEY_SECRET = " "
2020
ENV INDEX_ID = " "
2121
ENV WORK_SPACE_ID = ""
22+
<<<<<<< HEAD
2223
ENV TINY_ENGINE_URL=" "
24+
=======
25+
>>>>>>> 380d9549bd9d2f481bf65f78ebb4c77a1d82c7b4
2326
ENTRYPOINT ["java", "-jar", "tiny-engine-app.jar", "--spring.profiles.active=alpha"]
2427
EXPOSE 9090
2528

base/src/main/java/com/tinyengine/it/service/app/impl/v1/AiChatV1ServiceImpl.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,6 @@ private StreamingResponseBody processStreamResponse(HttpRequest.Builder requestB
319319
}
320320
}
321321
} catch (Exception e) {
322-
323322
try {
324323
String errorEvent = "data: {\"error\": \"" + e.getMessage() + "\"}\n\n";
325324
outputStream.write(errorEvent.getBytes(StandardCharsets.UTF_8));

0 commit comments

Comments
 (0)