- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for onPhaseComplete (0.05 seconds)
-
src/test/java/org/codelibs/fess/chat/ChatPhaseCallbackTest.java
callback.onPhaseStart(ChatPhaseCallback.PHASE_INTENT, "Analyzing..."); assertEquals(1, events.size()); assertEquals("start:intent:Analyzing...", events.get(0)); // Test onPhaseComplete callback.onPhaseComplete(ChatPhaseCallback.PHASE_INTENT); assertEquals(2, events.size()); assertEquals("complete:intent", events.get(1)); // Test onChunk callback.onChunk("test content", false);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Jan 12 10:32:40 GMT 2026 - 7.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/chat/ChatPhaseCallback.java
onPhaseStart(phase, message); } /** * Called when a processing phase completes. * * @param phase the phase name that completed */ void onPhaseComplete(String phase); /** * Called when a chunk of the response is available during streaming. * * @param content the content chunk * @param done true if this is the final chunk */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 15 12:32:04 GMT 2026 - 3.3K bytes - Click Count (0)