Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for stripCodeFences (0.05 seconds)

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

         * Strips code fence markers from JSON response.
         *
         * @param response the response that may contain code fences
         * @return the response with code fences removed
         */
        protected String stripCodeFences(final String response) {
            if (response == null) {
                return "";
            }
            String stripped = response.trim();
            if (stripped.startsWith("```json")) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 72K bytes
    - Click Count (0)
Back to Top