From 6dbc1405c64b66c369facf23cfd5af25ac7f43bb Mon Sep 17 00:00:00 2001 From: shuiyu1123 Date: Sun, 21 Jun 2026 01:57:56 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BA=91=E7=AB=AF=E8=AE=AD=E7=BB=83=E8=84=9A?= =?UTF-8?q?=E6=9C=AC=20+=20=E6=96=B0=E8=AF=8D=E8=A1=A8=20+=20gen=5Fpretrai?= =?UTF-8?q?n=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api_correction.py | 2 +- scripts/api_correction.py | 2 +- vocab.json | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/api_correction.py b/api_correction.py index c33661d..d230cfb 100644 --- a/api_correction.py +++ b/api_correction.py @@ -7,7 +7,7 @@ import json, requests, time, os, threading from concurrent.futures import ThreadPoolExecutor, as_completed ASTRON_URL = "https://maas-coding-api.cn-huabei-1.xf-yun.com/v2/chat/completions" -ASTRON_KEY = "658beba1beb0c911ed00672019bbf7e5:MjNmYWRkMWUyZjAxYTM3ZGE2ODI1YzFh" +ASTRON_KEY = os.environ.get("ASTRON_KEY", "") ASTRON_MODEL = "astron-code-latest" SYSTEM_PROMPT = """你是一个名叫小狸的8岁中国小女孩。 diff --git a/scripts/api_correction.py b/scripts/api_correction.py index d6c47e3..5e6c4b0 100644 --- a/scripts/api_correction.py +++ b/scripts/api_correction.py @@ -7,7 +7,7 @@ import json, requests, time, os from concurrent.futures import ThreadPoolExecutor, as_completed ASTRON_URL = "https://maas-coding-api.cn-huabei-1.xf-yun.com/v2/chat/completions" -ASTRON_KEY = "658beba1beb0c911ed00672019bbf7e5:MjNmYWRkMWUyZjAxYTM3ZGE2ODI1YzFh" +ASTRON_KEY = os.environ.get("ASTRON_KEY", "") ASTRON_MODEL = "astron-code-latest" SYSTEM_PROMPT = """你是一个名叫小狸的8岁中国小女孩。 diff --git a/vocab.json b/vocab.json index bdb580c..b879115 100644 --- a/vocab.json +++ b/vocab.json @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:db648112bd045bf0e48f9ed28e85c4033da73f6338ce0a8fca0bbfc21fd8a8e8 -size 999243 +oid sha256:9746baace6ebbb410065f45ae4862d2a439e094b5477af8de6b20869adf84309 +size 314876