Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for extractHistory (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/org/codelibs/fess/chat/ChatClient.java

            final ChatSession session = chatSessionManager.getOrCreateSession(sessionId, userId);
            // Extract history snapshot before adding current user message to avoid duplication
            final List<LlmMessage> history = extractHistory(session);
            // Add user message immediately for session integrity under concurrent access
            final ChatMessage userChatMessage = ChatMessage.userMessage(userMessage);
            session.addMessage(userChatMessage);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 56.6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java

        // These test the different history shapes that extractHistory() produces
        // depending on rag.chat.history.assistant.content mode (full, source_titles,
        // source_titles_and_urls, truncated, none).
    
        @Test
        public void test_buildIntentRequest_noneMode_userOnlyHistory() {
            // When mode=none, extractHistory skips assistant messages,
            // resulting in user-only history list
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 53K bytes
    - Click Count (0)
Back to Top