Skip to content

Commit 08f2c2c

Browse files
committed
Fix running of ai analysis on forks
No need to use a special environment for a free API key. Allow completing AI analysis in 2 minutes by increasing response per minute limit.
1 parent cd154d4 commit 08f2c2c

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.github/workflows/extension-ai-analysis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ concurrency:
1111
jobs:
1212
ai-analysis:
1313
runs-on: ubuntu-latest
14-
environment: ai-analysis # 👈 requires approval from slicer-developer to avoid exposing secret (API key)
1514
permissions:
1615
contents: read
1716
pull-requests: write

scripts/extension_ai_analysis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# It offers capable models for free with an OpenAI-compatible API.
2020
INFERENCE_URL = "https://inference.nebulablock.com/v1/chat/completions"
2121
INFERENCE_MODEL = "mistralai/Mistral-Small-3.2-24B-Instruct-2506"
22-
INFERENCE_RESPONSE_PER_MINUTE_LIMIT = 3
22+
INFERENCE_RESPONSE_PER_MINUTE_LIMIT = 5
2323
INFERENCE_API_KEY = os.getenv("NEBULA_API_KEY")
2424

2525
QUESTIONS = [

0 commit comments

Comments
 (0)