Skip to content

Commit e6a8f85

Browse files
committed
Update AI extension checker URL
1 parent 89beca7 commit e6a8f85

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
7171
- name: Run AI analysis
7272
env:
73-
NEBULA_API_KEY: ${{ secrets.NEBULA_API_KEY }}
73+
MEGANOVA_API_KEY: ${{ secrets.MEGANOVA_API_KEY }}
7474
id: ai-analysis
7575
run: |
7676
RESULT=$(python scripts/extension_ai_analysis.py \

scripts/extension_ai_analysis.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
import subprocess
1616
import shutil
1717

18-
# Use Nebula Block API endpoint for chat completions.
18+
# Use MegaNova API endpoint for chat completions.
1919
# It offers capable models for free with an OpenAI-compatible API.
20-
INFERENCE_URL = "https://inference.nebulablock.com/v1/chat/completions"
20+
INFERENCE_URL = "https://inference.meganova.ai/v1/chat/completions"
2121
INFERENCE_MODEL = "mistralai/Mistral-Small-3.2-24B-Instruct-2506"
2222
INFERENCE_RESPONSE_PER_MINUTE_LIMIT = 4 # slow down to not exceed token per minute (tpm) limit of 60k
23-
INFERENCE_API_KEY = os.getenv("NEBULA_API_KEY")
23+
INFERENCE_API_KEY = os.getenv("MEGANOVA_API_KEY")
2424
INFERENCE_MAX_CHARACTERS = 100000 # max characters in all files provided to the model, approximately 25k tokens (limit is 32k)
2525

2626
QUESTIONS = [
@@ -238,6 +238,8 @@ def main():
238238

239239
print("AI analysis of 3D Slicer extensions\n")
240240

241+
print(f"INFERENCE_API_KEY: {INFERENCE_API_KEY[0:4]}...{INFERENCE_API_KEY[-1:]}")
242+
241243
success = True
242244

243245
for file_path in args.extension_description_files:

0 commit comments

Comments
 (0)