You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/plugin/scenarios/spring-ai-1.x-scenario/src/main/java/test/apache/skywalking/apm/testcase/jdk/httpclient/controller/CaseController.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -47,12 +47,12 @@ public String testCase() throws Exception {
Copy file name to clipboardExpand all lines: test/plugin/scenarios/spring-ai-1.x-scenario/src/main/java/test/apache/skywalking/apm/testcase/jdk/httpclient/controller/LLMMockController.java
+2-7Lines changed: 2 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,6 @@
28
28
importjava.io.IOException;
29
29
importjava.io.PrintWriter;
30
30
importjava.time.Instant;
31
-
importjava.util.UUID;
32
31
33
32
@RestController
34
33
@RequestMapping("/llm")
@@ -49,7 +48,7 @@ public Object completions(@RequestBody JSONObject request, HttpServletResponse r
49
48
response.setHeader("Connection", "keep-alive");
50
49
51
50
PrintWriterwriter = response.getWriter();
52
-
Stringid = "chatcmpl-" + UUID.randomUUID();
51
+
Stringid = "chatcmpl-fc1b64d3";
53
52
longcreated = Instant.now().getEpochSecond();
54
53
Stringmodel = "gpt-4.1-2025-04-14";
55
54
@@ -59,11 +58,7 @@ public Object completions(@RequestBody JSONObject request, HttpServletResponse r
0 commit comments