Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for getHistoryAssistantSummaryMaxChars (0.18 seconds)

  1. src/main/java/org/codelibs/fess/llm/LlmClient.java

            return 800;
        }
    
        /**
         * Gets the maximum characters for assistant summary in history.
         *
         * @return the maximum characters
         */
        default int getHistoryAssistantSummaryMaxChars() {
            return 800;
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java

         * The default returns 800. Override in subclasses for provider-specific tuning.
         *
         * @return the maximum characters
         */
        @Override
        public int getHistoryAssistantSummaryMaxChars() {
            return 800;
        }
    
        // --- Concurrency control ---
    
        /**
         * Gets the maximum number of concurrent requests to the LLM provider.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 72K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java

            }
    
            @Override
            public int getHistoryAssistantMaxChars() {
                return testHistoryAssistantMaxChars;
            }
    
            @Override
            public int getHistoryAssistantSummaryMaxChars() {
                return testHistoryAssistantSummaryMaxChars;
            }
    
            @Override
            protected void applyPromptTypeParams(final LlmChatRequest request, final String promptType) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 53K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/chat/ChatClient.java

            final LlmClient client = llmClientManager.getClient();
            final int assistantMaxChars = client != null ? client.getHistoryAssistantMaxChars() : 800;
            final int summaryMaxChars = client != null ? client.getHistoryAssistantSummaryMaxChars() : 800;
    
            final List<LlmMessage> history = new ArrayList<>();
            for (final ChatMessage msg : session.getMessages()) {
                if (msg.isUser()) {
    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)
Back to Top