Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 14 for rate_limit (0.08 seconds)

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

     */
    public class LlmException extends FessSystemException {
    
        private static final long serialVersionUID = 1L;
    
        /** Error code for rate limit (HTTP 429). */
        public static final String ERROR_RATE_LIMIT = "rate_limit";
    
        /** Error code for authentication failure (HTTP 401/403). */
        public static final String ERROR_AUTH = "auth_error";
    
        /** Error code for service unavailable (HTTP 502/503). */
    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)
  2. src/test/java/org/codelibs/fess/llm/LlmExceptionTest.java

            assertEquals(LlmException.ERROR_AUTH, exception.getErrorCode());
            assertSame(cause, exception.getCause());
        }
    
        @Test
        public void test_errorCodeConstants() {
            assertEquals("rate_limit", LlmException.ERROR_RATE_LIMIT);
            assertEquals("auth_error", LlmException.ERROR_AUTH);
            assertEquals("service_unavailable", LlmException.ERROR_SERVICE_UNAVAILABLE);
    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)
  3. src/main/webapp/WEB-INF/orig/view/chat/chat.jsp

    						evaluate: '<la:message key="labels.chat_phase_evaluate" />',
    						fetch: '<la:message key="labels.chat_phase_fetch" />',
    						answer: '<la:message key="labels.chat_phase_answer" />'
    					},
    					errors: {
    						rate_limit: '<la:message key="labels.chat_error_rate_limit" />',
    						auth_error: '<la:message key="labels.chat_error_auth" />',
    						service_unavailable: '<la:message key="labels.chat_error_service_unavailable" />',
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:21:57 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  4. src/main/webapp/WEB-INF/view/chat/chat.jsp

    						evaluate: '<la:message key="labels.chat_phase_evaluate" />',
    						fetch: '<la:message key="labels.chat_phase_fetch" />',
    						answer: '<la:message key="labels.chat_phase_answer" />'
    					},
    					errors: {
    						rate_limit: '<la:message key="labels.chat_error_rate_limit" />',
    						auth_error: '<la:message key="labels.chat_error_auth" />',
    						service_unavailable: '<la:message key="labels.chat_error_service_unavailable" />',
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 01:36:02 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  5. src/main/webapp/js/chat.js

                    evaluate: 'Evaluating results...',
                    fetch: 'Retrieving content...',
                    answer: 'Generating answer...'
                },
                errors: {
                    rate_limit: 'It\'s currently busy. Please wait a moment and try again.',
                    auth_error: 'AI service authentication failed. Please contact the administrator.',
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 01:36:02 GMT 2026
    - 30.6K bytes
    - Click Count (0)
  6. scripts/people.py

    ) -> list[DiscussionsEdge]:
        with rate_limiter:
            data = get_graphql_response(
                settings=settings,
                query=discussions_query,
                after=after,
                category_id=questions_category_id,
            )
    
        rate_limiter.update_request_info(
            cost=data["data"]["rateLimit"]["cost"],
            remaining=data["data"]["rateLimit"]["remaining"],
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 13:51:24 GMT 2026
    - 15K bytes
    - Click Count (0)
  7. cmd/handler-api.go

    			return
    		}
    
    		if tc, ok := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt); ok {
    			tc.FuncName = "s3.MaxClients"
    		}
    
    		w.Header().Set("X-RateLimit-Limit", strconv.Itoa(cap(pool)))
    		w.Header().Set("X-RateLimit-Remaining", strconv.Itoa(cap(pool)-len(pool)))
    
    		ctx := r.Context()
    		select {
    		case pool <- struct{}{}:
    			defer func() { <-pool }()
    			globalHTTPStats.addRequestsInQueue(-1)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  8. go.mod

    	github.com/jcmturner/rpc/v2 v2.0.3 // indirect
    	github.com/jedib0t/go-pretty/v6 v6.6.7 // indirect
    	github.com/jessevdk/go-flags v1.6.1 // indirect
    	github.com/josharian/intern v1.0.0 // indirect
    	github.com/juju/ratelimit v1.0.2 // indirect
    	github.com/kr/fs v0.1.0 // indirect
    	github.com/kylelemons/godebug v1.1.0 // indirect
    	github.com/lestrrat-go/blackmagic v1.0.2 // indirect
    	github.com/lestrrat-go/httpcc v1.0.1 // indirect
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  9. src/main/webapp/js/admin/plugins/daterangepicker/daterangepicker.js

            if (typeof options.maxSpan === 'object')
                this.maxSpan = options.maxSpan;
    
            if (typeof options.dateLimit === 'object') //backwards compat
                this.maxSpan = options.dateLimit;
    
            if (typeof options.opens === 'string')
                this.opens = options.opens;
    
            if (typeof options.drops === 'string')
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Oct 26 01:49:09 GMT 2024
    - 64.8K bytes
    - Click Count (0)
  10. go.sum

    github.com/envoyproxy/go-control-plane/envoy v1.32.4/go.mod h1:Gzjc5k8JcJswLjAx1Zm+wSYE20UrLtt7JZMWiWQXQEw=
    github.com/envoyproxy/go-control-plane/ratelimit v0.1.0 h1:/G9QYbddjL25KvtKTv3an9lx6VBE2cnb8wp1vEGNYGI=
    github.com/envoyproxy/go-control-plane/ratelimit v0.1.0/go.mod h1:Wk+tMFAFbCXaJPzVVHnPgRKdUdwW/KdbRt94AzgRee4=
    github.com/envoyproxy/protoc-gen-validate v1.2.1 h1:DEo3O99U8j4hBFwbJfrz9VtgcDfUKS7KJ7spH3d86P8=
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 79.8K bytes
    - Click Count (0)
Back to Top