# AI summarization not working after upgrading to 3.3.0 beta1

**URL:** <https://meta.discourse.org/t/ai-summarization-not-working-after-upgrading-to-3-3-0-beta1/299654>\
**Category:** Product Support\
**Tags:** ai\
**Created:** [March 16, 2024, 4:45pm UTC](https://meta.discourse.org/t/ai-summarization-not-working-after-upgrading-to-3-3-0-beta1/299654 "2024-03-16T16:45:47Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![RBoy](https://avatars.discourse-cdn.com/v4/letter/r/2bfe46/32.png) [@RBoy](https://meta.discourse.org/u/RBoy)\
**Post date:** [March 16, 2024, 4:45pm UTC](https://meta.discourse.org/t/ai-summarization-not-working-after-upgrading-to-3-3-0-beta1/299654/1 "2024-03-16T16:45:48Z")

</div>

@falco, continuing this from the last topic since it auto closed. Unfortunately after upgrading to 3.3.0 beta1, the AI Summarization has stopped working completely, as in the button to summarize has completely disappeared. I can only see the buttons on topics that were previously summarized with AI but no longer on any new topics (I’ve checked the topic summarization threshold).

When I look at the logs I see this error, this is new and wasn’t there earlier:

```plaintext
Message

DiscourseAi::Completions::Endpoints::Gemini: status: 429 - body: {
  "error": {
    "code": 429,
    "message": "Quota exceeded for quota metric 'Generate Content API requests per minute' and limit 'GenerateContent request limit per minute for a region' of service 'generativelanguage.googleapis.com' for consumer 'project_number:184805424415'.",
    "status": "RESOURCE_EXHAUSTED",
    "details": [
      {
        "@type": "type.googleapis.com/google.rpc.ErrorInfo",
        "reason": "RATE_LIMIT_EXCEEDED",
        "domain": "googleapis.com",
        "metadata": {
          "quota_limit_value": "0",
          "quota_location": "us-east2",
          "quota_metric": "generativelanguage.googleapis.com/generate_content_requests",
          "service": "generativelanguage.googleapis.com",
          "quota_limit": "GenerateContentRequestsPerMinutePerProjectPerRegion",
          "consumer": "projects/184805424415"
        }
      },
      {
        "@type": "type.googleapis.com/google.rpc.Help",
        "links": [
          {
            "description": "Request a higher quota limit.",
            "url": "https://cloud.google.com/docs/quota#requesting_higher_quota"
          }
        ]
      }
    ]
  }
}

Backtrace

/var/www/discourse/plugins/discourse-ai/lib/completions/endpoints/base.rb:93:in `block (2 levels) in perform_completion!'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/net-http-0.4.1/lib/net/http.rb:2353:in `block in transport_request'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/net-http-0.4.1/lib/net/http/response.rb:320:in `reading_body'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/net-http-0.4.1/lib/net/http.rb:2352:in `transport_request'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/net-http-0.4.1/lib/net/http.rb:2306:in `request'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rack-mini-profiler-3.3.1/lib/patches/net_patches.rb:19:in `block in request_with_mini_profiler'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rack-mini-profiler-3.3.1/lib/mini_profiler/profiling_methods.rb:50:in `step'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rack-mini-profiler-3.3.1/lib/patches/net_patches.rb:18:in `request_with_mini_profiler'
/var/www/discourse/plugins/discourse-ai/lib/completions/endpoints/base.rb:91:in `block in perform_completion!'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/net-http-0.4.1/lib/net/http.rb:1570:in `start'

Env

HTTP HOSTS: xxx.com

```

This is also set to 50: ["Net::HTTPBadResponse" errors on Gemini Embeddings - #2 by Falco](https://meta.discourse.org/t/net-httpbadresponse-errors-on-gemini-embeddings/296952/2)

Is there anything I can provide to see what’s going on?

---

_[View the full topic](https://meta.discourse.org/t/ai-summarization-not-working-after-upgrading-to-3-3-0-beta1/299654)._
