File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 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 \
Original file line number Diff line number Diff line change 1515import subprocess
1616import 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"
2121INFERENCE_MODEL = "mistralai/Mistral-Small-3.2-24B-Instruct-2506"
2222INFERENCE_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 " )
2424INFERENCE_MAX_CHARACTERS = 100000 # max characters in all files provided to the model, approximately 25k tokens (limit is 32k)
2525
2626QUESTIONS = [
@@ -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 :
You can’t perform that action at this time.
0 commit comments