diff --git a/.gitignore b/.gitignore index 0986b2c..0b58e75 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ _research +.trae diff --git a/backend/app/api/skills.py b/backend/app/api/skills.py index 4bd4f3b..5b671c1 100644 --- a/backend/app/api/skills.py +++ b/backend/app/api/skills.py @@ -13,7 +13,7 @@ router = APIRouter() BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname(__file__))) DATA_FILE = os.path.join(BASE_DIR, "data", "skills.json") -SKILL_HUB_DIR = os.path.join(BASE_DIR, "data", "skill-hub") +SKILL_HUB_DIR = os.path.join(BASE_DIR, "data", "workspace", "skills") # Ensure skill-hub directory exists os.makedirs(SKILL_HUB_DIR, exist_ok=True) diff --git a/backend/data/llm_config.json b/backend/data/llm_config.json index 1093b33..47662a2 100755 --- a/backend/data/llm_config.json +++ b/backend/data/llm_config.json @@ -11,5 +11,15 @@ "model_type": "\u5927\u8bed\u8a00\u6a21\u578b", "base_model": "glm-4-7-251222", "protocol_type": "OpenAI" + }, + { + "id": "1773821572966", + "name": "gpt-5.4-nano", + "provider": "openai", + "model": "gpt-5.4-nano", + "api_key": "sk-zk2ca620045b2dd262d45594db34aa9fc7f688602b1f01ba", + "api_base": "https://api.zhizengzeng.com/v1", + "extra_headers": {}, + "is_active": false } ] \ No newline at end of file