- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for LlmException (0.18 seconds)
-
src/main/java/org/codelibs/fess/llm/LlmException.java
* @param message the error message */ public LlmException(final String message) { super(message); errorCode = ERROR_UNKNOWN; } /** * Creates a new exception with the specified message and cause. * * @param message the error message * @param cause the cause of the exception */ public LlmException(final String message, final Throwable cause) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 07 01:53:06 GMT 2026 - 3.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/llm/LlmExceptionTest.java
final LlmException exception = new LlmException("Error occurred", cause); assertEquals(LlmException.ERROR_UNKNOWN, exception.getErrorCode()); } @Test public void test_constructorWithMessageAndErrorCode() { final LlmException exception = new LlmException("Rate limit exceeded", LlmException.ERROR_RATE_LIMIT);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 05 04:19:06 GMT 2026 - 5.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/llm/LlmClient.java
/** * Performs a chat completion request. * * @param request the chat request containing messages and parameters * @return the chat response from the LLM * @throws LlmException if an error occurs during the request */ LlmChatResponse chat(LlmChatRequest request); /** * Performs a streaming chat completion request.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)